Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 122) sorted by relevance

12345

/include/asm-generic/
Datomic64.h23 #define ATOMIC64_OP(op) \ argument
24 extern void atomic64_##op(s64 a, atomic64_t *v);
26 #define ATOMIC64_OP_RETURN(op) \ argument
27 extern s64 atomic64_##op##_return(s64 a, atomic64_t *v);
29 #define ATOMIC64_FETCH_OP(op) \ argument
30 extern s64 atomic64_fetch_##op(s64 a, atomic64_t *v);
32 #define ATOMIC64_OPS(op) ATOMIC64_OP(op) ATOMIC64_OP_RETURN(op) ATOMIC64_FETCH_OP(op) argument
38 #define ATOMIC64_OPS(op) ATOMIC64_OP(op) ATOMIC64_FETCH_OP(op) argument
Datomic.h36 #define ATOMIC_OP(op, c_op) \ argument
37 static inline void atomic_##op(int i, atomic_t *v) \
46 #define ATOMIC_OP_RETURN(op, c_op) \ argument
47 static inline int atomic_##op##_return(int i, atomic_t *v) \
58 #define ATOMIC_FETCH_OP(op, c_op) \ argument
59 static inline int atomic_fetch_##op(int i, atomic_t *v) \
74 #define ATOMIC_OP(op, c_op) \ argument
75 static inline void atomic_##op(int i, atomic_t *v) \
84 #define ATOMIC_OP_RETURN(op, c_op) \ argument
85 static inline int atomic_##op##_return(int i, atomic_t *v) \
[all …]
Dfutex.h31 arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() argument
46 switch (op) { in arch_futex_atomic_op_inuser()
119 arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() argument
/include/linux/
Datomic.h52 #define __atomic_op_acquire(op, args...) \ argument
54 typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \
59 #define __atomic_op_release(op, args...) \ argument
62 op##_relaxed(args); \
65 #define __atomic_op_fence(op, args...) \ argument
67 typeof(op##_relaxed(args)) __ret; \
69 __ret = op##_relaxed(args); \
Dfwnode.h148 #define fwnode_has_op(fwnode, op) \ argument
149 ((fwnode) && (fwnode)->ops && (fwnode)->ops->op)
150 #define fwnode_call_int_op(fwnode, op, ...) \ argument
151 (fwnode ? (fwnode_has_op(fwnode, op) ? \
152 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : -ENXIO) : \
155 #define fwnode_call_bool_op(fwnode, op, ...) \ argument
156 (fwnode_has_op(fwnode, op) ? \
157 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : false)
159 #define fwnode_call_ptr_op(fwnode, op, ...) \ argument
160 (fwnode_has_op(fwnode, op) ? \
[all …]
Dfscache-cache.h83 typedef void (*fscache_operation_release_t)(struct fscache_operation *op);
84 typedef void (*fscache_operation_processor_t)(struct fscache_operation *op);
85 typedef void (*fscache_operation_cancel_t)(struct fscache_operation *op);
144 struct fscache_operation op; member
154 typedef int (*fscache_page_retrieval_func_t)(struct fscache_retrieval *op,
158 typedef int (*fscache_pages_retrieval_func_t)(struct fscache_retrieval *op,
170 struct fscache_retrieval *fscache_get_retrieval(struct fscache_retrieval *op) in fscache_get_retrieval() argument
172 atomic_inc(&op->op.usage); in fscache_get_retrieval()
173 return op; in fscache_get_retrieval()
182 static inline void fscache_enqueue_retrieval(struct fscache_retrieval *op) in fscache_enqueue_retrieval() argument
[all …]
Dblk_types.h399 static inline void bio_set_op_attrs(struct bio *bio, unsigned op, in bio_set_op_attrs() argument
402 bio->bi_opf = op | op_flags; in bio_set_op_attrs()
405 static inline bool op_is_write(unsigned int op) in op_is_write() argument
407 return (op & 1); in op_is_write()
414 static inline bool op_is_flush(unsigned int op) in op_is_flush() argument
416 return op & (REQ_FUA | REQ_PREFLUSH); in op_is_flush()
424 static inline bool op_is_sync(unsigned int op) in op_is_sync() argument
426 return (op & REQ_OP_MASK) == REQ_OP_READ || in op_is_sync()
427 (op & (REQ_SYNC | REQ_FUA | REQ_PREFLUSH)); in op_is_sync()
430 static inline bool op_is_discard(unsigned int op) in op_is_discard() argument
[all …]
Dsysrq.h48 int register_sysrq_key(int key, struct sysrq_key_op *op);
49 int unregister_sysrq_key(int key, struct sysrq_key_op *op);
64 static inline int register_sysrq_key(int key, struct sysrq_key_op *op) in register_sysrq_key() argument
69 static inline int unregister_sysrq_key(int key, struct sysrq_key_op *op) in unregister_sysrq_key() argument
Diopoll.h34 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ argument
41 (val) = op(addr); \
46 (val) = op(addr); \
72 #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ argument
78 (val) = op(addr); \
83 (val) = op(addr); \
Dutil_macros.h5 #define __find_closest(x, a, as, op) \ argument
11 if (__fc_x op DIV_ROUND_CLOSEST(__fc_a[__fc_i] + \
Dsignal.h121 #define _SIG_SET_BINOP(name, op) \ argument
130 r->sig[3] = op(a3, b3); \
131 r->sig[2] = op(a2, b2); \
135 r->sig[1] = op(a1, b1); \
139 r->sig[0] = op(a0, b0); \
160 #define _SIG_SET_OP(name, op) \ in _SIG_SET_BINOP() argument
164 case 4: set->sig[3] = op(set->sig[3]); \ in _SIG_SET_BINOP()
165 set->sig[2] = op(set->sig[2]); \ in _SIG_SET_BINOP()
167 case 2: set->sig[1] = op(set->sig[1]); \ in _SIG_SET_BINOP()
169 case 1: set->sig[0] = op(set->sig[0]); \ in _SIG_SET_BINOP()
/include/trace/events/
Dvsock_virtio_transport_common.h42 __u16 op,
50 op,
60 __field(__u16, op)
70 __entry->op = op;
78 show_op(__entry->op),
88 __u16 op,
98 op,
110 __field(__u16, op)
122 __entry->op = op;
133 show_op(__entry->op),
Dfscache.h431 TP_PROTO(struct fscache_cookie *cookie, struct fscache_operation *op,
434 TP_ARGS(cookie, op, why),
438 __field(struct fscache_operation *, op )
444 __entry->op = op;
449 __entry->cookie, __entry->op,
455 struct fscache_operation *op, enum fscache_page_op_trace what),
457 TP_ARGS(cookie, page, op, what),
462 __field(struct fscache_operation *, op )
469 __entry->op = op;
476 __entry->page, __entry->op)
[all …]
Dfsi_master_ast_cf.h11 TP_PROTO(const struct fsi_master_acf *master, uint32_t op),
12 TP_ARGS(master, op),
15 __field(uint32_t, op)
19 __entry->op = op;
22 __entry->master_idx, __entry->op
Dafs.h526 __field(u32, op )
532 __entry->op = call->operation_ID;
538 __entry->op)
542 TP_PROTO(struct afs_call *call, enum afs_call_trace op,
545 TP_ARGS(call, op, usage, outstanding, where),
549 __field(int, op )
557 __entry->op = op;
565 __print_symbolic(__entry->op, afs_call_traces),
578 __field(enum afs_fs_operation, op )
584 __entry->op = call->operation_ID;
[all …]
Drxrpc.h495 TP_PROTO(unsigned int local_debug_id, enum rxrpc_local_trace op,
498 TP_ARGS(local_debug_id, op, usage, where),
502 __field(int, op )
509 __entry->op = op;
516 __print_symbolic(__entry->op, rxrpc_local_traces),
522 TP_PROTO(unsigned int peer_debug_id, enum rxrpc_peer_trace op,
525 TP_ARGS(peer_debug_id, op, usage, where),
529 __field(int, op )
536 __entry->op = op;
543 __print_symbolic(__entry->op, rxrpc_peer_traces),
[all …]
/include/linux/spi/
Dspi-mem.h253 int (*adjust_op_size)(struct spi_mem *mem, struct spi_mem_op *op);
255 const struct spi_mem_op *op);
257 const struct spi_mem_op *op);
292 const struct spi_mem_op *op,
296 const struct spi_mem_op *op,
300 const struct spi_mem_op *op);
305 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data() argument
313 const struct spi_mem_op *op, in spi_controller_dma_unmap_mem_op_data() argument
320 const struct spi_mem_op *op) in spi_mem_default_supports_op() argument
327 int spi_mem_adjust_op_size(struct spi_mem *mem, struct spi_mem_op *op);
[all …]
/include/linux/ceph/
Drados.h320 #define GENERATE_ENUM_ENTRY(op, opcode, str) CEPH_OSD_OP_##op = (opcode), argument
325 static inline int ceph_osd_op_type_lock(int op) in ceph_osd_op_type_lock() argument
327 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_LOCK; in ceph_osd_op_type_lock()
329 static inline int ceph_osd_op_type_data(int op) in ceph_osd_op_type_data() argument
331 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_DATA; in ceph_osd_op_type_data()
333 static inline int ceph_osd_op_type_attr(int op) in ceph_osd_op_type_attr() argument
335 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_ATTR; in ceph_osd_op_type_attr()
337 static inline int ceph_osd_op_type_exec(int op) in ceph_osd_op_type_exec() argument
339 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_EXEC; in ceph_osd_op_type_exec()
341 static inline int ceph_osd_op_type_pg(int op) in ceph_osd_op_type_pg() argument
[all …]
/include/xen/
Dhvm.h9 static const char *param_name(int op) in param_name() argument
31 if (op >= ARRAY_SIZE(names)) in param_name()
34 if (!names[op]) in param_name()
37 return names[op]; in param_name()
/include/xen/arm/
Dhypercall.h52 unsigned long HYPERVISOR_hvm_op(int op, void *arg);
61 static inline int HYPERVISOR_platform_op(struct xen_platform_op *op) in HYPERVISOR_platform_op() argument
63 op->interface_version = XENPF_INTERFACE_VERSION; in HYPERVISOR_platform_op()
64 return HYPERVISOR_platform_op_raw(op); in HYPERVISOR_platform_op()
/include/linux/mlx4/
Dcmd.h270 u16 op, unsigned long timeout, int native);
274 u8 op_modifier, u16 op, unsigned long timeout, in mlx4_cmd() argument
278 op_modifier, op, timeout, native); in mlx4_cmd()
283 u32 in_modifier, u8 op_modifier, u16 op, in mlx4_cmd_box() argument
287 op_modifier, op, timeout, native); in mlx4_cmd_box()
296 u32 in_modifier, u8 op_modifier, u16 op, in mlx4_cmd_imm() argument
300 op_modifier, op, timeout, native); in mlx4_cmd_imm()
/include/scsi/
Dfc_encode.h93 unsigned int op, size_t req_size, in fc_ct_hdr_fill() argument
106 ct->hdr.ct_cmd = htons((u16) op); in fc_ct_hdr_fill()
121 unsigned int op, enum fc_rctl *r_ctl, in fc_ct_ns_fill() argument
127 switch (op) { in fc_ct_ns_fill()
129 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_gid_ft), in fc_ct_ns_fill()
135 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_fid), in fc_ct_ns_fill()
142 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rft), in fc_ct_ns_fill()
149 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rff_id), in fc_ct_ns_fill()
160 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rn_id), in fc_ct_ns_fill()
168 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rspn) + len, in fc_ct_ns_fill()
[all …]
/include/uapi/linux/
Dipc.h79 #define IPCCALL(version,op) ((version)<<16 | (op)) argument
/include/uapi/linux/netfilter/ipset/
Dip_set.h268 __u8 op; member
274 __u8 op; member
288 unsigned int op; member
298 unsigned int op; member
306 unsigned int op; member
/include/media/drv-intf/
Dexynos-fimc.h152 #define fimc_pipeline_call(ent, op, args...) \ argument
154 (((ent)->pipe->ops && (ent)->pipe->ops->op) ? \
155 (ent)->pipe->ops->op(((ent)->pipe), ##args) : -ENOIOCTLCMD)) \

12345