Home
last modified time | relevance | path

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

12345

/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.h31 arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() argument
45 switch (op) { in arch_futex_atomic_op_inuser()
117 arch_futex_atomic_op_inuser(int op, u32 oparg, int *oval, u32 __user *uaddr) in arch_futex_atomic_op_inuser() argument
/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); \
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
153 typedef int (*fscache_page_retrieval_func_t)(struct fscache_retrieval *op,
157 typedef int (*fscache_pages_retrieval_func_t)(struct fscache_retrieval *op,
169 struct fscache_retrieval *fscache_get_retrieval(struct fscache_retrieval *op) in fscache_get_retrieval() argument
171 atomic_inc(&op->op.usage); in fscache_get_retrieval()
172 return op; in fscache_get_retrieval()
181 static inline void fscache_enqueue_retrieval(struct fscache_retrieval *op) in fscache_enqueue_retrieval() argument
[all …]
Dfwnode.h155 #define fwnode_has_op(fwnode, op) \ argument
156 (!IS_ERR_OR_NULL(fwnode) && (fwnode)->ops && (fwnode)->ops->op)
158 #define fwnode_call_int_op(fwnode, op, ...) \ argument
159 (fwnode_has_op(fwnode, op) ? \
160 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : (IS_ERR_OR_NULL(fwnode) ? -EINVAL : -ENXIO))
162 #define fwnode_call_bool_op(fwnode, op, ...) \ argument
163 (fwnode_has_op(fwnode, op) ? \
164 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : false)
166 #define fwnode_call_ptr_op(fwnode, op, ...) \ argument
167 (fwnode_has_op(fwnode, op) ? \
[all …]
Dsysrq.h48 int register_sysrq_key(int key, const struct sysrq_key_op *op);
49 int unregister_sysrq_key(int key, const struct sysrq_key_op *op);
65 static inline int register_sysrq_key(int key, const struct sysrq_key_op *op) in register_sysrq_key() argument
70 static inline int unregister_sysrq_key(int key, const struct sysrq_key_op *op) in unregister_sysrq_key() argument
Dblk_types.h451 static inline void bio_set_op_attrs(struct bio *bio, unsigned op, in bio_set_op_attrs() argument
454 bio->bi_opf = op | op_flags; in bio_set_op_attrs()
457 static inline bool op_is_write(unsigned int op) in op_is_write() argument
459 return (op & 1); in op_is_write()
466 static inline bool op_is_flush(unsigned int op) in op_is_flush() argument
468 return op & (REQ_FUA | REQ_PREFLUSH); in op_is_flush()
476 static inline bool op_is_sync(unsigned int op) in op_is_sync() argument
478 return (op & REQ_OP_MASK) == REQ_OP_READ || in op_is_sync()
479 (op & (REQ_SYNC | REQ_FUA | REQ_PREFLUSH)); in op_is_sync()
482 static inline bool op_is_discard(unsigned int op) in op_is_discard() argument
[all …]
Dminmax.h28 #define __cmp(x, y, op) ((x) op (y) ? (x) : (y)) argument
30 #define __cmp_once(x, y, unique_x, unique_y, op) ({ \ argument
33 __cmp(unique_x, unique_y, op); })
35 #define __careful_cmp(x, y, op) \ argument
37 __cmp(x, y, op), \
38 __cmp_once(x, y, __UNIQUE_ID(__x), __UNIQUE_ID(__y), op))
Diopoll.h36 #define read_poll_timeout(op, val, cond, sleep_us, timeout_us, \ argument
46 (val) = op(args); \
51 (val) = op(args); \
80 #define read_poll_timeout_atomic(op, val, cond, delay_us, timeout_us, \ argument
89 (val) = op(args); \
94 (val) = op(args); \
122 #define readx_poll_timeout(op, addr, val, cond, sleep_us, timeout_us) \ argument
123 read_poll_timeout(op, val, cond, sleep_us, timeout_us, false, addr)
142 #define readx_poll_timeout_atomic(op, addr, val, cond, delay_us, timeout_us) \ argument
143 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()
Dutil_macros.h5 #define __find_closest(x, a, as, op) \ argument
11 if (__fc_x op DIV_ROUND_CLOSEST(__fc_a[__fc_i] + \
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/linux/spi/
Dspi-mem.h268 int (*adjust_op_size)(struct spi_mem *mem, struct spi_mem_op *op);
270 const struct spi_mem_op *op);
272 const struct spi_mem_op *op);
281 const struct spi_mem_op *op,
313 const struct spi_mem_op *op,
317 const struct spi_mem_op *op,
321 const struct spi_mem_op *op);
324 const struct spi_mem_op *op);
329 const struct spi_mem_op *op, in spi_controller_dma_map_mem_op_data() argument
337 const struct spi_mem_op *op, in spi_controller_dma_unmap_mem_op_data() argument
[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),
Dfscache.h421 TP_PROTO(struct fscache_cookie *cookie, struct fscache_operation *op,
424 TP_ARGS(cookie, op, why),
428 __field(unsigned int, op )
434 __entry->op = op->debug_id;
439 __entry->cookie, __entry->op,
445 struct fscache_operation *op, enum fscache_page_op_trace what),
447 TP_ARGS(cookie, page, op, what),
451 __field(unsigned int, op )
459 __entry->op = op->debug_id;
466 __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.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(struct afs_call *call, enum afs_call_trace op,
733 TP_ARGS(call, 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/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/
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/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.h272 __u8 op; member
278 __u8 op; member
292 unsigned int op; member
302 unsigned int op; member
310 unsigned int op; member

12345