Home
last modified time | relevance | path

Searched refs:q (Results 1 – 25 of 47) sorted by relevance

12

/include/media/
Dvideobuf-core.h53 struct videobuf_queue *q; member
106 int (*buf_setup)(struct videobuf_queue *q,
108 int (*buf_prepare)(struct videobuf_queue *q,
111 void (*buf_queue)(struct videobuf_queue *q,
113 void (*buf_release)(struct videobuf_queue *q,
125 int (*iolock) (struct videobuf_queue *q,
128 int (*sync) (struct videobuf_queue *q,
130 int (*mmap_mapper) (struct videobuf_queue *q,
165 static inline void videobuf_queue_lock(struct videobuf_queue *q) in videobuf_queue_lock() argument
167 if (!q->ext_lock) in videobuf_queue_lock()
[all …]
Dvideobuf2-core.h318 int (*queue_setup)(struct vb2_queue *q, const struct v4l2_format *fmt,
322 void (*wait_prepare)(struct vb2_queue *q);
323 void (*wait_finish)(struct vb2_queue *q);
330 int (*start_streaming)(struct vb2_queue *q, unsigned int count);
331 void (*stop_streaming)(struct vb2_queue *q);
447 void vb2_discard_done(struct vb2_queue *q);
448 int vb2_wait_for_all_buffers(struct vb2_queue *q);
450 int vb2_querybuf(struct vb2_queue *q, struct v4l2_buffer *b);
451 int vb2_reqbufs(struct vb2_queue *q, struct v4l2_requestbuffers *req);
453 int vb2_create_bufs(struct vb2_queue *q, struct v4l2_create_buffers *create);
[all …]
Dvideobuf-dma-contig.h19 void videobuf_queue_dma_contig_init(struct videobuf_queue *q,
30 void videobuf_dma_contig_free(struct videobuf_queue *q,
Dvideobuf-vmalloc.h32 void videobuf_queue_vmalloc_init(struct videobuf_queue *q,
/include/linux/
Dblkdev.h57 struct request_queue *q; /* the queue this rl belongs to */ member
107 struct request_queue *q; member
239 typedef void (request_fn_proc) (struct request_queue *q);
240 typedef void (make_request_fn) (struct request_queue *q, struct bio *bio);
255 typedef int (lld_busy_fn) (struct request_queue *q);
524 static inline void queue_lockdep_assert_held(struct request_queue *q) in queue_lockdep_assert_held() argument
526 if (q->queue_lock) in queue_lockdep_assert_held()
527 lockdep_assert_held(q->queue_lock); in queue_lockdep_assert_held()
531 struct request_queue *q) in queue_flag_set_unlocked() argument
533 __set_bit(flag, &q->queue_flags); in queue_flag_set_unlocked()
[all …]
Dquicklist.h35 struct quicklist *q; in quicklist_alloc() local
38 q =&get_cpu_var(quicklist)[nr]; in quicklist_alloc()
39 p = q->page; in quicklist_alloc()
41 q->page = p[0]; in quicklist_alloc()
43 q->nr_pages--; in quicklist_alloc()
58 struct quicklist *q; in __quicklist_free() local
60 q = &get_cpu_var(quicklist)[nr]; in __quicklist_free()
61 *(void **)p = q->page; in __quicklist_free()
62 q->page = p; in __quicklist_free()
63 q->nr_pages++; in __quicklist_free()
Dblktrace_api.h33 extern int do_blk_trace_setup(struct request_queue *q, char *name,
52 #define blk_add_trace_msg(q, fmt, ...) \ argument
54 struct blk_trace *bt = (q)->blk_trace; \
60 extern void blk_add_driver_data(struct request_queue *q, struct request *rq,
62 extern int blk_trace_setup(struct request_queue *q, char *name, dev_t dev,
65 extern int blk_trace_startstop(struct request_queue *q, int start);
66 extern int blk_trace_remove(struct request_queue *q);
74 # define blk_trace_shutdown(q) do { } while (0) argument
75 # define do_blk_trace_setup(q, name, dev, bdev, buts) (-ENOTTY) argument
76 # define blk_add_driver_data(q, rq, data, len) do {} while (0) argument
[all …]
Dblk-mq.h153 void blk_mq_finish_init(struct request_queue *q);
163 void blk_mq_run_queues(struct request_queue *q, bool async);
166 struct request *blk_mq_alloc_request(struct request_queue *q, int rw,
179 void blk_mq_kick_requeue_list(struct request_queue *q);
184 void blk_mq_stop_hw_queues(struct request_queue *q);
185 void blk_mq_start_hw_queues(struct request_queue *q);
186 void blk_mq_start_stopped_hw_queues(struct request_queue *q, bool async);
204 #define queue_for_each_hw_ctx(q, hctx, i) \ argument
205 for ((i) = 0; (i) < (q)->nr_hw_queues && \
206 ({ hctx = (q)->queue_hw_ctx[i]; 1; }); (i)++)
[all …]
Dbsg.h17 extern int bsg_register_queue(struct request_queue *q,
22 static inline int bsg_register_queue(struct request_queue *q, in bsg_register_queue() argument
28 static inline void bsg_unregister_queue(struct request_queue *q) in bsg_unregister_queue() argument
Dwait.h72 extern void __init_waitqueue_head(wait_queue_head_t *q, const char *name, struct lock_class_key *);
74 #define init_waitqueue_head(q) \ argument
78 __init_waitqueue_head((q), #q, &__key); \
90 static inline void init_waitqueue_entry(wait_queue_t *q, struct task_struct *p) in init_waitqueue_entry() argument
92 q->flags = 0; in init_waitqueue_entry()
93 q->private = p; in init_waitqueue_entry()
94 q->func = default_wake_function; in init_waitqueue_entry()
98 init_waitqueue_func_entry(wait_queue_t *q, wait_queue_func_t func) in init_waitqueue_func_entry() argument
100 q->flags = 0; in init_waitqueue_func_entry()
101 q->private = NULL; in init_waitqueue_func_entry()
[all …]
Dbsg-lib.h67 int bsg_setup_queue(struct device *dev, struct request_queue *q, char *name,
69 void bsg_request_fn(struct request_queue *q);
Dcordic.h29 s32 q; member
Delevator.h128 extern void elv_bio_merged(struct request_queue *q, struct request *,
133 extern int elv_register_queue(struct request_queue *q);
134 extern void elv_unregister_queue(struct request_queue *q);
137 extern int elv_set_request(struct request_queue *q, struct request *rq,
/include/crypto/
Db128ops.h64 static inline void u128_xor(u128 *r, const u128 *p, const u128 *q) in u128_xor() argument
66 r->a = p->a ^ q->a; in u128_xor()
67 r->b = p->b ^ q->b; in u128_xor()
70 static inline void be128_xor(be128 *r, const be128 *p, const be128 *q) in be128_xor() argument
72 u128_xor((u128 *)r, (u128 *)p, (u128 *)q); in be128_xor()
75 static inline void le128_xor(le128 *r, const le128 *p, const le128 *q) in le128_xor() argument
77 u128_xor((u128 *)r, (u128 *)p, (u128 *)q); in le128_xor()
Dpublic_key.h60 MPI q; /* DSA group order */ member
70 MPI q; /* RSA secret prime (if present) */ member
/include/net/
Dinet_frag.h97 bool (*match)(const struct inet_frag_queue *q,
99 void (*constructor)(struct inet_frag_queue *q,
114 void inet_frag_kill(struct inet_frag_queue *q, struct inet_frags *f);
115 void inet_frag_destroy(struct inet_frag_queue *q, struct inet_frags *f);
119 void inet_frag_maybe_warn_overflow(struct inet_frag_queue *q,
122 static inline void inet_frag_put(struct inet_frag_queue *q, struct inet_frags *f) in inet_frag_put() argument
124 if (atomic_dec_and_test(&q->refcnt)) in inet_frag_put()
125 inet_frag_destroy(q, f); in inet_frag_put()
142 static inline void sub_frag_mem_limit(struct inet_frag_queue *q, int i) in sub_frag_mem_limit() argument
144 __percpu_counter_add(&q->net->mem, -i, frag_percpu_counter_batch); in sub_frag_mem_limit()
[all …]
Dpkt_sched.h18 static inline void *qdisc_priv(struct Qdisc *q) in qdisc_priv() argument
20 return (char *) q + QDISC_ALIGN(sizeof(struct Qdisc)); in qdisc_priv()
82 int fifo_set_limit(struct Qdisc *q, unsigned int limit);
91 void qdisc_list_add(struct Qdisc *q);
92 void qdisc_list_del(struct Qdisc *q);
100 int sch_direct_xmit(struct sk_buff *skb, struct Qdisc *q,
104 void __qdisc_run(struct Qdisc *q);
106 static inline void qdisc_run(struct Qdisc *q) in qdisc_run() argument
108 if (qdisc_run_begin(q)) in qdisc_run()
109 __qdisc_run(q); in qdisc_run()
Dsch_generic.h71 struct Qdisc *q);
91 struct sk_buff_head q; member
246 struct Qdisc *q; member
268 static inline int qdisc_qlen(const struct Qdisc *q) in qdisc_qlen() argument
270 return q->q.qlen; in qdisc_qlen()
280 return &qdisc->q.lock; in qdisc_lock()
285 struct Qdisc *q = rcu_dereference_rtnl(qdisc->dev_queue->qdisc); in qdisc_root() local
287 return q; in qdisc_root()
327 static inline void sch_tree_lock(const struct Qdisc *q) in sch_tree_lock() argument
329 spin_lock_bh(qdisc_root_sleeping_lock(q)); in sch_tree_lock()
[all …]
Dpkt_cls.h44 cl = tp->q->ops->cl_ops->bind_tcf(tp->q, base, r->classid); in tcf_bind_filter()
47 tp->q->ops->cl_ops->unbind_tcf(tp->q, cl); in tcf_bind_filter()
56 tp->q->ops->cl_ops->unbind_tcf(tp->q, cl); in tcf_unbind_filter()
/include/trace/events/
Dblock.h66 TP_PROTO(struct request_queue *q, struct request *rq),
68 TP_ARGS(q, rq),
110 TP_PROTO(struct request_queue *q, struct request *rq),
112 TP_ARGS(q, rq)
126 TP_PROTO(struct request_queue *q, struct request *rq),
128 TP_ARGS(q, rq)
145 TP_PROTO(struct request_queue *q, struct request *rq,
148 TP_ARGS(q, rq, nr_bytes),
178 TP_PROTO(struct request_queue *q, struct request *rq),
180 TP_ARGS(q, rq),
[all …]
Dsunrpc.h129 TP_PROTO(const struct rpc_clnt *clnt, const struct rpc_task *task, const struct rpc_wait_queue *q),
131 TP_ARGS(clnt, task, q),
140 __string(q_name, rpc_qname(q))
150 __assign_str(q_name, rpc_qname(q));
165 TP_PROTO(const struct rpc_clnt *clnt, const struct rpc_task *task, const struct rpc_wait_queue *q),
167 TP_ARGS(clnt, task, q)
173 TP_PROTO(const struct rpc_clnt *clnt, const struct rpc_task *task, const struct rpc_wait_queue *q),
175 TP_ARGS(clnt, task, q)
/include/linux/sunrpc/
Dsched.h201 #define RPC_IS_PRIORITY(q) ((q)->maxpriority > 0) argument
255 static inline const char * rpc_qname(const struct rpc_wait_queue *q) in rpc_qname() argument
257 return ((q && q->name) ? q->name : "unknown"); in rpc_qname()
260 static inline void rpc_assign_waitqueue_name(struct rpc_wait_queue *q, in rpc_assign_waitqueue_name() argument
263 q->name = name; in rpc_assign_waitqueue_name()
266 static inline void rpc_assign_waitqueue_name(struct rpc_wait_queue *q, in rpc_assign_waitqueue_name() argument
/include/scsi/
Dscsi_dh.h80 static inline void scsi_dh_detach(struct request_queue *q) in scsi_dh_detach() argument
84 static inline const char *scsi_dh_attached_handler_name(struct request_queue *q, in scsi_dh_attached_handler_name() argument
/include/math-emu/
Dop-4.h429 #define _FP_SQRT_MEAT_4(R, S, T, X, q) \ argument
431 while (q) \
433 T##_f[3] = S##_f[3] + q; \
436 S##_f[3] = T##_f[3] + q; \
438 R##_f[3] += q; \
441 q >>= 1; \
443 q = (_FP_W_TYPE)1 << (_FP_W_TYPE_SIZE - 1); \
444 while (q) \
446 T##_f[2] = S##_f[2] + q; \
451 S##_f[2] = T##_f[2] + q; \
[all …]
/include/net/irda/
Dirias_object.h45 irda_queue_t q; /* Must be first! */ member
74 irda_queue_t q; /* Must be first! */ member

12