Home
last modified time | relevance | path

Searched refs:operation (Results 1 – 25 of 894) sorted by relevance

12345678910>>...36

/kernel/linux/linux-5.10/drivers/greybus/
Doperation.c33 static int gb_operation_response_send(struct gb_operation *operation,
42 static int gb_operation_get_active(struct gb_operation *operation) in gb_operation_get_active() argument
44 struct gb_connection *connection = operation->connection; in gb_operation_get_active()
52 if (gb_operation_is_incoming(operation)) in gb_operation_get_active()
56 if (!gb_operation_is_core(operation)) in gb_operation_get_active()
63 if (operation->active++ == 0) in gb_operation_get_active()
64 list_add_tail(&operation->links, &connection->operations); in gb_operation_get_active()
66 trace_gb_operation_get_active(operation); in gb_operation_get_active()
79 static void gb_operation_put_active(struct gb_operation *operation) in gb_operation_put_active() argument
81 struct gb_connection *connection = operation->connection; in gb_operation_put_active()
[all …]
Dgreybus_trace.h92 TP_PROTO(struct gb_operation *operation),
94 TP_ARGS(operation),
107 __entry->cport_id = operation->connection->hd_cport_id;
108 __entry->id = operation->id;
109 __entry->type = operation->type;
110 __entry->flags = operation->flags;
111 __entry->active = operation->active;
112 __entry->waiters = atomic_read(&operation->waiters);
113 __entry->errno = operation->errno;
123 TP_PROTO(struct gb_operation *operation), \
[all …]
Dsvc.c19 struct gb_operation *operation; member
22 static int gb_svc_queue_deferred_request(struct gb_operation *operation);
917 static void gb_svc_process_hello_deferred(struct gb_operation *operation) in gb_svc_process_hello_deferred() argument
919 struct gb_connection *connection = operation->connection; in gb_svc_process_hello_deferred()
949 static void gb_svc_process_module_inserted(struct gb_operation *operation) in gb_svc_process_module_inserted() argument
952 struct gb_connection *connection = operation->connection; in gb_svc_process_module_inserted()
962 request = operation->request->payload; in gb_svc_process_module_inserted()
997 static void gb_svc_process_module_removed(struct gb_operation *operation) in gb_svc_process_module_removed() argument
1000 struct gb_connection *connection = operation->connection; in gb_svc_process_module_removed()
1006 request = operation->request->payload; in gb_svc_process_module_removed()
[all …]
Dconnection.c534 struct gb_operation *operation; in gb_connection_shutdown_operation() local
537 operation = gb_operation_create_core(connection, in gb_connection_shutdown_operation()
541 if (!operation) in gb_connection_shutdown_operation()
544 req = operation->request->payload; in gb_connection_shutdown_operation()
547 ret = gb_operation_request_send_sync(operation); in gb_connection_shutdown_operation()
549 gb_operation_put(operation); in gb_connection_shutdown_operation()
605 struct gb_operation *operation; in gb_connection_cancel_operations() local
608 operation = list_last_entry(&connection->operations, in gb_connection_cancel_operations()
610 gb_operation_get(operation); in gb_connection_cancel_operations()
613 if (gb_operation_is_incoming(operation)) in gb_connection_cancel_operations()
[all …]
/kernel/linux/linux-5.10/include/linux/greybus/
Doperation.h53 struct gb_operation *operation; member
117 gb_operation_is_incoming(struct gb_operation *operation) in gb_operation_is_incoming() argument
119 return operation->flags & GB_OPERATION_FLAG_INCOMING; in gb_operation_is_incoming()
123 gb_operation_is_unidirectional(struct gb_operation *operation) in gb_operation_is_unidirectional() argument
125 return operation->flags & GB_OPERATION_FLAG_UNIDIRECTIONAL; in gb_operation_is_unidirectional()
129 gb_operation_short_response_allowed(struct gb_operation *operation) in gb_operation_short_response_allowed() argument
131 return operation->flags & GB_OPERATION_FLAG_SHORT_RESPONSE; in gb_operation_short_response_allowed()
134 static inline bool gb_operation_is_core(struct gb_operation *operation) in gb_operation_is_core() argument
136 return operation->flags & GB_OPERATION_FLAG_CORE; in gb_operation_is_core()
142 int gb_operation_result(struct gb_operation *operation);
[all …]
/kernel/linux/linux-5.10/drivers/acpi/pmic/
DKconfig4 bool "PMIC (Power Management Integrated Circuit) operation region support"
6 Select this option to enable support for ACPI operation
7 region of the PMIC chip. The operation region can be used
14 bool "ACPI operation region support for Bay Trail Crystal Cove PMIC"
17 This config adds ACPI operation region support for the Bay Trail
21 bool "ACPI operation region support for Cherry Trail Crystal Cove PMIC"
24 This config adds ACPI operation region support for the Cherry Trail
28 bool "ACPI operation region support for XPower AXP288 PMIC"
31 This config adds ACPI operation region support for XPower AXP288 PMIC.
34 bool "ACPI operation region support for BXT WhiskeyCove PMIC"
[all …]
/kernel/linux/common_modules/tzdriver/core/
Dteek_client_api.c92 const struct teec_operation *operation) in proc_teek_encode() argument
99 teec_param_type_get(operation->paramtypes, 0); in proc_teek_encode()
101 teec_param_type_get(operation->paramtypes, 1); in proc_teek_encode()
103 teec_param_type_get(operation->paramtypes, 2); in proc_teek_encode()
105 teec_param_type_get(operation->paramtypes, 3); in proc_teek_encode()
108 buffer_addr = (__u64)(uintptr_t)(operation->params[idex].tmpref.buffer); in proc_teek_encode()
109 size_addr = (__u64)(uintptr_t)(&operation->params[idex].tmpref.size); in proc_teek_encode()
115 encode_for_part_mem(cli_context, operation, in proc_teek_encode()
118 a_addr = (__u64)(uintptr_t)(&(operation->params[idex].value.a)); in proc_teek_encode()
119 b_addr = (__u64)(uintptr_t)(&(operation->params[idex].value.b)); in proc_teek_encode()
[all …]
Dgp_ops.c372 op_params->mb_pack->operation.params[index].memref.size = buffer_size; in alloc_for_tmp_mem()
379 op_params->mb_pack->operation.params[index].memref.buffer = 0; in alloc_for_tmp_mem()
380 op_params->mb_pack->operation.buffer_h_addr[index] = 0; in alloc_for_tmp_mem()
396 op_params->mb_pack->operation.params[index].memref.buffer = in alloc_for_tmp_mem()
398 op_params->mb_pack->operation.buffer_h_addr[index] = in alloc_for_tmp_mem()
436 static bool is_phyaddr_valid(const struct tc_ns_operation *operation, int index) in is_phyaddr_valid() argument
443 if ((operation->params[index].memref.buffer == 0) && in is_phyaddr_valid()
444 (operation->buffer_h_addr[index]) == 0) { in is_phyaddr_valid()
457 op_params->mb_pack->operation.mb_buffer[index] = buffer_addr; in set_operation_buffer()
458 op_params->mb_pack->operation.params[index].memref.buffer = in set_operation_buffer()
[all …]
/kernel/linux/common_modules/tzdriver/ion/
Ddynamic_ion_mem.c156 mb_pack->operation.paramtypes = teec_param_types( in send_dyn_ion_cmd()
162 mb_pack->operation.params[0].memref.size = (uint32_t)mem_item->memory.len; in send_dyn_ion_cmd()
163 mb_pack->operation.params[0].memref.buffer = in send_dyn_ion_cmd()
165 mb_pack->operation.buffer_h_addr[0] = in send_dyn_ion_cmd()
167 mb_pack->operation.params[1].value.a = (uint32_t)mem_item->size; in send_dyn_ion_cmd()
168 mb_pack->operation.params[2].value.a = mem_item->configid; in send_dyn_ion_cmd()
169 smc_cmd.operation_phys = (unsigned int)mailbox_virt_to_phys((uintptr_t)&mb_pack->operation); in send_dyn_ion_cmd()
170 …smc_cmd.operation_h_phys = (uint64_t)mailbox_virt_to_phys((uintptr_t)&mb_pack->operation) >> ADDR_… in send_dyn_ion_cmd()
424 uint32_t configid = params->mb_pack->operation.params[1].value.a; in load_image_for_ion()
425 uint32_t ion_size = params->mb_pack->operation.params[1].value.b; in load_image_for_ion()
[all …]
Dstatic_ion_mem.c53 mb_pack->operation.paramtypes = TEE_PARAM_TYPE_MEMREF_INPUT; in tc_ns_register_ion_mem()
54 mb_pack->operation.params[0].memref.buffer = in tc_ns_register_ion_mem()
56 mb_pack->operation.buffer_h_addr[0] = in tc_ns_register_ion_mem()
58 mb_pack->operation.params[0].memref.size = sizeof(*memtag); in tc_ns_register_ion_mem()
60 smc_cmd.operation_phys = mailbox_virt_to_phys((uintptr_t)&mb_pack->operation); in tc_ns_register_ion_mem()
62 (uint64_t)mailbox_virt_to_phys((uintptr_t)&mb_pack->operation) >> ADDR_TRANS_NUM; in tc_ns_register_ion_mem()
/kernel/liteos_a/fs/vfs/
DBUILD.gn39 "operation/fullpath.c",
40 "operation/vfs_chattr.c",
41 "operation/vfs_check.c",
42 "operation/vfs_cloexec.c",
43 "operation/vfs_fallocate.c",
44 "operation/vfs_fallocate64.c",
45 "operation/vfs_fcntl.c",
46 "operation/vfs_force_umount.c",
47 "operation/vfs_init.c",
48 "operation/vfs_other.c",
[all …]
/kernel/linux/linux-5.10/Documentation/filesystems/caching/
Doperations.rst40 An operation is recorded in an fscache_operation struct::
52 Someone wanting to issue an operation should allocate something with this
58 with the operation to be initialised and the release function to use.
67 operation and waited for afterwards.
73 There are a number of parameters that can be set in the operation record's flag
77 (1) The operation may be done synchronously (FSCACHE_OP_MYTHREAD). A thread
78 may decide it wants to handle an operation itself without deferring it to
88 before submitting the operation, and the operating thread must wait for it
95 (2) The operation may be fast asynchronous (FSCACHE_OP_FAST), in which case it
96 will be given to keventd to process. Such an operation is not permitted
[all …]
/kernel/linux/linux-5.10/net/netfilter/
Dxt_ecn.c40 if (einfo->operation & XT_ECN_OP_MATCH_ECE) { in match_tcp()
50 if (einfo->operation & XT_ECN_OP_MATCH_CWR) { in match_tcp()
74 if (info->operation & XT_ECN_OP_MATCH_IP && !match_ip(skb, info)) in ecn_mt4()
77 if (info->operation & (XT_ECN_OP_MATCH_ECE | XT_ECN_OP_MATCH_CWR) && in ecn_mt4()
89 if (info->operation & XT_ECN_OP_MATCH_MASK) in ecn_mt_check4()
95 if (info->operation & (XT_ECN_OP_MATCH_ECE | XT_ECN_OP_MATCH_CWR) && in ecn_mt_check4()
116 if (info->operation & XT_ECN_OP_MATCH_IP && !match_ipv6(skb, info)) in ecn_mt6()
119 if (info->operation & (XT_ECN_OP_MATCH_ECE | XT_ECN_OP_MATCH_CWR) && in ecn_mt6()
131 if (info->operation & XT_ECN_OP_MATCH_MASK) in ecn_mt_check6()
137 if (info->operation & (XT_ECN_OP_MATCH_ECE | XT_ECN_OP_MATCH_CWR) && in ecn_mt_check6()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-mlxbf.c360 struct mlxbf_i2c_smbus_operation operation[MLXBF_I2C_SMBUS_MAX_OP_CNT]; member
714 struct mlxbf_i2c_smbus_operation *operation; in mlxbf_i2c_smbus_start_transaction() local
751 operation = &request->operation[op_idx]; in mlxbf_i2c_smbus_start_transaction()
752 flags = operation->flags; in mlxbf_i2c_smbus_start_transaction()
768 write_len += operation->length; in mlxbf_i2c_smbus_start_transaction()
769 if (data_idx + operation->length > in mlxbf_i2c_smbus_start_transaction()
775 operation->buffer, operation->length); in mlxbf_i2c_smbus_start_transaction()
776 data_idx += operation->length; in mlxbf_i2c_smbus_start_transaction()
787 read_len = operation->length - 1; in mlxbf_i2c_smbus_start_transaction()
788 read_buf = operation->buffer; in mlxbf_i2c_smbus_start_transaction()
[all …]
/kernel/linux/common_modules/tzdriver/
Dteek_client_api.h53 const struct teec_operation *operation,
65 uint32_t cmd_id, struct teec_operation *operation,
76 void teek_request_cancellation(struct teec_operation *operation);
89 TEEC_Operation *operation,
96 TEEC_Operation *operation,
138 const struct teec_operation *operation, in teek_open_session() argument
147 TEEC_Operation *operation, uint32_t *returnOrigin) in TEEK_OpenSession() argument
163 uint32_t cmd_id, struct teec_operation *operation, in teek_invoke_command() argument
170 uint32_t commandID, TEEC_Operation *operation, uint32_t *returnOrigin) in TEEK_InvokeCommand() argument
/kernel/linux/linux-5.10/security/tomoyo/
Dfile.c169 [r->param.path.operation], in tomoyo_audit_path_log()
183 [tomoyo_pp2mac[r->param.path2.operation]], in tomoyo_audit_path2_log()
199 [tomoyo_pnnn2mac[r->param.mkdev.operation]], in tomoyo_audit_mkdev_log()
214 const u8 type = r->param.path_number.operation; in tomoyo_audit_path_number_log()
258 if (acl->perm & (1 << r->param.path.operation)) { in tomoyo_check_path_acl()
281 return (acl->perm & (1 << r->param.path_number.operation)) && in tomoyo_check_path_number_acl()
302 return (acl->perm & (1 << r->param.path2.operation)) && in tomoyo_check_path2_acl()
322 return (acl->perm & (1 << r->param.mkdev.operation)) && in tomoyo_check_mkdev_acl()
573 static int tomoyo_path_permission(struct tomoyo_request_info *r, u8 operation, in tomoyo_path_permission() argument
578 r->type = tomoyo_p2mac[operation]; in tomoyo_path_permission()
[all …]
Dnetwork.c27 u8 operation; member
288 const char *operation = tomoyo_read_token(param); in tomoyo_write_inet_network() local
294 if (tomoyo_permstr(operation, tomoyo_socket_keyword[type])) in tomoyo_write_inet_network()
333 const char *operation = tomoyo_read_token(param); in tomoyo_write_unix_network() local
339 if (tomoyo_permstr(operation, tomoyo_socket_keyword[type])) in tomoyo_write_unix_network()
365 const u8 operation, const char *address) in tomoyo_audit_net_log() argument
369 tomoyo_socket_keyword[operation], address); in tomoyo_audit_net_log()
394 r->param.inet_network.operation, buf); in tomoyo_audit_inet_log()
407 r->param.unix_network.operation, in tomoyo_audit_unix_log()
426 if (!(acl->perm & (1 << r->param.inet_network.operation)) || in tomoyo_check_inet_acl()
[all …]
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dipt_ECN.c55 if ((!(einfo->operation & IPT_ECN_OP_SET_ECE) || in set_ect_tcp()
57 (!(einfo->operation & IPT_ECN_OP_SET_CWR) || in set_ect_tcp()
66 if (einfo->operation & IPT_ECN_OP_SET_ECE) in set_ect_tcp()
68 if (einfo->operation & IPT_ECN_OP_SET_CWR) in set_ect_tcp()
81 if (einfo->operation & IPT_ECN_OP_SET_IP) in ecn_tg()
85 if (einfo->operation & (IPT_ECN_OP_SET_ECE | IPT_ECN_OP_SET_CWR) && in ecn_tg()
98 if (einfo->operation & IPT_ECN_OP_MASK) in ecn_tg_check()
104 if ((einfo->operation & (IPT_ECN_OP_SET_ECE|IPT_ECN_OP_SET_CWR)) && in ecn_tg_check()
/kernel/linux/linux-5.10/drivers/staging/greybus/
Dloopback.c54 struct gb_operation *operation; member
374 struct gb_operation *operation; in gb_loopback_operation_sync() local
379 operation = gb_operation_create(gb->connection, type, request_size, in gb_loopback_operation_sync()
381 if (!operation) in gb_loopback_operation_sync()
385 memcpy(operation->request->payload, request, request_size); in gb_loopback_operation_sync()
387 ret = gb_operation_request_send_sync(operation); in gb_loopback_operation_sync()
393 if (response_size == operation->response->payload_size) { in gb_loopback_operation_sync()
394 memcpy(response, operation->response->payload, in gb_loopback_operation_sync()
399 operation->response->payload_size, in gb_loopback_operation_sync()
412 gb_operation_put(operation); in gb_loopback_operation_sync()
[all …]
Di2c.c83 struct gb_operation *operation; in gb_i2c_operation_create() local
116 operation = gb_operation_create(connection, GB_I2C_TYPE_TRANSFER, in gb_i2c_operation_create()
118 if (!operation) in gb_i2c_operation_create()
121 request = operation->request->payload; in gb_i2c_operation_create()
130 return operation; in gb_i2c_operation_create()
143 return operation; in gb_i2c_operation_create()
178 struct gb_operation *operation; in gb_i2c_transfer_operation() local
181 operation = gb_i2c_operation_create(connection, msgs, msg_count); in gb_i2c_transfer_operation()
182 if (!operation) in gb_i2c_transfer_operation()
189 ret = gb_operation_request_send_sync(operation); in gb_i2c_transfer_operation()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/
Dxgene_enet_cle.c96 SET_VAL(CLE_BR_OP, br->operation) | in xgene_cle_dn_to_hw()
214 .operation = EQT,
225 .operation = EQT,
250 .operation = EQT,
262 .operation = EQT,
273 .operation = EQT,
298 .operation = EQT,
310 .operation = EQT,
322 .operation = EQT,
334 .operation = EQT,
[all …]
/kernel/linux/linux-5.10/tools/memory-model/Documentation/
Dcheatsheet.txt8 Relaxed RMW operation Y Y Y Y
20 Key: Relaxed: A relaxed operation is either READ_ONCE(), WRITE_ONCE(),
21 a *_relaxed() RMW operation, an unsuccessful RMW
22 operation, a non-value-returning RMW operation such
30 a: Provides ordering given intervening RMW atomic operation
33 RMW: Atomic read-modify-write operation
/kernel/linux/linux-5.10/arch/arm/mm/
Dcache-uniphier.c115 u32 operation) in __uniphier_cache_maint_common() argument
149 writel_relaxed(UNIPHIER_SSCOQM_CE | operation, in __uniphier_cache_maint_common()
153 if (likely(UNIPHIER_SSCOQM_S_IS_RANGE(operation))) { in __uniphier_cache_maint_common()
169 u32 operation) in __uniphier_cache_maint_all() argument
172 UNIPHIER_SSCOQM_S_ALL | operation); in __uniphier_cache_maint_all()
179 u32 operation) in __uniphier_cache_maint_range() argument
193 __uniphier_cache_maint_all(data, operation); in __uniphier_cache_maint_range()
208 UNIPHIER_SSCOQM_S_RANGE | operation); in __uniphier_cache_maint_range()
237 u32 operation) in uniphier_cache_maint_range() argument
242 __uniphier_cache_maint_range(data, start, end, operation); in uniphier_cache_maint_range()
[all …]
/kernel/linux/linux-5.10/drivers/hv/
Dhv_snapshot.c111 switch (vss_msg->vss_hdr.operation) { in vss_handle_handshake()
139 if (vss_msg->vss_hdr.operation == VSS_OP_REGISTER || in vss_on_msg()
140 vss_msg->vss_hdr.operation == VSS_OP_REGISTER1) { in vss_on_msg()
154 if (vss_msg->vss_hdr.operation == VSS_OP_HOT_BACKUP) in vss_on_msg()
174 int op = vss_transaction.msg->vss_hdr.operation; in vss_send_op()
188 vss_msg->vss_hdr.operation = op; in vss_send_op()
209 switch (vss_transaction.msg->vss_hdr.operation) { in vss_handle_request()
228 vss_transaction.msg->vss_hdr.operation); in vss_handle_request()
407 vss_msg->vss_hdr.operation = VSS_OP_THAW; in hv_vss_pre_suspend()
/kernel/linux/linux-5.10/include/kunit/
Dassert.h202 const char *operation; member
236 .operation = op_str, \
259 const char *operation; member
293 .operation = op_str, \
316 const char *operation; member
350 .operation = op_str, \

12345678910>>...36