Home
last modified time | relevance | path

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

123456

/include/asm-generic/
Datomic64.h21 #define ATOMIC64_OP(op) \ argument
22 extern void generic_atomic64_##op(s64 a, atomic64_t *v);
24 #define ATOMIC64_OP_RETURN(op) \ argument
25 extern s64 generic_atomic64_##op##_return(s64 a, atomic64_t *v);
27 #define ATOMIC64_FETCH_OP(op) \ argument
28 extern s64 generic_atomic64_fetch_##op(s64 a, atomic64_t *v);
30 #define ATOMIC64_OPS(op) ATOMIC64_OP(op) ATOMIC64_OP_RETURN(op) ATOMIC64_FETCH_OP(op) argument
36 #define ATOMIC64_OPS(op) ATOMIC64_OP(op) ATOMIC64_FETCH_OP(op) argument
Datomic.h19 #define ATOMIC_OP(op, c_op) \ argument
20 static inline void generic_atomic_##op(int i, atomic_t *v) \
29 #define ATOMIC_OP_RETURN(op, c_op) \ argument
30 static inline int generic_atomic_##op##_return(int i, atomic_t *v) \
41 #define ATOMIC_FETCH_OP(op, c_op) \ argument
42 static inline int generic_atomic_fetch_##op(int i, atomic_t *v) \
57 #define ATOMIC_OP(op, c_op) \ argument
58 static inline void generic_atomic_##op(int i, atomic_t *v) \
67 #define ATOMIC_OP_RETURN(op, c_op) \ argument
68 static inline int generic_atomic_##op##_return(int i, atomic_t *v) \
[all …]
Dfutex.h18 #define arch_futex_atomic_op_inuser(op, oparg, oval, uaddr) \ argument
19 futex_atomic_op_inuser_local(op, oparg, oval, uaddr)
38 futex_atomic_op_inuser_local(int op, u32 oparg, int *oval, u32 __user *uaddr) in futex_atomic_op_inuser_local() argument
52 switch (op) { in futex_atomic_op_inuser_local()
/include/linux/
Datomic.h58 #define __atomic_op_acquire(op, args...) \ argument
60 typeof(op##_relaxed(args)) __ret = op##_relaxed(args); \
65 #define __atomic_op_release(op, args...) \ argument
68 op##_relaxed(args); \
71 #define __atomic_op_fence(op, args...) \ argument
73 typeof(op##_relaxed(args)) __ret; \
75 __ret = op##_relaxed(args); \
Dfwnode.h184 #define fwnode_has_op(fwnode, op) \ argument
185 (!IS_ERR_OR_NULL(fwnode) && (fwnode)->ops && (fwnode)->ops->op)
187 #define fwnode_call_int_op(fwnode, op, ...) \ argument
188 (fwnode_has_op(fwnode, op) ? \
189 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : (IS_ERR_OR_NULL(fwnode) ? -EINVAL : -ENXIO))
191 #define fwnode_call_bool_op(fwnode, op, ...) \ argument
192 (fwnode_has_op(fwnode, op) ? \
193 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : false)
195 #define fwnode_call_ptr_op(fwnode, op, ...) \ argument
196 (fwnode_has_op(fwnode, op) ? \
[all …]
Dsysrq.h48 int register_sysrq_key(u8 key, const struct sysrq_key_op *op);
49 int unregister_sysrq_key(u8 key, const struct sysrq_key_op *op);
65 static inline int register_sysrq_key(u8 key, const struct sysrq_key_op *op) in register_sysrq_key() argument
70 static inline int unregister_sysrq_key(u8 key, const struct sysrq_key_op *op) in unregister_sysrq_key() argument
Dminmax.h83 #define __cmp(op, x, y) ((x) __cmp_op_##op (y) ? (x) : (y)) argument
85 #define __cmp_once_unique(op, type, x, y, ux, uy) \ argument
86 ({ type ux = (x); type uy = (y); __cmp(op, ux, uy); })
88 #define __cmp_once(op, type, x, y) \ argument
89 __cmp_once_unique(op, type, x, y, __UNIQUE_ID(x_), __UNIQUE_ID(y_))
91 #define __careful_cmp_once(op, x, y, ux, uy) ({ \ argument
94 #op"("#x", "#y") signedness error"); \
95 __cmp(op, ux, uy); })
97 #define __careful_cmp(op, x, y) \ argument
98 __careful_cmp_once(op, x, y, __UNIQUE_ID(x_), __UNIQUE_ID(y_))
[all …]
Dblk_types.h444 static inline bool op_is_write(blk_opf_t op) in op_is_write() argument
446 return (op & (__force blk_opf_t)1) || op == REQ_OP_ZONE_FINISH; in op_is_write()
453 static inline bool op_is_flush(blk_opf_t op) in op_is_flush() argument
455 return op & (REQ_FUA | REQ_PREFLUSH); in op_is_flush()
463 static inline bool op_is_sync(blk_opf_t op) in op_is_sync() argument
465 return (op & REQ_OP_MASK) == REQ_OP_READ || in op_is_sync()
466 (op & (REQ_SYNC | REQ_FUA | REQ_PREFLUSH)); in op_is_sync()
469 static inline bool op_is_discard(blk_opf_t op) in op_is_discard() argument
471 return (op & REQ_OP_MASK) == REQ_OP_DISCARD; in op_is_discard()
480 static inline bool op_is_zone_mgmt(enum req_op op) in op_is_zone_mgmt() argument
[all …]
Diopoll.h36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \ argument
46 (val) = op(args); \
51 (val) = op(args); \
84 #define read_poll_timeout_atomic(op, val, cond, delay_us, timeout_us, \ argument
97 (val) = op(args); \
101 (val) = op(args); \
134 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ argument
135 read_poll_timeout(op, val, cond, sleep_us, timeout_us, false, addr)
154 #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ argument
155 read_poll_timeout_atomic(op, val, cond, delay_us, timeout_us, false, addr)
Deventpoll.h56 int do_epoll_ctl(int epfd, int op, int fd, struct epoll_event *epds,
60 static inline int ep_op_has_event(int op) in ep_op_has_event() argument
62 return op != EPOLL_CTL_DEL; in ep_op_has_event()
Dsignal.h131 #define _SIG_SET_BINOP(name, op) \ argument
140 r->sig[3] = op(a3, b3); \
141 r->sig[2] = op(a2, b2); \
145 r->sig[1] = op(a1, b1); \
149 r->sig[0] = op(a0, b0); \
170 #define _SIG_SET_OP(name, op) \ in _SIG_SET_BINOP() argument
174 case 4: set->sig[3] = op(set->sig[3]); \ in _SIG_SET_BINOP()
175 set->sig[2] = op(set->sig[2]); \ in _SIG_SET_BINOP()
177 case 2: set->sig[1] = op(set->sig[1]); \ in _SIG_SET_BINOP()
179 case 1: set->sig[0] = op(set->sig[0]); \ in _SIG_SET_BINOP()
/include/drm/
Ddrm_gpuvm.h953 enum drm_gpuva_op_type op; member
995 #define drm_gpuva_for_each_op(op, ops) list_for_each_entry(op, &(ops)->list, entry) argument
1006 #define drm_gpuva_for_each_op_safe(op, next, ops) \ argument
1007 list_for_each_entry_safe(op, next, &(ops)->list, entry)
1017 #define drm_gpuva_for_each_op_from_reverse(op, ops) \ argument
1018 list_for_each_entry_from_reverse(op, &(ops)->list, entry)
1027 #define drm_gpuva_for_each_op_reverse(op, ops) \ argument
1028 list_for_each_entry_reverse(op, &(ops)->list, entry)
1048 #define drm_gpuva_prev_op(op) list_prev_entry(op, entry) argument
1054 #define drm_gpuva_next_op(op) list_next_entry(op, entry) argument
[all …]
/include/trace/events/
Dvsock_virtio_transport_common.h45 __u16 op,
54 op,
65 __field(__u16, op)
76 __entry->op = op;
85 show_op(__entry->op),
95 __u16 op,
105 op,
117 __field(__u16, op)
129 __entry->op = op;
140 show_op(__entry->op),
Dafs.h607 __field(u32, op)
613 __entry->op = call->operation_ID;
620 __print_symbolic(__entry->op, yfs_cm_operations) :
621 __print_symbolic(__entry->op, afs_cm_operations))
625 TP_PROTO(unsigned int call_debug_id, enum afs_call_trace op,
628 TP_ARGS(call_debug_id, op, ref, outstanding, where),
632 __field(int, op)
640 __entry->op = op;
648 __print_symbolic(__entry->op, afs_call_traces),
661 __field(enum afs_fs_operation, 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
/include/linux/spi/
Dspi-mem.h276 int (*adjust_op_size)(struct spi_mem *mem, struct spi_mem_op *op);
278 const struct spi_mem_op *op);
280 const struct spi_mem_op *op);
289 const struct spi_mem_op *op,
334 const struct spi_mem_op *op,
338 const struct spi_mem_op *op,
342 const struct spi_mem_op *op);
346 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data() argument
354 const struct spi_mem_op *op, in spi_controller_dma_unmap_mem_op_data() argument
361 const struct spi_mem_op *op) in spi_mem_default_supports_op() argument
[all …]
/include/linux/ceph/
Drados.h323 #define GENERATE_ENUM_ENTRY(op, opcode, str) CEPH_OSD_OP_##op = (opcode), argument
328 static inline int ceph_osd_op_type_lock(int op) in ceph_osd_op_type_lock() argument
330 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_LOCK; in ceph_osd_op_type_lock()
332 static inline int ceph_osd_op_type_data(int op) in ceph_osd_op_type_data() argument
334 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_DATA; in ceph_osd_op_type_data()
336 static inline int ceph_osd_op_type_attr(int op) in ceph_osd_op_type_attr() argument
338 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_ATTR; in ceph_osd_op_type_attr()
340 static inline int ceph_osd_op_type_exec(int op) in ceph_osd_op_type_exec() argument
342 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_EXEC; in ceph_osd_op_type_exec()
344 static inline int ceph_osd_op_type_pg(int op) in ceph_osd_op_type_pg() argument
[all …]
/include/xen/arm/
Dhypercall.h52 unsigned long HYPERVISOR_hvm_op(int op, void *arg);
60 static inline int HYPERVISOR_platform_op(struct xen_platform_op *op) in HYPERVISOR_platform_op() argument
62 op->interface_version = XENPF_INTERFACE_VERSION; in HYPERVISOR_platform_op()
63 return HYPERVISOR_platform_op_raw(op); in HYPERVISOR_platform_op()
/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/crypto/
Dengine.h31 struct crypto_engine_op op; member
36 struct crypto_engine_op op; member
41 struct crypto_engine_op op; member
46 struct crypto_engine_op op; member
51 struct crypto_engine_op op; member
/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/uapi/linux/
Dipc.h79 #define IPCCALL(version,op) ((version)<<16 | (op)) argument
Drfkill.h96 __u8 op; member
119 __u8 op; member
/include/uapi/linux/netfilter/ipset/
Dip_set.h270 __u8 op; member
276 __u8 op; member
290 unsigned int op; member
300 unsigned int op; member
308 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)) \

123456