Lines Matching defs:handle

45 	/* Set start value for handle so top 32 bits are needed quickly. */
141 * spmc_shmem_obj_lookup - Lookup struct spmc_shmem_obj by handle.
143 * @handle: Unique handle of object to return.
145 * Return: struct spmc_shmem_obj_state object with handle matching @handle.
146 * %NULL, if not object in @state->data has a matching handle.
149 spmc_shmem_obj_lookup(struct spmc_shmem_obj_state *state, uint64_t handle)
156 if (obj->desc.handle == handle) {
454 out->handle = mtd_orig->handle;
550 out->handle = mtd_orig->handle;
982 if ((obj->desc.handle != inflight_obj->desc.handle) &&
1071 obj->desc.handle = spmc_shmem_obj_state.next_handle++;
1077 handle_low = (uint32_t)obj->desc.handle;
1078 handle_high = obj->desc.handle >> 32;
1139 mem_handle = obj->desc.handle;
1189 void *handle,
1203 return spmc_ffa_error_return(handle,
1209 return spmc_ffa_error_return(handle,
1219 return spmc_ffa_error_return(handle,
1227 return spmc_ffa_error_return(handle,
1237 return spmc_ffa_error_return(handle,
1250 ffa_version, handle);
1258 return spmc_ffa_error_return(handle, ret);
1280 void *handle,
1295 WARN("%s: invalid handle, 0x%lx, not a valid handle.\n",
1318 handle);
1326 return spmc_ffa_error_return(handle, ret);
1375 * Return: @handle on success, error code on failure.
1385 void *handle,
1408 return spmc_ffa_error_return(handle,
1414 return spmc_ffa_error_return(handle,
1465 obj = spmc_shmem_obj_lookup(&spmc_shmem_obj_state, req->handle);
1622 SMC_RET8(handle, FFA_MEM_RETRIEVE_RESP, out_desc_size,
1629 return spmc_ffa_error_return(handle, ret);
1652 void *handle,
1669 return spmc_ffa_error_return(handle,
1677 WARN("%s: invalid handle, 0x%lx, not a valid handle.\n",
1744 SMC_RET8(handle, FFA_MEM_FRAG_TX, handle_low, handle_high,
1751 return spmc_ffa_error_return(handle, ret);
1761 * The handle to release must be in the client's (secure os's) transmit buffer.
1772 void *handle,
1783 return spmc_ffa_error_return(handle,
1811 obj = spmc_shmem_obj_lookup(&spmc_shmem_obj_state, req->handle);
1853 SMC_RET1(handle, FFA_SUCCESS_SMC32);
1859 return spmc_ffa_error_return(handle, ret);
1865 * @handle_low: Unique handle of shared memory object to reclaim. Bit[31:0].
1866 * @handle_high: Unique handle of shared memory object to reclaim.
1882 void *handle,
1891 return spmc_ffa_error_return(handle,
1897 return spmc_ffa_error_return(handle,
1929 SMC_RET1(handle, FFA_SUCCESS_SMC32);
1933 return spmc_ffa_error_return(handle, ret);