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.h174 #define fwnode_has_op(fwnode, op) \ argument
175 (!IS_ERR_OR_NULL(fwnode) && (fwnode)->ops && (fwnode)->ops->op)
177 #define fwnode_call_int_op(fwnode, op, ...) \ argument
178 (fwnode_has_op(fwnode, op) ? \
179 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : (IS_ERR_OR_NULL(fwnode) ? -EINVAL : -ENXIO))
181 #define fwnode_call_bool_op(fwnode, op, ...) \ argument
182 (fwnode_has_op(fwnode, op) ? \
183 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : false)
185 #define fwnode_call_ptr_op(fwnode, op, ...) \ argument
186 (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.h46 #define __cmp(op, x, y) ((x) __cmp_op_##op (y) ? (x) : (y)) argument
48 #define __cmp_once(op, x, y, unique_x, unique_y) ({ \ argument
52 #op "(" #x ", " #y ") signedness error, fix types or consider u" #op "() before " #op "_t()"); \
53 __cmp(op, unique_x, unique_y); })
55 #define __careful_cmp(op, x, y) \ argument
57 __cmp(op, x, y), \
58 __cmp_once(op, x, y, __UNIQUE_ID(__x), __UNIQUE_ID(__y)))
188 #define __minmax_array(op, array, len) ({ \ argument
193 __element = op(__element, __array[__len]); \
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)
Dblk_types.h490 static inline bool op_is_write(blk_opf_t op) in op_is_write() argument
492 return !!(op & (__force blk_opf_t)1); in op_is_write()
499 static inline bool op_is_flush(blk_opf_t op) in op_is_flush() argument
501 return op & (REQ_FUA | REQ_PREFLUSH); in op_is_flush()
509 static inline bool op_is_sync(blk_opf_t op) in op_is_sync() argument
511 return (op & REQ_OP_MASK) == REQ_OP_READ || in op_is_sync()
512 (op & (REQ_SYNC | REQ_FUA | REQ_PREFLUSH)); in op_is_sync()
515 static inline bool op_is_discard(blk_opf_t op) in op_is_discard() argument
517 return (op & REQ_OP_MASK) == REQ_OP_DISCARD; in op_is_discard()
526 static inline bool op_is_zone_mgmt(enum req_op op) in op_is_zone_mgmt() argument
[all …]
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()
Dutil_macros.h7 #define __find_closest(x, a, as, op) \ argument
13 if (__fc_x op DIV_ROUND_CLOSEST(__fc_a[__fc_i] + \
Dsignal.h130 #define _SIG_SET_BINOP(name, op) \ argument
139 r->sig[3] = op(a3, b3); \
140 r->sig[2] = op(a2, b2); \
144 r->sig[1] = op(a1, b1); \
148 r->sig[0] = op(a0, b0); \
169 #define _SIG_SET_OP(name, op) \ in _SIG_SET_BINOP() argument
173 case 4: set->sig[3] = op(set->sig[3]); \ in _SIG_SET_BINOP()
174 set->sig[2] = op(set->sig[2]); \ in _SIG_SET_BINOP()
176 case 2: set->sig[1] = op(set->sig[1]); \ in _SIG_SET_BINOP()
178 case 1: set->sig[0] = op(set->sig[0]); \ in _SIG_SET_BINOP()
/include/drm/
Ddrm_gpuva_mgr.h493 enum drm_gpuva_op_type op; member
535 #define drm_gpuva_for_each_op(op, ops) list_for_each_entry(op, &(ops)->list, entry) argument
546 #define drm_gpuva_for_each_op_safe(op, next, ops) \ argument
547 list_for_each_entry_safe(op, next, &(ops)->list, entry)
557 #define drm_gpuva_for_each_op_from_reverse(op, ops) \ argument
558 list_for_each_entry_from_reverse(op, &(ops)->list, entry)
578 #define drm_gpuva_prev_op(op) list_prev_entry(op, entry) argument
584 #define drm_gpuva_next_op(op) list_next_entry(op, entry) argument
606 struct drm_gpuva_op_map *op) in drm_gpuva_init_from_op() argument
608 drm_gpuva_init(va, op->va.addr, op->va.range, in drm_gpuva_init_from_op()
[all …]
/include/trace/events/
Dvsock_virtio_transport_common.h45 __u16 op,
53 op,
63 __field(__u16, op)
73 __entry->op = op;
81 show_op(__entry->op),
91 __u16 op,
101 op,
113 __field(__u16, op)
125 __entry->op = op;
136 show_op(__entry->op),
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.h712 __field(u32, op )
718 __entry->op = call->operation_ID;
725 __print_symbolic(__entry->op, yfs_cm_operations) :
726 __print_symbolic(__entry->op, afs_cm_operations))
730 TP_PROTO(unsigned int call_debug_id, enum afs_call_trace op,
733 TP_ARGS(call_debug_id, op, ref, outstanding, where),
737 __field(int, op )
745 __entry->op = op;
753 __print_symbolic(__entry->op, afs_call_traces),
766 __field(enum afs_fs_operation, op )
[all …]
/include/linux/spi/
Dspi-mem.h274 int (*adjust_op_size)(struct spi_mem *mem, struct spi_mem_op *op);
276 const struct spi_mem_op *op);
278 const struct spi_mem_op *op);
287 const struct spi_mem_op *op,
332 const struct spi_mem_op *op,
336 const struct spi_mem_op *op,
340 const struct spi_mem_op *op);
344 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data() argument
352 const struct spi_mem_op *op, in spi_controller_dma_unmap_mem_op_data() argument
359 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

123456