Searched refs:operation (Results 1 - 25 of 214) sorted by relevance

123456789

/linux-master/drivers/greybus/
H A Doperation.c22 /* Workqueue to handle Greybus operation completions. */
29 * Protects updates to operation->errno.
33 static int gb_operation_response_send(struct gb_operation *operation,
37 * Increment operation active count and add to connection list unless the
40 * Caller holds operation reference.
42 static int gb_operation_get_active(struct gb_operation *operation) argument
44 struct gb_connection *connection = operation->connection;
52 if (gb_operation_is_incoming(operation))
56 if (!gb_operation_is_core(operation))
63 if (operation
79 gb_operation_put_active(struct gb_operation *operation) argument
96 gb_operation_is_active(struct gb_operation *operation) argument
134 gb_operation_result_set(struct gb_operation *operation, int result) argument
180 gb_operation_result(struct gb_operation *operation) argument
198 struct gb_operation *operation; local
236 gb_operation_request_handle(struct gb_operation *operation) argument
274 struct gb_operation *operation; local
298 struct gb_operation *operation = from_timer(operation, t, timer); local
468 gb_operation_response_alloc(struct gb_operation *operation, size_t response_size, gfp_t gfp) argument
524 struct gb_operation *operation; local
580 struct gb_operation *operation; local
606 struct gb_operation *operation; local
633 struct gb_operation *operation; local
660 gb_operation_get(struct gb_operation *operation) argument
671 struct gb_operation *operation; local
688 gb_operation_put(struct gb_operation *operation) argument
698 gb_operation_sync_callback(struct gb_operation *operation) argument
720 gb_operation_request_send(struct gb_operation *operation, gb_operation_callback callback, unsigned int timeout, gfp_t gfp) argument
794 gb_operation_request_send_sync_timeout(struct gb_operation *operation, unsigned int timeout) argument
823 gb_operation_response_send(struct gb_operation *operation, int errno) argument
874 struct gb_operation *operation = message->operation; local
917 struct gb_operation *operation; local
961 struct gb_operation *operation; local
1071 gb_operation_cancel(struct gb_operation *operation, int errno) argument
1093 gb_operation_cancel_incoming(struct gb_operation *operation, int errno) argument
1143 struct gb_operation *operation; local
1196 struct gb_operation *operation; local
[all...]
H A DMakefile14 operation.o
H A Dgreybus_trace.h71 * Occurs after an operation has been canceled, possibly before the
92 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
[all...]
H A Dconnection.c534 struct gb_operation *operation; local
537 operation = gb_operation_create_core(connection,
541 if (!operation)
544 req = operation->request->payload;
547 ret = gb_operation_request_send_sync(operation);
549 gb_operation_put(operation);
605 struct gb_operation *operation; variable in typeref:struct:gb_operation
608 operation = list_last_entry(&connection->operations,
610 gb_operation_get(operation); variable
613 if (gb_operation_is_incoming(operation))
618 gb_operation_put(operation); variable
634 struct gb_operation *operation; variable in typeref:struct:gb_operation
642 gb_operation_get(operation); variable
655 gb_operation_put(operation); variable
[all...]
/linux-master/include/uapi/linux/netfilter/
H A Dxt_CHECKSUM.h18 __u8 operation; /* bitset of operations */ member in struct:xt_CHECKSUM_info
H A Dxt_ecn.h26 __u8 operation; member in struct:xt_ecn_info
/linux-master/tools/testing/vsock/
H A Dtimeout.h12 void timeout_check(const char *operation);
H A Dtimeout.c47 void timeout_check(const char *operation) argument
50 fprintf(stderr, "%s timed out\n", operation);
/linux-master/include/linux/greybus/
H A Doperation.h25 * The top bit of the type in an operation message header indicates
53 struct gb_operation *operation; member in struct:gb_message
73 * A Greybus operation is a remote procedure call performed over a
76 * Every operation consists of a request message sent to the other
78 * the sender. Every operation has a type, whose interpretation is
81 * Only four things in an operation structure are intended to be
82 * directly usable by protocol handlers: the operation's connection
83 * pointer; the operation type; the request message payload (and
87 * In addition, every operation has a result, which is an errno
88 * value. Protocol handlers access the operation resul
117 gb_operation_is_incoming(struct gb_operation *operation) argument
123 gb_operation_is_unidirectional(struct gb_operation *operation) argument
129 gb_operation_short_response_allowed(struct gb_operation *operation) argument
134 gb_operation_is_core(struct gb_operation *operation) argument
179 gb_operation_request_send_sync(struct gb_operation *operation) argument
215 gb_operation_get_data(struct gb_operation *operation) argument
220 gb_operation_set_data(struct gb_operation *operation, void *data) argument
[all...]
/linux-master/drivers/md/dm-vdo/
H A Dadmin-state.c150 * get_next_state() - Determine the state which should be set after a given operation completes
151 * based on the operation and the current state.
152 * @operation The operation to be started.
154 * Return: The state to set when the operation completes or NULL if the operation can not be
158 const struct admin_state_code *operation)
165 if (operation == VDO_ADMIN_STATE_SAVING)
168 if (operation == VDO_ADMIN_STATE_SUSPENDING) {
174 if (operation
157 get_next_state(const struct admin_state *state, const struct admin_state_code *operation) argument
222 begin_operation(struct admin_state *state, const struct admin_state_code *operation, struct vdo_completion *waiter, vdo_admin_initiator_fn initiator) argument
267 start_operation(struct admin_state *state, const struct admin_state_code *operation, struct vdo_completion *waiter, vdo_admin_initiator_fn initiator) argument
308 assert_vdo_drain_operation(const struct admin_state_code *operation, struct vdo_completion *waiter) argument
322 vdo_start_draining(struct admin_state *state, const struct admin_state_code *operation, struct vdo_completion *waiter, vdo_admin_initiator_fn initiator) argument
372 vdo_assert_load_operation(const struct admin_state_code *operation, struct vdo_completion *waiter) argument
386 vdo_start_loading(struct admin_state *state, const struct admin_state_code *operation, struct vdo_completion *waiter, vdo_admin_initiator_fn initiator) argument
421 assert_vdo_resume_operation(const struct admin_state_code *operation, struct vdo_completion *waiter) argument
436 vdo_start_resuming(struct admin_state *state, const struct admin_state_code *operation, struct vdo_completion *waiter, vdo_admin_initiator_fn initiator) argument
485 vdo_start_operation(struct admin_state *state, const struct admin_state_code *operation) argument
498 vdo_start_operation_with_waiter(struct admin_state *state, const struct admin_state_code *operation, struct vdo_completion *waiter, vdo_admin_initiator_fn initiator) argument
[all...]
H A Dio-submitter.h29 blk_opf_t operation, char *data);
33 blk_opf_t operation)
36 operation, vio->data);
31 vdo_submit_metadata_vio(struct vio *vio, physical_block_number_t physical, bio_end_io_t callback, vdo_action_fn error_handler, blk_opf_t operation) argument
H A Dadmin-state.h14 /* Normal operation, data_vios may be active */
18 /* This is a startup time operation */
24 /* Whether an operation is in progress and so no other operation may be started */
54 /* The next administrative state (when the current operation finishes) */
58 /* Whether an operation is being initiated */
60 /* Whether an operation has completed in the initiator */
65 * typedef vdo_admin_initiator_fn - A method to be called once an admin operation may be initiated.
79 * should go through the operation interfaces.
139 bool __must_check vdo_assert_load_operation(const struct admin_state_code *operation,
[all...]
H A Daction-manager.h98 const struct admin_state_code *operation,
104 const struct admin_state_code *operation,
/linux-master/include/uapi/linux/netfilter_ipv4/
H A Dipt_ECN.h25 __u8 operation; /* bitset of operations */ member in struct:ipt_ECN_info
/linux-master/tools/testing/selftests/tc-testing/
H A Dtdc_multibatch.py21 "operation",
23 help="operation to perform on filters")
52 file_prefix = args.file_prefix + args.operation + "_"
55 operation = args.operation variable
63 num_filters, handle, operation, i + mac_prefix, device, file))
/linux-master/net/netfilter/
H A Dxt_ecn.c40 if (einfo->operation & XT_ECN_OP_MATCH_ECE) {
50 if (einfo->operation & XT_ECN_OP_MATCH_CWR) {
74 if (info->operation & XT_ECN_OP_MATCH_IP && !match_ip(skb, info))
77 if (info->operation & (XT_ECN_OP_MATCH_ECE | XT_ECN_OP_MATCH_CWR) &&
89 if (info->operation & XT_ECN_OP_MATCH_MASK)
95 if (info->operation & (XT_ECN_OP_MATCH_ECE | XT_ECN_OP_MATCH_CWR) &&
116 if (info->operation & XT_ECN_OP_MATCH_IP && !match_ipv6(skb, info))
119 if (info->operation & (XT_ECN_OP_MATCH_ECE | XT_ECN_OP_MATCH_CWR) &&
131 if (info->operation & XT_ECN_OP_MATCH_MASK)
137 if (info->operation
[all...]
H A Dxt_CHECKSUM.c40 if (einfo->operation & ~XT_CHECKSUM_OP_FILL) {
41 pr_info_ratelimited("unsupported CHECKSUM operation %x\n",
42 einfo->operation);
45 if (!einfo->operation)
/linux-master/net/ipv4/netfilter/
H A Dipt_ECN.c55 if ((!(einfo->operation & IPT_ECN_OP_SET_ECE) ||
57 (!(einfo->operation & IPT_ECN_OP_SET_CWR) ||
66 if (einfo->operation & IPT_ECN_OP_SET_ECE)
68 if (einfo->operation & IPT_ECN_OP_SET_CWR)
81 if (einfo->operation & IPT_ECN_OP_SET_IP)
85 if (einfo->operation & (IPT_ECN_OP_SET_ECE | IPT_ECN_OP_SET_CWR) &&
98 if (einfo->operation & IPT_ECN_OP_MASK)
104 if ((einfo->operation & (IPT_ECN_OP_SET_ECE|IPT_ECN_OP_SET_CWR)) &&
106 pr_info_ratelimited("cannot use operation on non-tcp rule\n");
/linux-master/drivers/staging/greybus/
H A Di2c.c83 struct gb_operation *operation; local
116 operation = gb_operation_create(connection, GB_I2C_TYPE_TRANSFER,
118 if (!operation)
121 request = operation->request->payload;
130 return operation;
143 return operation;
178 struct gb_operation *operation; local
181 operation = gb_i2c_operation_create(connection, msgs, msg_count);
182 if (!operation)
189 ret = gb_operation_request_send_sync(operation);
[all...]
H A Dloopback.c54 struct gb_operation *operation; member in struct:gb_loopback_async_operation
304 /* Maximum iterations for a given operation: 1-(2^32-1), 0 implies infinite */
373 struct gb_operation *operation; local
378 operation = gb_operation_create(gb->connection, type, request_size,
380 if (!operation)
384 memcpy(operation->request->payload, request, request_size);
386 ret = gb_operation_request_send_sync(operation);
389 "synchronous operation failed: %d\n", ret);
392 if (response_size == operation->response->payload_size) {
393 memcpy(response, operation
422 gb_loopback_async_operation_callback(struct gb_operation *operation) argument
470 struct gb_operation *operation; local
594 struct gb_operation *operation; local
652 gb_loopback_request_handler(struct gb_operation *operation) argument
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-mlxbf.c390 struct mlxbf_i2c_smbus_operation operation[MLXBF_I2C_SMBUS_MAX_OP_CNT]; member in struct:mlxbf_i2c_smbus_request
739 struct mlxbf_i2c_smbus_operation *operation; local
776 operation = &request->operation[op_idx];
777 flags = operation->flags;
784 * submitted by the first operation only.
793 write_len += operation->length;
794 if (data_idx + operation->length >
800 operation->buffer, operation
[all...]
/linux-master/arch/arm/mm/
H A Dcache-uniphier.c31 /* operation registers */
56 /* Is the operation region specified by address range? */
65 * @op_base: virtual base address of operation registers
71 * @range_op_max_size: max size that can be handled by a single range operation
107 * __uniphier_cache_maint_common - run a queue operation for a particular level
110 * @start: start address of range operation (don't care for "all" operation)
111 * @size: data size of range operation (don't care for "all" operation)
112 * @operation
114 __uniphier_cache_maint_common(struct uniphier_cache_data *data, unsigned long start, unsigned long size, u32 operation) argument
170 __uniphier_cache_maint_all(struct uniphier_cache_data *data, u32 operation) argument
179 __uniphier_cache_maint_range(struct uniphier_cache_data *data, unsigned long start, unsigned long end, u32 operation) argument
238 uniphier_cache_maint_range(unsigned long start, unsigned long end, u32 operation) argument
247 uniphier_cache_maint_all(u32 operation) argument
[all...]
/linux-master/drivers/hv/
H A Dhv_snapshot.c114 switch (vss_msg->vss_hdr.operation) {
142 if (vss_msg->vss_hdr.operation == VSS_OP_REGISTER ||
143 vss_msg->vss_hdr.operation == VSS_OP_REGISTER1) {
157 if (vss_msg->vss_hdr.operation == VSS_OP_HOT_BACKUP)
177 int op = vss_transaction.msg->vss_hdr.operation;
191 vss_msg->vss_hdr.operation = op;
212 switch (vss_transaction.msg->vss_hdr.operation) {
214 * Initiate a "freeze/thaw" operation in the guest.
215 * We respond to the host once the operation is complete.
217 * We send the message to the user space daemon and the operation i
[all...]
/linux-master/security/tomoyo/
H A Dnetwork.c27 u8 operation; member in struct:tomoyo_addr_info
288 const char *operation = tomoyo_read_token(param); local
294 if (tomoyo_permstr(operation, tomoyo_socket_keyword[type]))
333 const char *operation = tomoyo_read_token(param); local
339 if (tomoyo_permstr(operation, tomoyo_socket_keyword[type]))
358 * @operation: Name of socket operation.
365 const u8 operation, const char *address)
369 tomoyo_socket_keyword[operation], address);
394 r->param.inet_network.operation, bu
363 tomoyo_audit_net_log(struct tomoyo_request_info *r, const char *family, const u8 protocol, const u8 operation, const char *address) argument
[all...]
H A Dfile.c169 [r->param.path.operation],
183 [tomoyo_pp2mac[r->param.path2.operation]],
199 [tomoyo_pnnn2mac[r->param.mkdev.operation]],
214 const u8 type = r->param.path_number.operation;
241 * tomoyo_check_path_acl - Check permission for path operation.
258 if (acl->perm & (1 << r->param.path.operation)) {
268 * tomoyo_check_path_number_acl - Check permission for path number operation.
281 return (acl->perm & (1 << r->param.path_number.operation)) &&
289 * tomoyo_check_path2_acl - Check permission for path path operation.
302 return (acl->perm & (1 << r->param.path2.operation))
573 tomoyo_path_permission(struct tomoyo_request_info *r, u8 operation, const struct tomoyo_path_info *filename) argument
803 tomoyo_path_perm(const u8 operation, const struct path *path, const char *target) argument
859 tomoyo_mkdev_perm(const u8 operation, const struct path *path, const unsigned int mode, unsigned int dev) argument
903 tomoyo_path2_perm(const u8 operation, const struct path *path1, const struct path *path2) argument
1016 const char *operation = tomoyo_read_token(param); local
[all...]

Completed in 576 milliseconds

123456789