Lines Matching refs:op

43 static TEE_Result operation_commit(struct tee_fs_rpc_operation *op)  in operation_commit()  argument
45 return thread_rpc_cmd(op->id, op->num_params, op->params); in operation_commit()
52 struct tee_fs_rpc_operation op = { }; in operation_open_dfh() local
67 op = (struct tee_fs_rpc_operation){ in operation_open_dfh()
74 res = operation_commit(&op); in operation_open_dfh()
76 *fd = op.params[2].u.value.a; in operation_open_dfh()
98 struct tee_fs_rpc_operation op = { in tee_fs_rpc_close() local
104 return operation_commit(&op); in tee_fs_rpc_close()
107 TEE_Result tee_fs_rpc_read_init(struct tee_fs_rpc_operation *op, in tee_fs_rpc_read_init() argument
123 *op = (struct tee_fs_rpc_operation){ in tee_fs_rpc_read_init()
136 TEE_Result tee_fs_rpc_read_final(struct tee_fs_rpc_operation *op, in tee_fs_rpc_read_final() argument
139 TEE_Result res = operation_commit(op); in tee_fs_rpc_read_final()
142 *data_len = op->params[1].u.memref.size; in tee_fs_rpc_read_final()
146 TEE_Result tee_fs_rpc_write_init(struct tee_fs_rpc_operation *op, in tee_fs_rpc_write_init() argument
162 *op = (struct tee_fs_rpc_operation){ in tee_fs_rpc_write_init()
175 TEE_Result tee_fs_rpc_write_final(struct tee_fs_rpc_operation *op) in tee_fs_rpc_write_final() argument
177 return operation_commit(op); in tee_fs_rpc_write_final()
182 struct tee_fs_rpc_operation op = { in tee_fs_rpc_truncate() local
189 return operation_commit(&op); in tee_fs_rpc_truncate()
195 struct tee_fs_rpc_operation op = { }; in tee_fs_rpc_remove_dfh() local
211 op = (struct tee_fs_rpc_operation){ in tee_fs_rpc_remove_dfh()
218 return operation_commit(&op); in tee_fs_rpc_remove_dfh()