Searched refs:prov (Results 1 - 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/scsi/libfc/ |
H A D | fc_libfc.c | 255 * @prov: structure describing provider including ops vector. 259 int fc_fc4_register_provider(enum fc_fh_type type, struct fc4_prov *prov) in fc_fc4_register_provider() argument 267 prov_entry = (prov->recv ? fc_passive_prov : fc_active_prov) + type; in fc_fc4_register_provider() 271 *prov_entry = prov; in fc_fc4_register_provider() 280 * @prov: structure describing provider including ops vector. 282 void fc_fc4_deregister_provider(enum fc_fh_type type, struct fc4_prov *prov) in fc_fc4_deregister_provider() argument 286 if (prov->recv) in fc_fc4_deregister_provider()
|
H A D | fc_rport.c | 269 struct fc4_prov *prov; in fc_rport_work() local 329 prov = fc_passive_prov[type]; in fc_rport_work() 330 if (prov && prov->prlo) in fc_rport_work() 331 prov->prlo(rdata); in fc_rport_work() 1125 struct fc4_prov *prov; in fc_rport_prli_resp() local 1189 prov = fc_passive_prov[rdata->spp_type]; in fc_rport_prli_resp() 1190 if (prov) { in fc_rport_prli_resp() 1192 prov->prli(rdata, pp->prli.prli_spp_len, in fc_rport_prli_resp() 1253 struct fc4_prov *prov; in fc_rport_enter_prli() local 1980 struct fc4_prov *prov; fc_rport_recv_prli_req() local [all...] |
H A D | fc_lport.c | 946 struct fc4_prov *prov; in fc_lport_recv() local 959 prov = rcu_dereference(fc_passive_prov[fh->fh_type]); in fc_lport_recv() 960 if (!prov || !try_module_get(prov->module)) in fc_lport_recv() 963 prov->recv(lport, fp); in fc_lport_recv() 964 module_put(prov->module); in fc_lport_recv()
|
/kernel/linux/linux-6.6/drivers/scsi/libfc/ |
H A D | fc_libfc.c | 255 * @prov: structure describing provider including ops vector. 259 int fc_fc4_register_provider(enum fc_fh_type type, struct fc4_prov *prov) in fc_fc4_register_provider() argument 267 prov_entry = (prov->recv ? fc_passive_prov : fc_active_prov) + type; in fc_fc4_register_provider() 271 *prov_entry = prov; in fc_fc4_register_provider() 280 * @prov: structure describing provider including ops vector. 282 void fc_fc4_deregister_provider(enum fc_fh_type type, struct fc4_prov *prov) in fc_fc4_deregister_provider() argument 286 if (prov->recv) in fc_fc4_deregister_provider()
|
H A D | fc_rport.c | 269 struct fc4_prov *prov; in fc_rport_work() local 329 prov = fc_passive_prov[type]; in fc_rport_work() 330 if (prov && prov->prlo) in fc_rport_work() 331 prov->prlo(rdata); in fc_rport_work() 1125 struct fc4_prov *prov; in fc_rport_prli_resp() local 1189 prov = fc_passive_prov[rdata->spp_type]; in fc_rport_prli_resp() 1190 if (prov) { in fc_rport_prli_resp() 1192 prov->prli(rdata, pp->prli.prli_spp_len, in fc_rport_prli_resp() 1253 struct fc4_prov *prov; in fc_rport_enter_prli() local 1980 struct fc4_prov *prov; fc_rport_recv_prli_req() local [all...] |
H A D | fc_lport.c | 949 struct fc4_prov *prov; in fc_lport_recv() local 962 prov = rcu_dereference(fc_passive_prov[fh->fh_type]); in fc_lport_recv() 963 if (!prov || !try_module_get(prov->module)) in fc_lport_recv() 966 prov->recv(lport, fp); in fc_lport_recv() 967 module_put(prov->module); in fc_lport_recv()
|
/kernel/linux/linux-5.10/drivers/target/tcm_fc/ |
H A D | tfc_sess.c | 47 tport = rcu_dereference_protected(lport->prov[FC_TYPE_FCP], in ft_tport_get() 72 rcu_assign_pointer(lport->prov[FC_TYPE_FCP], tport); in ft_tport_get() 88 BUG_ON(tport != lport->prov[FC_TYPE_FCP]); in ft_tport_delete() 89 RCU_INIT_POINTER(lport->prov[FC_TYPE_FCP], NULL); in ft_tport_delete() 120 tport = lport->prov[FC_TYPE_FCP]; in ft_lport_del() 166 tport = rcu_dereference(lport->prov[FC_TYPE_FCP]); in ft_sess_get() 456 tport = rcu_dereference_protected(rdata->local_port->prov[FC_TYPE_FCP], in ft_prlo()
|
/kernel/linux/linux-6.6/drivers/target/tcm_fc/ |
H A D | tfc_sess.c | 47 tport = rcu_dereference_protected(lport->prov[FC_TYPE_FCP], in ft_tport_get() 72 rcu_assign_pointer(lport->prov[FC_TYPE_FCP], tport); in ft_tport_get() 88 BUG_ON(tport != lport->prov[FC_TYPE_FCP]); in ft_tport_delete() 89 RCU_INIT_POINTER(lport->prov[FC_TYPE_FCP], NULL); in ft_tport_delete() 120 tport = lport->prov[FC_TYPE_FCP]; in ft_lport_del() 166 tport = rcu_dereference(lport->prov[FC_TYPE_FCP]); in ft_sess_get() 456 tport = rcu_dereference_protected(rdata->local_port->prov[FC_TYPE_FCP], in ft_prlo()
|
/kernel/linux/linux-5.10/include/scsi/ |
H A D | libfc.h | 689 * @prov: Pointers available for use by passive FC-4 providers 749 void *prov[FC_FC4_PROV_SIZE]; member
|
/kernel/linux/linux-6.6/include/scsi/ |
H A D | libfc.h | 698 * @prov: Pointers available for use by passive FC-4 providers 758 void *prov[FC_FC4_PROV_SIZE]; member
|
Completed in 14 milliseconds