Home
last modified time | relevance | path

Searched refs:cb_arg (Results 1 – 25 of 50) sorted by relevance

12

/linux-6.1.9/drivers/scsi/bnx2fc/
Dbnx2fc_els.c25 void (*cb_func)(struct bnx2fc_els_cb_arg *cb_arg),
26 struct bnx2fc_els_cb_arg *cb_arg, u32 timer_msec);
28 static void bnx2fc_rrq_compl(struct bnx2fc_els_cb_arg *cb_arg) in bnx2fc_rrq_compl() argument
34 BUG_ON(!cb_arg); in bnx2fc_rrq_compl()
35 rrq_req = cb_arg->io_req; in bnx2fc_rrq_compl()
36 orig_io_req = cb_arg->aborted_io_req; in bnx2fc_rrq_compl()
58 kfree(cb_arg); in bnx2fc_rrq_compl()
66 struct bnx2fc_els_cb_arg *cb_arg = NULL; in bnx2fc_send_rrq() local
83 cb_arg = kzalloc(sizeof(struct bnx2fc_els_cb_arg), GFP_NOIO); in bnx2fc_send_rrq()
84 if (!cb_arg) { in bnx2fc_send_rrq()
[all …]
Dbnx2fc_io.c144 if ((io_req->cb_func) && (io_req->cb_arg)) { in bnx2fc_cmd_timeout()
145 io_req->cb_func(io_req->cb_arg); in bnx2fc_cmd_timeout()
146 io_req->cb_arg = NULL; in bnx2fc_cmd_timeout()
937 struct bnx2fc_els_cb_arg *cb_arg = NULL; in bnx2fc_initiate_seq_cleanup() local
949 cb_arg = kzalloc(sizeof(struct bnx2fc_els_cb_arg), GFP_ATOMIC); in bnx2fc_initiate_seq_cleanup()
950 if (!cb_arg) { in bnx2fc_initiate_seq_cleanup()
960 kfree(cb_arg); in bnx2fc_initiate_seq_cleanup()
978 cb_arg->aborted_io_req = orig_io_req; in bnx2fc_initiate_seq_cleanup()
979 cb_arg->io_req = seq_clnp_req; in bnx2fc_initiate_seq_cleanup()
980 cb_arg->r_ctl = r_ctl; in bnx2fc_initiate_seq_cleanup()
[all …]
/linux-6.1.9/drivers/scsi/qedf/
Dqedf_els.c11 void (*cb_func)(struct qedf_els_cb_arg *cb_arg), in qedf_initiate_els() argument
12 struct qedf_els_cb_arg *cb_arg, uint32_t timer_msec) in qedf_initiate_els()
66 "0x%p cb_arg = %p xid = %x\n", els_req, cb_arg, in qedf_initiate_els()
72 cb_arg->io_req = els_req; in qedf_initiate_els()
73 cb_arg->op = op; in qedf_initiate_els()
74 els_req->cb_arg = cb_arg; in qedf_initiate_els()
96 els_req->cb_arg = NULL; in qedf_initiate_els()
183 if ((els_req->cb_func) && (els_req->cb_arg)) { in qedf_process_els_compl()
184 els_req->cb_func(els_req->cb_arg); in qedf_process_els_compl()
185 els_req->cb_arg = NULL; in qedf_process_els_compl()
[all …]
/linux-6.1.9/net/netlabel/
Dnetlabel_calipso.c194 struct netlbl_calipso_doiwalk_arg *cb_arg = arg; in netlbl_calipso_listall_cb() local
197 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_calipso_listall_cb()
198 cb_arg->seq, &netlbl_calipso_gnl_family, in netlbl_calipso_listall_cb()
203 ret_val = nla_put_u32(cb_arg->skb, NLBL_CALIPSO_A_DOI, doi_def->doi); in netlbl_calipso_listall_cb()
206 ret_val = nla_put_u32(cb_arg->skb, in netlbl_calipso_listall_cb()
212 genlmsg_end(cb_arg->skb, data); in netlbl_calipso_listall_cb()
216 genlmsg_cancel(cb_arg->skb, data); in netlbl_calipso_listall_cb()
233 struct netlbl_calipso_doiwalk_arg cb_arg; in netlbl_calipso_listall() local
236 cb_arg.nl_cb = cb; in netlbl_calipso_listall()
237 cb_arg.skb = skb; in netlbl_calipso_listall()
[all …]
Dnetlabel_cipso_v4.c616 struct netlbl_cipsov4_doiwalk_arg *cb_arg = arg; in netlbl_cipsov4_listall_cb() local
619 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_cipsov4_listall_cb()
620 cb_arg->seq, &netlbl_cipsov4_gnl_family, in netlbl_cipsov4_listall_cb()
625 ret_val = nla_put_u32(cb_arg->skb, NLBL_CIPSOV4_A_DOI, doi_def->doi); in netlbl_cipsov4_listall_cb()
628 ret_val = nla_put_u32(cb_arg->skb, in netlbl_cipsov4_listall_cb()
634 genlmsg_end(cb_arg->skb, data); in netlbl_cipsov4_listall_cb()
638 genlmsg_cancel(cb_arg->skb, data); in netlbl_cipsov4_listall_cb()
655 struct netlbl_cipsov4_doiwalk_arg cb_arg; in netlbl_cipsov4_listall() local
658 cb_arg.nl_cb = cb; in netlbl_cipsov4_listall()
659 cb_arg.skb = skb; in netlbl_cipsov4_listall()
[all …]
Dnetlabel_unlabeled.c1070 struct netlbl_unlhsh_walk_arg *cb_arg = arg; in netlbl_unlabel_staticlist_gen() local
1077 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_unlabel_staticlist_gen()
1078 cb_arg->seq, &netlbl_unlabel_gnl_family, in netlbl_unlabel_staticlist_gen()
1089 ret_val = nla_put_string(cb_arg->skb, in netlbl_unlabel_staticlist_gen()
1100 ret_val = nla_put_in_addr(cb_arg->skb, in netlbl_unlabel_staticlist_gen()
1107 ret_val = nla_put_in_addr(cb_arg->skb, in netlbl_unlabel_staticlist_gen()
1115 ret_val = nla_put_in6_addr(cb_arg->skb, in netlbl_unlabel_staticlist_gen()
1121 ret_val = nla_put_in6_addr(cb_arg->skb, in netlbl_unlabel_staticlist_gen()
1133 ret_val = nla_put(cb_arg->skb, in netlbl_unlabel_staticlist_gen()
1141 cb_arg->seq++; in netlbl_unlabel_staticlist_gen()
[all …]
Dnetlabel_mgmt.c482 struct netlbl_domhsh_walk_arg *cb_arg = arg; in netlbl_mgmt_listall_cb() local
485 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_mgmt_listall_cb()
486 cb_arg->seq, &netlbl_mgmt_gnl_family, in netlbl_mgmt_listall_cb()
491 ret_val = netlbl_mgmt_listentry(cb_arg->skb, entry); in netlbl_mgmt_listall_cb()
495 cb_arg->seq++; in netlbl_mgmt_listall_cb()
496 genlmsg_end(cb_arg->skb, data); in netlbl_mgmt_listall_cb()
500 genlmsg_cancel(cb_arg->skb, data); in netlbl_mgmt_listall_cb()
518 struct netlbl_domhsh_walk_arg cb_arg; in netlbl_mgmt_listall() local
522 cb_arg.nl_cb = cb; in netlbl_mgmt_listall()
523 cb_arg.skb = skb; in netlbl_mgmt_listall()
[all …]
/linux-6.1.9/include/linux/
Dlist_lru.h141 struct list_lru_one *list, spinlock_t *lock, void *cb_arg);
167 list_lru_walk_cb isolate, void *cb_arg,
184 list_lru_walk_cb isolate, void *cb_arg,
187 list_lru_walk_cb isolate, void *cb_arg,
192 list_lru_walk_cb isolate, void *cb_arg) in list_lru_shrink_walk() argument
194 return list_lru_walk_one(lru, sc->nid, sc->memcg, isolate, cb_arg, in list_lru_shrink_walk()
200 list_lru_walk_cb isolate, void *cb_arg) in list_lru_shrink_walk_irq() argument
202 return list_lru_walk_one_irq(lru, sc->nid, sc->memcg, isolate, cb_arg, in list_lru_shrink_walk_irq()
208 void *cb_arg, unsigned long nr_to_walk) in list_lru_walk() argument
215 cb_arg, &nr_to_walk); in list_lru_walk()
/linux-6.1.9/drivers/nfc/
Dport100.c1158 const struct port100_cb_arg *cb_arg = arg; in port100_in_comm_rf_complete() local
1159 nfc_digital_cmd_complete_t cb = cb_arg->complete_cb; in port100_in_comm_rf_complete()
1201 cb(dev->nfc_digital_dev, cb_arg->complete_arg, resp); in port100_in_comm_rf_complete()
1203 kfree(cb_arg); in port100_in_comm_rf_complete()
1211 struct port100_cb_arg *cb_arg; in port100_in_send_cmd() local
1214 cb_arg = kzalloc(sizeof(struct port100_cb_arg), GFP_KERNEL); in port100_in_send_cmd()
1215 if (!cb_arg) in port100_in_send_cmd()
1218 cb_arg->complete_cb = cb; in port100_in_send_cmd()
1219 cb_arg->complete_arg = arg; in port100_in_send_cmd()
1226 port100_in_comm_rf_complete, cb_arg); in port100_in_send_cmd()
[all …]
/linux-6.1.9/mm/
Dlist_lru.c207 list_lru_walk_cb isolate, void *cb_arg, in __list_lru_walk_one() argument
231 ret = isolate(item, l, &nlru->lock, cb_arg); in __list_lru_walk_one()
269 list_lru_walk_cb isolate, void *cb_arg, in list_lru_walk_one() argument
277 cb_arg, nr_to_walk); in list_lru_walk_one()
285 list_lru_walk_cb isolate, void *cb_arg, in list_lru_walk_one_irq() argument
293 cb_arg, nr_to_walk); in list_lru_walk_one_irq()
299 list_lru_walk_cb isolate, void *cb_arg, in list_lru_walk_node() argument
304 isolated += list_lru_walk_one(lru, nid, NULL, isolate, cb_arg, in list_lru_walk_node()
317 isolate, cb_arg, in list_lru_walk_node()
/linux-6.1.9/drivers/clk/tegra/
Dclk-tegra20-emc.c46 void *cb_arg; member
179 emc->cb_arg); in emc_determine_rate()
225 void *cb_arg) in tegra20_clk_set_emc_round_callback() argument
236 emc->cb_arg = cb_arg; in tegra20_clk_set_emc_round_callback()
/linux-6.1.9/drivers/nfc/st95hf/
Dcore.c703 struct st95_digital_cmd_complete_arg *cb_arg; in st95hf_response_handler() local
705 cb_arg = &stcontext->complete_cb_arg; in st95hf_response_handler()
716 if (nfcddev->curr_protocol == NFC_PROTO_ISO14443 && cb_arg->rats && in st95hf_response_handler()
734 cb_arg->rats = false; in st95hf_response_handler()
776 struct st95_digital_cmd_complete_arg *cb_arg; in st95hf_irq_thread_handler() local
799 cb_arg = &stcontext->complete_cb_arg; in st95hf_irq_thread_handler()
800 skb_resp = cb_arg->skb_resp; in st95hf_irq_thread_handler()
848 cb_arg->complete_cb(stcontext->ddev, cb_arg->cb_usrarg, skb_resp); in st95hf_irq_thread_handler()
859 cb_arg->rats = false; in st95hf_irq_thread_handler()
862 cb_arg->complete_cb(stcontext->ddev, cb_arg->cb_usrarg, skb_resp); in st95hf_irq_thread_handler()
/linux-6.1.9/drivers/scsi/elx/efct/
Defct_hw.c3026 struct efct_hw_link_stat_cb_arg *cb_arg = arg; in efct_hw_cb_link_stat() local
3082 if (cb_arg) { in efct_hw_cb_link_stat()
3083 if (cb_arg->cb) { in efct_hw_cb_link_stat()
3086 cb_arg->cb(status, num_counters, counts, cb_arg->arg); in efct_hw_cb_link_stat()
3089 kfree(cb_arg); in efct_hw_cb_link_stat()
3104 struct efct_hw_link_stat_cb_arg *cb_arg; in efct_hw_get_link_stats() local
3107 cb_arg = kzalloc(sizeof(*cb_arg), GFP_ATOMIC); in efct_hw_get_link_stats()
3108 if (!cb_arg) in efct_hw_get_link_stats()
3111 cb_arg->cb = cb; in efct_hw_get_link_stats()
3112 cb_arg->arg = arg; in efct_hw_get_link_stats()
[all …]
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dconn.h47 void (*recv_cb)(void *cb_arg, struct mlx5_fpga_dma_buf *buf);
48 void *cb_arg; member
Dsdk.h116 void (*recv_cb)(void *cb_arg, struct mlx5_fpga_dma_buf *buf);
118 void *cb_arg; member
/linux-6.1.9/drivers/net/ethernet/pensando/ionic/
Dionic_txrx.c14 ionic_desc_cb cb_func, void *cb_arg) in ionic_txq_post() argument
16 ionic_q_post(q, ring_dbell, cb_func, cb_arg); in ionic_txq_post()
20 ionic_desc_cb cb_func, void *cb_arg) in ionic_rxq_post() argument
22 ionic_q_post(q, ring_dbell, cb_func, cb_arg); in ionic_rxq_post()
218 void *cb_arg) in ionic_rx_clean() argument
336 ionic_rx_clean(q, desc_info, cq_info, desc_info->cb_arg); in ionic_rx_service()
339 desc_info->cb_arg = NULL; in ionic_rx_service()
436 desc_info->cb_arg = NULL; in ionic_rx_empty()
694 void *cb_arg) in ionic_tx_clean() argument
698 struct sk_buff *skb = cb_arg; in ionic_tx_clean()
[all …]
Dionic_dev.c681 void *cb_arg) in ionic_q_post() argument
689 desc_info->cb_arg = cb_arg; in ionic_q_post()
718 void *cb_arg; in ionic_q_service() local
737 cb_arg = desc_info->cb_arg; in ionic_q_service()
740 desc_info->cb_arg = NULL; in ionic_q_service()
743 cb(q, desc_info, cq_info, cb_arg); in ionic_q_service()
Dionic_dev.h175 struct ionic_cq_info *cq_info, void *cb_arg);
207 void *cb_arg; member
354 void *cb_arg);
/linux-6.1.9/drivers/crypto/cavium/nitrox/
Dnitrox_reqmgr.c384 void *cb_arg) in nitrox_process_se_request() argument
401 sr->cb_arg = cb_arg; in nitrox_process_se_request()
543 void *cb_arg; in process_response_list() local
574 cb_arg = sr->cb_arg; in process_response_list()
577 callback(cb_arg, err); in process_response_list()
Dnitrox_common.h26 void *cb_arg);
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_fcs_fcpim.c694 bfa_cb_itnim_offline(void *cb_arg) in bfa_cb_itnim_offline() argument
696 struct bfa_fcs_itnim_s *itnim = (struct bfa_fcs_itnim_s *) cb_arg; in bfa_cb_itnim_offline()
707 bfa_cb_itnim_tov_begin(void *cb_arg) in bfa_cb_itnim_tov_begin() argument
709 struct bfa_fcs_itnim_s *itnim = (struct bfa_fcs_itnim_s *) cb_arg; in bfa_cb_itnim_tov_begin()
718 bfa_cb_itnim_tov(void *cb_arg) in bfa_cb_itnim_tov() argument
720 struct bfa_fcs_itnim_s *itnim = (struct bfa_fcs_itnim_s *) cb_arg; in bfa_cb_itnim_tov()
735 bfa_cb_itnim_sler(void *cb_arg) in bfa_cb_itnim_sler() argument
737 struct bfa_fcs_itnim_s *itnim = (struct bfa_fcs_itnim_s *) cb_arg; in bfa_cb_itnim_sler()
/linux-6.1.9/include/linux/clk/
Dtegra.h182 void *cb_arg);
187 void *cb_arg) in tegra20_clk_set_emc_round_callback() argument
/linux-6.1.9/drivers/net/wireless/marvell/libertas/
Dcmd.h34 #define lbs_cmd(priv, cmdnr, cmd, cb, cb_arg) ({ \ argument
37 __lbs_cmd(priv, cmdnr, &(cmd)->hdr, __sz, cb, cb_arg); \
/linux-6.1.9/include/net/
Dcipso_ipv4.h123 void *cb_arg);
149 void *cb_arg) in cipso_v4_doi_walk() argument
/linux-6.1.9/arch/um/os-Linux/skas/
Dprocess.c640 static void *cb_arg; variable
665 (*cb_proc)(cb_arg); in start_idle_thread()
692 cb_arg = arg; in initial_thread_cb_skas()
701 cb_arg = NULL; in initial_thread_cb_skas()

12