/linux/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_els.c | 25 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 …]
|
H A D | bnx2fc_io.c | 144 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() 933 struct bnx2fc_els_cb_arg *cb_arg = NULL; in bnx2fc_initiate_seq_cleanup() local 945 cb_arg = kzalloc(sizeof(struct bnx2fc_els_cb_arg), GFP_ATOMIC); in bnx2fc_initiate_seq_cleanup() 946 if (!cb_arg) { in bnx2fc_initiate_seq_cleanup() 956 kfree(cb_arg); in bnx2fc_initiate_seq_cleanup() 974 cb_arg->aborted_io_req = orig_io_req; in bnx2fc_initiate_seq_cleanup() 975 cb_arg->io_req = seq_clnp_req; in bnx2fc_initiate_seq_cleanup() 976 cb_arg->r_ctl = r_ctl; in bnx2fc_initiate_seq_cleanup() [all …]
|
/linux/drivers/scsi/qedf/ |
H A D | qedf_els.c | 11 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/net/netlabel/ |
H A D | netlabel_calipso.c | 219 struct netlbl_calipso_doiwalk_arg *cb_arg = arg; in netlbl_calipso_listall_cb() local 222 data = genlmsg_put(cb_arg->skb, NETLINK_CB(cb_arg->nl_cb->skb).portid, in netlbl_calipso_listall_cb() 223 cb_arg->seq, &netlbl_calipso_gnl_family, in netlbl_calipso_listall_cb() 228 ret_val = nla_put_u32(cb_arg->skb, NLBL_CALIPSO_A_DOI, doi_def->doi); in netlbl_calipso_listall_cb() 231 ret_val = nla_put_u32(cb_arg->skb, in netlbl_calipso_listall_cb() 237 genlmsg_end(cb_arg->skb, data); in netlbl_calipso_listall_cb() 241 genlmsg_cancel(cb_arg->skb, data); in netlbl_calipso_listall_cb() 258 struct netlbl_calipso_doiwalk_arg cb_arg; in netlbl_calipso_listall() local 261 cb_arg.nl_cb = cb; in netlbl_calipso_listall() 262 cb_arg.skb = skb; in netlbl_calipso_listall() [all …]
|
H A D | netlabel_cipso_v4.c | 616 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 …]
|
H A D | netlabel_calipso.h | 116 void *cb_arg);
|
H A D | netlabel_domainhash.h | 104 void *cb_arg);
|
/linux/drivers/accel/amdxdna/ |
H A D | amdxdna_mailbox_helper.c | 21 struct xdna_notify *cb_arg = handle; in xdna_msg_cb() local 27 if (unlikely(cb_arg->size != size)) { in xdna_msg_cb() 28 cb_arg->error = -EINVAL; in xdna_msg_cb() 33 16, 4, data, cb_arg->size, true); in xdna_msg_cb() 34 memcpy(cb_arg->data, data, cb_arg->size); in xdna_msg_cb() 36 ret = cb_arg->error; in xdna_msg_cb() 37 complete(&cb_arg->comp); in xdna_msg_cb()
|
H A D | aie2_solver.h | 100 int (*load)(void *cb_arg, struct xrs_action_load *action); 101 int (*unload)(void *cb_arg); 146 int xrs_allocate_resource(void *hdl, struct alloc_requests *req, void *cb_arg);
|
H A D | aie2_solver.c | 28 void *cb_arg; member 299 int xrs_allocate_resource(void *hdl, struct alloc_requests *req, void *cb_arg) in xrs_allocate_resource() argument 325 ret = xrs->cfg.actions->load(cb_arg, &load_act); in xrs_allocate_resource() 334 snode->cb_arg = cb_arg; in xrs_allocate_resource() 358 xrs->cfg.actions->unload(node->cb_arg); in xrs_release_resource()
|
/linux/drivers/nfc/ |
H A D | port100.c | 1158 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/mm/ |
H A D | list_lru.c | 277 list_lru_walk_cb isolate, void *cb_arg, in __list_lru_walk_one() argument 300 ret = isolate(item, l, cb_arg); in __list_lru_walk_one() 334 list_lru_walk_cb isolate, void *cb_arg, in list_lru_walk_one() argument 338 cb_arg, nr_to_walk, false); in list_lru_walk_one() 344 list_lru_walk_cb isolate, void *cb_arg, in list_lru_walk_one_irq() argument 348 cb_arg, nr_to_walk, true); in list_lru_walk_one_irq() 352 list_lru_walk_cb isolate, void *cb_arg, in list_lru_walk_node() argument 357 isolated += list_lru_walk_one(lru, nid, NULL, isolate, cb_arg, in list_lru_walk_node() 375 isolate, cb_arg, in list_lru_walk_node()
|
/linux/drivers/clk/tegra/ |
H A D | clk-tegra20-emc.c | 46 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/drivers/scsi/elx/efct/ |
H A D | efct_hw.c | 3026 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/drivers/nfc/st95hf/ |
H A D | core.c | 702 struct st95_digital_cmd_complete_arg *cb_arg; in st95hf_response_handler() local 704 cb_arg = &stcontext->complete_cb_arg; in st95hf_response_handler() 715 if (nfcddev->curr_protocol == NFC_PROTO_ISO14443 && cb_arg->rats && in st95hf_response_handler() 733 cb_arg->rats = false; in st95hf_response_handler() 775 struct st95_digital_cmd_complete_arg *cb_arg; in st95hf_irq_thread_handler() local 798 cb_arg = &stcontext->complete_cb_arg; in st95hf_irq_thread_handler() 799 skb_resp = cb_arg->skb_resp; in st95hf_irq_thread_handler() 847 cb_arg->complete_cb(stcontext->ddev, cb_arg->cb_usrarg, skb_resp); in st95hf_irq_thread_handler() 858 cb_arg->rats = false; in st95hf_irq_thread_handler() 861 cb_arg->complete_cb(stcontext->ddev, cb_arg->cb_usrarg, skb_resp); in st95hf_irq_thread_handler()
|
/linux/drivers/crypto/cavium/nitrox/ |
H A D | nitrox_reqmgr.c | 384 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()
|
H A D | nitrox_common.h | 26 void *cb_arg);
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | conn.h | 47 void (*recv_cb)(void *cb_arg, struct mlx5_fpga_dma_buf *buf); 48 void *cb_arg; member
|
H A D | sdk.h | 116 void (*recv_cb)(void *cb_arg, struct mlx5_fpga_dma_buf *buf); 118 void *cb_arg; member
|
/linux/drivers/scsi/bfa/ |
H A D | bfa_fcs_fcpim.c | 711 bfa_cb_itnim_offline(void *cb_arg) in bfa_cb_itnim_offline() argument 713 struct bfa_fcs_itnim_s *itnim = (struct bfa_fcs_itnim_s *) cb_arg; in bfa_cb_itnim_offline() 724 bfa_cb_itnim_tov_begin(void *cb_arg) in bfa_cb_itnim_tov_begin() argument 726 struct bfa_fcs_itnim_s *itnim = (struct bfa_fcs_itnim_s *) cb_arg; in bfa_cb_itnim_tov_begin() 735 bfa_cb_itnim_tov(void *cb_arg) in bfa_cb_itnim_tov() argument 737 struct bfa_fcs_itnim_s *itnim = (struct bfa_fcs_itnim_s *) cb_arg; in bfa_cb_itnim_tov() 752 bfa_cb_itnim_sler(void *cb_arg) in bfa_cb_itnim_sler() argument 754 struct bfa_fcs_itnim_s *itnim = (struct bfa_fcs_itnim_s *) cb_arg; in bfa_cb_itnim_sler()
|
/linux/include/linux/clk/ |
H A D | tegra.h | 182 void *cb_arg); 187 void *cb_arg) in tegra20_clk_set_emc_round_callback() argument
|
/linux/drivers/net/wireless/marvell/libertas/ |
H A D | cmd.h | 34 #define lbs_cmd(priv, cmdnr, cmd, cb, cb_arg) ({ \ argument 37 __lbs_cmd(priv, cmdnr, &(cmd)->hdr, __sz, cb, cb_arg); \
|
/linux/arch/um/os-Linux/skas/ |
H A D | process.c | 588 static void *cb_arg; variable 613 (*cb_proc)(cb_arg); in start_idle_thread() 640 cb_arg = arg; in initial_thread_cb_skas() 649 cb_arg = NULL; in initial_thread_cb_skas()
|
/linux/include/net/ |
H A D | cipso_ipv4.h | 123 void *cb_arg); 149 void *cb_arg) in cipso_v4_doi_walk() argument
|
/linux/drivers/net/wireless/marvell/libertas_tf/ |
H A D | libertas_tf.h | 498 #define lbtf_cmd(priv, cmdnr, cmd, cb, cb_arg) ({ \ argument 501 __lbtf_cmd(priv, cmdnr, &(cmd)->hdr, __sz, cb, cb_arg); \
|