Home
last modified time | relevance | path

Searched refs:try_module_get (Results 1 – 25 of 314) sorted by relevance

12345678910>>...13

/linux/virt/lib/
H A Dirqbypass.c95 if (!try_module_get(THIS_MODULE)) in irq_bypass_register_producer()
145 if (!try_module_get(THIS_MODULE)) in irq_bypass_unregister_producer()
191 if (!try_module_get(THIS_MODULE)) in irq_bypass_register_consumer()
241 if (!try_module_get(THIS_MODULE)) in irq_bypass_unregister_consumer()
/linux/net/9p/
H A Dmod.c94 try_module_get(t->owner)) { in _p9_get_trans_by_name()
143 if (t->def && try_module_get(t->owner)) { in v9fs_get_default_trans()
150 if (try_module_get(t->owner)) { in v9fs_get_default_trans()
/linux/drivers/s390/crypto/
H A Dpkey_base.c45 if (!try_module_get(handler->module)) in pkey_handler_register()
99 if (!try_module_get(h->module)) in pkey_handler_get_keybased()
119 if (!try_module_get(h->module)) in pkey_handler_get_keytypebased()
187 if (!try_module_get(h->module)) in pkey_handler_slowpath_key_to_protkey()
/linux/net/rds/
H A Dtransport.c105 (!trans->t_owner || try_module_get(trans->t_owner))) { in rds_trans_get_preferred()
130 (!trans->t_owner || try_module_get(trans->t_owner))) in rds_trans_get()
/linux/net/sunrpc/auth_gss/
H A Dgss_mech_switch.c139 if (try_module_get(pos->gm_owner)) in _gss_mech_get_by_name()
174 if (try_module_get(pos->gm_owner)) in gss_mech_get_by_OID()
206 if (try_module_get(pos->gm_owner)) in _gss_mech_get_by_pseudoflavor()
/linux/drivers/usb/roles/
H A Dclass.c172 WARN_ON(!try_module_get(sw->module)); in usb_role_switch_get()
194 WARN_ON(!try_module_get(sw->module)); in fwnode_usb_role_switch_get()
234 WARN_ON(!try_module_get(sw->module)); in usb_role_switch_find_by_fwnode()
/linux/drivers/pci/hotplug/
H A Dacpiphp_core.c161 if (attention_info && try_module_get(attention_info->owner)) { in set_attention_status()
207 if (attention_info && try_module_get(attention_info->owner)) { in get_attention_status()
/linux/net/dsa/
H A Dtag.c192 if (!try_module_get(dsa_tag_driver->owner)) in dsa_tag_driver_get_by_name()
221 if (!try_module_get(dsa_tag_driver->owner)) in dsa_tag_driver_get_by_id()
/linux/fs/
H A Dfilesystems.c163 if (index <= 0 && try_module_get(tmp->owner)) in fs_name()
267 if (fs && !try_module_get(fs->owner)) in __get_fs_type()
/linux/crypto/
H A Dalgboss.c84 if (!try_module_get(THIS_MODULE)) in cryptomgr_schedule_probe()
195 if (!try_module_get(THIS_MODULE)) in cryptomgr_schedule_test()
/linux/drivers/media/pci/saa7164/
H A Dsaa7164-dvb.c123 if (!try_module_get(tuner->dev.driver->owner)) { in si2157_attach()
642 if (!try_module_get(client_demod->dev.driver->owner)) { in saa7164_dvb_register()
663 if (!try_module_get(client_tuner->dev.driver->owner)) { in saa7164_dvb_register()
685 if (!try_module_get(client_demod->dev.driver->owner)) { in saa7164_dvb_register()
706 if (!try_module_get(client_tuner->dev.driver->owner)) { in saa7164_dvb_register()
/linux/drivers/target/iscsi/
H A Discsi_target_transport.c17 if (t->owner && !try_module_get(t->owner)) { in iscsit_get_transport()
/linux/drivers/media/usb/dvb-usb-v2/
H A Dzd1301.c155 if (!try_module_get(pdev->dev.driver->owner)) { in zd1301_frontend_attach()
180 if (!try_module_get(client->dev.driver->owner)) { in zd1301_frontend_attach()
H A Drtl28xxu.c738 if (!try_module_get(client->dev.driver->owner)) { in rtl2831u_frontend_attach()
959 if (!try_module_get(client->dev.driver->owner)) { in rtl2832u_frontend_attach()
993 if (!try_module_get(client->dev.driver->owner)) { in rtl2832u_frontend_attach()
1012 if (!try_module_get(client->dev.driver->owner)) { in rtl2832u_frontend_attach()
1050 if (!try_module_get(client->dev.driver->owner)) { in rtl2832u_frontend_attach()
1248 if (!try_module_get(client->dev.driver->owner)) { in rtl2832u_tuner_attach()
1271 if (!try_module_get(client->dev.driver->owner)) { in rtl2832u_tuner_attach()
1302 if (!try_module_get(client->dev.driver->owner)) { in rtl2832u_tuner_attach()
1348 if (!try_module_get(client->dev.driver->owner)) { in rtl2832u_tuner_attach()
/linux/net/netfilter/ipvs/
H A Dip_vs_pe.c32 !try_module_get(pe->module)) { in __ip_vs_pe_getbyname()
/linux/drivers/mtd/chips/
H A Dchipreg.c44 if (ret && !try_module_get(ret->module)) in get_mtd_chip_driver()
/linux/drivers/media/v4l2-core/
H A Dv4l2-spi.c53 if (!try_module_get(spi->dev.driver->owner)) in v4l2_spi_new_subdev()
/linux/net/nfc/
H A Daf_nfc.c30 if (proto_tab[proto] && try_module_get(proto_tab[proto]->owner)) { in nfc_sock_create()
/linux/net/core/
H A Dsock_diag.c132 if (handler && !try_module_get(handler->owner)) in sock_diag_lock_handler()
274 if (ptr && !try_module_get(ptr->owner)) in sock_diag_rcv_msg()
/linux/arch/s390/appldata/
H A Dappldata_base.c292 if (!try_module_get(ops->owner)) { // protect this function in appldata_generic_handler()
308 if (!try_module_get(ops->owner)) { in appldata_generic_handler()
/linux/drivers/misc/cxl/
H A Dbase.c28 if (calls && !try_module_get(calls->owner)) in cxl_calls_get()
/linux/include/linux/
H A Dmodule.h713 extern bool try_module_get(struct module *module);
726 static inline bool try_module_get(struct module *module) in try_module_get() function
839 static inline bool try_module_get(struct module *module) in try_module_get() function
/linux/drivers/macintosh/
H A Dwindfarm_core.c256 if (!try_module_get(ct->ops->owner)) in wf_get_control()
351 if (!try_module_get(sr->ops->owner)) in wf_get_sensor()
/linux/sound/synth/emux/
H A Demux_seq.c262 if (!try_module_get(emu->ops.owner)) in __snd_emux_inc_count()
264 if (!try_module_get(emu->card->module)) { in __snd_emux_inc_count()
/linux/sound/soc/intel/catpt/
H A Ddevice.c84 if (!try_module_get(dev->driver->owner)) { in catpt_resume()
111 if (!try_module_get(dev->driver->owner)) { in catpt_runtime_suspend()

12345678910>>...13