Searched refs:cb (Results 26 - 50 of 1177) sorted by relevance

1234567891011>>

/linux-master/include/linux/iio/adc/
H A Dstm32-dfsdm-adc.h15 int (*cb)(const void *data, size_t size,
/linux-master/tools/thermal/lib/
H A Dmainloop.h9 extern int mainloop_add(int fd, mainloop_callback_t cb, void *data);
H A Dmainloop.c15 mainloop_callback_t cb; member in struct:mainloop_data
47 if (md->cb(md->fd, md->data) > 0)
53 int mainloop_add(int fd, mainloop_callback_t cb, void *data) argument
66 md->cb = cb;
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_skb_ctx.c15 if (skb->cb[i] != i + 1)
17 skb->cb[i]++;
H A Dverifier_leak_ptr.c29 __imm_const(__sk_buff_cb_0, offsetof(struct __sk_buff, cb[0]))
45 : __imm_const(__sk_buff_cb_0, offsetof(struct __sk_buff, cb[0]))
62 __imm_const(__sk_buff_cb_0, offsetof(struct __sk_buff, cb[0]))
/linux-master/net/tipc/
H A Ddiag.c50 struct netlink_callback *cb,
53 struct tipc_sock_diag_req *req = nlmsg_data(cb->nlh);
57 nlh = nlmsg_put_answer(skb, cb, SOCK_DIAG_BY_FAMILY, 0,
62 err = tipc_sk_fill_sock_diag(skb, cb, tsk, req->tidiag_states,
71 static int tipc_diag_dump(struct sk_buff *skb, struct netlink_callback *cb) argument
73 return tipc_nl_sk_walk(skb, cb, __tipc_add_sock_diag);
49 __tipc_add_sock_diag(struct sk_buff *skb, struct netlink_callback *cb, struct tipc_sock *tsk) argument
/linux-master/drivers/misc/sgi-gru/
H A Dgru_instructions.h22 extern int gru_check_status_proc(void *cb);
23 extern int gru_wait_proc(void *cb);
24 extern void gru_wait_abort_proc(void *cb);
69 unsigned long cb; member in struct:control_block_extended_exc_detail
349 static inline void gru_vload_phys(void *cb, unsigned long gpa, argument
352 struct gru_instruction *ins = (struct gru_instruction *)cb;
361 static inline void gru_vstore_phys(void *cb, unsigned long gpa, argument
364 struct gru_instruction *ins = (struct gru_instruction *)cb;
373 static inline void gru_vload(void *cb, unsigned long mem_addr, argument
377 struct gru_instruction *ins = (struct gru_instruction *)cb;
386 gru_vstore(void *cb, unsigned long mem_addr, unsigned int tri0, unsigned char xtype, unsigned long nelem, unsigned long stride, unsigned long hints) argument
399 gru_ivload(void *cb, unsigned long mem_addr, unsigned int tri0, unsigned int tri1, unsigned char xtype, unsigned long nelem, unsigned long hints) argument
412 gru_ivstore(void *cb, unsigned long mem_addr, unsigned int tri0, unsigned int tri1, unsigned char xtype, unsigned long nelem, unsigned long hints) argument
425 gru_vset(void *cb, unsigned long mem_addr, unsigned long value, unsigned char xtype, unsigned long nelem, unsigned long stride, unsigned long hints) argument
439 gru_ivset(void *cb, unsigned long mem_addr, unsigned int tri1, unsigned long value, unsigned char xtype, unsigned long nelem, unsigned long hints) argument
453 gru_vflush(void *cb, unsigned long mem_addr, unsigned long nelem, unsigned char xtype, unsigned long stride, unsigned long hints) argument
466 gru_nop(void *cb, int hints) argument
474 gru_bcopy(void *cb, const unsigned long src, unsigned long dest, unsigned int tri0, unsigned int xtype, unsigned long nelem, unsigned int bufsize, unsigned long hints) argument
489 gru_bstore(void *cb, const unsigned long src, unsigned long dest, unsigned int tri0, unsigned int xtype, unsigned long nelem, unsigned long hints) argument
502 gru_gamir(void *cb, int exopc, unsigned long src, unsigned int xtype, unsigned long hints) argument
512 gru_gamirr(void *cb, int exopc, unsigned long src, unsigned int xtype, unsigned long hints) argument
522 gru_gamer(void *cb, int exopc, unsigned long src, unsigned int xtype, unsigned long operand1, unsigned long operand2, unsigned long hints) argument
536 gru_gamerr(void *cb, int exopc, unsigned long src, unsigned int xtype, unsigned long operand1, unsigned long operand2, unsigned long hints) argument
549 gru_gamxr(void *cb, unsigned long src, unsigned int tri0, unsigned long hints) argument
560 gru_mesq(void *cb, unsigned long queue, unsigned long tri0, unsigned long nelem, unsigned long hints) argument
572 gru_get_amo_value(void *cb) argument
579 gru_get_amo_value_head(void *cb) argument
586 gru_get_amo_value_limit(void *cb) argument
626 gru_get_cb_status(void *cb) argument
634 gru_get_cb_message_queue_substatus(void *cb) argument
642 gru_get_cb_substatus(void *cb) argument
655 gru_check_status(void *cb) argument
673 gru_wait(void *cb) argument
683 gru_wait_abort(void *cb) argument
[all...]
H A Dgrukservices.c255 static int gru_get_cpu_resources(int dsr_bytes, void **cb, void **dsr) argument
264 *cb = bs->kernel_cb + lcpu * GRU_HANDLE_STRIDE;
272 static void gru_free_cpu_resources(void *cb, void *dsr) argument
356 * cb - pointer to first CBR
359 void gru_lock_async_resource(unsigned long han, void **cb, void **dsr) argument
367 if (cb)
368 *cb = bs->kernel_cb + ncpus * GRU_HANDLE_STRIDE;
387 int gru_get_cb_exception_detail(void *cb, argument
396 * Locate kgts for cb. This algorithm is SLOW but
406 off = cb
425 gru_get_cb_exception_detail_str(int ret, void *cb, char *buf, int size) argument
453 gru_retry_exception(void *cb) argument
476 gru_check_status_proc(void *cb) argument
489 gru_wait_proc(void *cb) argument
501 gru_abort(int ret, void *cb, char *str) argument
509 gru_wait_abort_proc(void *cb) argument
579 send_noop_message(void *cb, struct gru_message_queue_desc *mqd, void *mesg) argument
637 send_message_queue_full(void *cb, struct gru_message_queue_desc *mqd, void *mesg, int lines) argument
706 send_message_put_nacked(void *cb, struct gru_message_queue_desc *mqd, void *mesg, int lines) argument
754 send_message_failure(void *cb, struct gru_message_queue_desc *mqd, void *mesg, int lines) argument
800 void *cb; local
907 void *cb; local
931 void *cb; local
953 void *cb; local
1050 void *cb0, *cb; local
[all...]
/linux-master/drivers/misc/mei/
H A Dclient.c316 * @cb: mei callback struct
318 void mei_io_cb_free(struct mei_cl_cb *cb) argument
320 if (cb == NULL)
323 list_del(&cb->list);
324 kfree(cb->buf.data);
325 kfree(cb->ext_hdr);
326 kfree(cb);
332 * @cb: mei callback struct
337 static inline void mei_tx_cb_enqueue(struct mei_cl_cb *cb, argument
340 list_add_tail(&cb
351 mei_tx_cb_dequeue(struct mei_cl_cb *cb) argument
393 struct mei_cl_cb *cb; local
419 struct mei_cl_cb *cb, *next; local
441 struct mei_cl_cb *cb, *next; local
457 struct mei_cl_cb *cb, *next; local
471 struct mei_cl_cb *cb; local
491 struct mei_cl_cb *cb; local
526 struct mei_cl_cb *cb; local
551 struct mei_cl_cb *cb; local
860 mei_cl_send_disconnect(struct mei_cl *cl, struct mei_cl_cb *cb) argument
891 mei_cl_irq_disconnect(struct mei_cl *cl, struct mei_cl_cb *cb, struct list_head *cmpl_list) argument
925 struct mei_cl_cb *cb; local
1034 struct mei_cl_cb *cb; local
1055 mei_cl_send_connect(struct mei_cl *cl, struct mei_cl_cb *cb) argument
1084 mei_cl_irq_connect(struct mei_cl *cl, struct mei_cl_cb *cb, struct list_head *cmpl_list) argument
1125 struct mei_cl_cb *cb; local
1407 mei_cl_add_rd_completed(struct mei_cl *cl, struct mei_cl_cb *cb) argument
1435 mei_cl_del_rd_completed(struct mei_cl *cl, struct mei_cl_cb *cb) argument
1481 mei_cl_irq_notify(struct mei_cl *cl, struct mei_cl_cb *cb, struct list_head *cmpl_list) argument
1525 struct mei_cl_cb *cb; local
1677 struct mei_cl_cb *cb; local
1765 mei_msg_hdr_init(const struct mei_cl_cb *cb) argument
1838 mei_cl_irq_write(struct mei_cl *cl, struct mei_cl_cb *cb, struct list_head *cmpl_list) argument
1965 mei_cl_write(struct mei_cl *cl, struct mei_cl_cb *cb, unsigned long timeout) argument
2133 mei_cl_complete(struct mei_cl *cl, struct mei_cl_cb *cb) argument
2211 mei_cl_irq_dma_map(struct mei_cl *cl, struct mei_cl_cb *cb, struct list_head *cmpl_list) argument
2247 mei_cl_irq_dma_unmap(struct mei_cl *cl, struct mei_cl_cb *cb, struct list_head *cmpl_list) argument
2318 struct mei_cl_cb *cb; local
2411 struct mei_cl_cb *cb; local
[all...]
/linux-master/drivers/dma-buf/
H A Dst-dma-fence.c37 struct dma_fence_cb cb; member in struct:wait_cb
41 static void mock_wakeup(struct dma_fence *f, struct dma_fence_cb *cb) argument
43 wake_up_process(container_of(cb, struct wait_cb, cb)->task);
49 struct wait_cb cb = { .task = current }; local
51 if (dma_fence_add_callback(f, &cb.cb, mock_wakeup))
67 if (!dma_fence_remove_callback(f, &cb.cb))
151 struct dma_fence_cb cb; member in struct:simple_cb
155 simple_callback(struct dma_fence *f, struct dma_fence_cb *cb) argument
162 struct simple_cb cb = {}; local
189 struct simple_cb cb = {}; local
220 struct simple_cb cb = {}; local
252 struct simple_cb cb = {}; local
467 struct simple_cb cb; local
[all...]
/linux-master/tools/lib/thermal/
H A Dthermal_nl.c55 int nl_send_msg(struct nl_sock *sock, struct nl_cb *cb, struct nl_msg *msg, argument
65 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, rx_handler, data);
70 nl_recvmsgs(sock, cb);
113 static int nl_get_multicast_id(struct nl_sock *sock, struct nl_cb *cb, argument
133 ret = nl_send_msg(sock, cb, msg, nl_family_handler, &grp);
146 struct nl_cb *cb; local
149 cb = nl_cb_alloc(NL_CB_DEFAULT);
150 if (!cb)
160 if (nl_cb_err(cb, NL_CB_CUSTOM, nl_error_handler, &err) ||
161 nl_cb_set(cb, NL_CB_FINIS
[all...]
/linux-master/include/linux/mfd/
H A Dlm3533.h86 extern int lm3533_ctrlbank_enable(struct lm3533_ctrlbank *cb);
87 extern int lm3533_ctrlbank_disable(struct lm3533_ctrlbank *cb);
89 extern int lm3533_ctrlbank_set_brightness(struct lm3533_ctrlbank *cb, u8 val);
90 extern int lm3533_ctrlbank_get_brightness(struct lm3533_ctrlbank *cb, u8 *val);
91 extern int lm3533_ctrlbank_set_max_current(struct lm3533_ctrlbank *cb,
93 extern int lm3533_ctrlbank_set_pwm(struct lm3533_ctrlbank *cb, u8 val);
94 extern int lm3533_ctrlbank_get_pwm(struct lm3533_ctrlbank *cb, u8 *val);
/linux-master/drivers/gpu/drm/i915/
H A Di915_sw_fence.c421 struct i915_sw_dma_fence_cb *cb = container_of(data, typeof(*cb), base); local
423 i915_sw_fence_set_error_once(cb->fence, dma->error);
424 i915_sw_fence_complete(cb->fence);
425 kfree(cb);
430 struct i915_sw_dma_fence_cb_timer *cb = from_timer(cb, t, timer); local
433 fence = xchg(&cb->base.fence, NULL);
438 cb->dma->ops->get_driver_name(cb
450 struct i915_sw_dma_fence_cb_timer *cb = local
465 struct i915_sw_dma_fence_cb_timer *cb = local
479 struct i915_sw_dma_fence_cb *cb; local
540 struct i915_sw_dma_fence_cb *cb = container_of(data, typeof(*cb), base); local
546 __i915_sw_fence_await_dma_fence(struct i915_sw_fence *fence, struct dma_fence *dma, struct i915_sw_dma_fence_cb *cb) argument
[all...]
/linux-master/net/devlink/
H A Dnetlink_gen.h38 int devlink_nl_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
41 struct netlink_callback *cb);
48 int devlink_nl_sb_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
51 struct netlink_callback *cb);
56 struct netlink_callback *cb);
62 struct netlink_callback *cb);
84 struct netlink_callback *cb);
88 struct netlink_callback *cb);
92 struct netlink_callback *cb);
95 struct netlink_callback *cb);
[all...]
/linux-master/net/netlink/
H A Ddiag.c89 static int __netlink_diag_dump(struct sk_buff *skb, struct netlink_callback *cb, argument
92 struct rhashtable_iter *hti = (void *)cb->args[2];
102 req = nlmsg_data(cb->nlh);
114 cb->args[2] = (long)hti;
138 NETLINK_CB(cb->skb).portid,
139 cb->nlh->nlmsg_seq,
168 NETLINK_CB(cb->skb).portid,
169 cb->nlh->nlmsg_seq,
180 cb->args[0] = num;
185 static int netlink_diag_dump(struct sk_buff *skb, struct netlink_callback *cb) argument
213 netlink_diag_dump_done(struct netlink_callback *cb) argument
[all...]
/linux-master/drivers/crypto/
H A Datmel-authenc.h38 atmel_aes_authenc_fn_t cb,
43 atmel_aes_authenc_fn_t cb,
47 atmel_aes_authenc_fn_t cb,
/linux-master/net/vmw_vsock/
H A Ddiag.c48 static int vsock_diag_dump(struct sk_buff *skb, struct netlink_callback *cb) argument
58 req = nlmsg_data(cb->nlh);
62 table = cb->args[0];
63 bucket = cb->args[1];
64 i = last_i = cb->args[2];
86 NETLINK_CB(cb->skb).portid,
87 cb->nlh->nlmsg_seq,
120 NETLINK_CB(cb->skb).portid,
121 cb->nlh->nlmsg_seq,
134 cb
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dskb_ctx.c8 .cb[0] = 1,
9 .cb[1] = 2,
10 .cb[2] = 3,
11 .cb[3] = 4,
12 .cb[4] = 5,
83 ASSERT_EQ(skb.cb[i], i + 2, "ctx_out_cb");
H A Dkfree_skb.c15 } cb = { variable in typeref:union:__anon5161
32 if (CHECK(meta->cb8_0 != cb.cb8[0], "check_cb8_0", "cb8_0 %x != %x\n",
33 meta->cb8_0, cb.cb8[0]))
35 if (CHECK(meta->cb32_0 != cb.cb32[0], "check_cb32_0",
37 meta->cb32_0, cb.cb32[0]))
102 memcpy(skb.cb, &cb, sizeof(cb));
/linux-master/tools/perf/util/
H A Dsideband_evlist.c16 evsel__sb_cb_t cb, void *data)
29 evsel->side_band.cb = cb;
67 if (evsel && evsel->side_band.cb)
68 evsel->side_band.cb(event, evsel->side_band.data);
84 void evlist__set_cb(struct evlist *evlist, evsel__sb_cb_t cb, void *data) argument
92 evsel->side_band.cb = cb;
15 evlist__add_sb_event(struct evlist *evlist, struct perf_event_attr *attr, evsel__sb_cb_t cb, void *data) argument
/linux-master/tools/testing/selftests/bpf/verifier/
H A Dctx_skb.c392 "check cb access: byte",
396 offsetof(struct __sk_buff, cb[0])),
398 offsetof(struct __sk_buff, cb[0]) + 1),
400 offsetof(struct __sk_buff, cb[0]) + 2),
402 offsetof(struct __sk_buff, cb[0]) + 3),
404 offsetof(struct __sk_buff, cb[1])),
406 offsetof(struct __sk_buff, cb[1]) + 1),
408 offsetof(struct __sk_buff, cb[1]) + 2),
410 offsetof(struct __sk_buff, cb[1]) + 3),
412 offsetof(struct __sk_buff, cb[
[all...]
/linux-master/net/ipv4/
H A Dudp_diag.c17 struct netlink_callback *cb,
24 return inet_sk_diag_fill(sk, NULL, skb, cb, req, NLM_F_MULTI,
29 struct netlink_callback *cb,
32 struct sk_buff *in_skb = cb->skb;
73 err = inet_sk_diag_fill(sk, NULL, rep, cb, req, 0,
90 struct netlink_callback *cb,
93 bool net_admin = netlink_net_capable(cb->skb, CAP_NET_ADMIN);
99 cb_data = cb->data;
101 s_slot = cb->args[0];
102 num = s_num = cb
16 sk_diag_dump(struct sock *sk, struct sk_buff *skb, struct netlink_callback *cb, const struct inet_diag_req_v2 *req, struct nlattr *bc, bool net_admin) argument
28 udp_dump_one(struct udp_table *tbl, struct netlink_callback *cb, const struct inet_diag_req_v2 *req) argument
89 udp_dump(struct udp_table *table, struct sk_buff *skb, struct netlink_callback *cb, const struct inet_diag_req_v2 *r) argument
147 udp_diag_dump(struct sk_buff *skb, struct netlink_callback *cb, const struct inet_diag_req_v2 *r) argument
150 udp_dump(sock_net(cb->skb->sk)->ipv4.udp_table, skb, cb, r); local
153 udp_diag_dump_one(struct netlink_callback *cb, const struct inet_diag_req_v2 *req) argument
251 udplite_diag_dump(struct sk_buff *skb, struct netlink_callback *cb, const struct inet_diag_req_v2 *r) argument
257 udplite_diag_dump_one(struct netlink_callback *cb, const struct inet_diag_req_v2 *req) argument
[all...]
/linux-master/net/sctp/
H A Ddiag.c220 struct netlink_callback *cb; member in struct:sctp_comm_param
291 struct netlink_callback *cb = commp->cb; local
300 if (cb->args[4] < cb->args[1])
310 if (!cb->args[3] &&
312 sk_user_ns(NETLINK_CB(cb->skb).sk),
313 NETLINK_CB(cb->skb).portid,
314 cb->nlh->nlmsg_seq,
315 NLM_F_MULTI, cb
362 struct netlink_callback *cb = commp->cb; local
420 sctp_diag_dump_one(struct netlink_callback *cb, const struct inet_diag_req_v2 *req) argument
459 sctp_diag_dump(struct sk_buff *skb, struct netlink_callback *cb, const struct inet_diag_req_v2 *r) argument
[all...]
/linux-master/net/strparser/
H A Dstrparser.c32 return (struct _strp_msg *)((void *)skb->cb +
70 strp->cb.abort_parser(strp, err);
213 len = (*strp->cb.parse_msg)(strp, head);
301 strp->cb.rcv_msg(strp, head);
360 desc.error = strp->cb.read_sock_done(strp, desc.error);
398 strp->cb.lock(strp);
410 strp->cb.unlock(strp);
425 strp->cb.lock(strp);
426 strp->cb.abort_parser(strp, -ETIMEDOUT);
427 strp->cb
440 strp_init(struct strparser *strp, struct sock *sk, const struct strp_callbacks *cb) argument
[all...]
/linux-master/drivers/net/phy/
H A Dmdio-boardinfo.h19 int (*cb)

Completed in 224 milliseconds

1234567891011>>