Home
last modified time | relevance | path

Searched refs:privsize (Results 1 – 6 of 6) sorted by relevance

/drivers/scsi/libfc/
Dfc_npiv.c21 struct fc_lport *libfc_vport_create(struct fc_vport *vport, int privsize) in libfc_vport_create() argument
27 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create()
/drivers/net/hamradio/
Dhdlcdrv.c685 unsigned int privsize, const char *ifname, in hdlcdrv_register() argument
693 if (privsize < sizeof(struct hdlcdrv_state)) in hdlcdrv_register()
694 privsize = sizeof(struct hdlcdrv_state); in hdlcdrv_register()
696 dev = alloc_netdev(privsize, ifname, NET_NAME_UNKNOWN, hdlcdrv_setup); in hdlcdrv_register()
/drivers/scsi/
Dhosts.c392 struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize) in scsi_host_alloc() argument
397 shost = kzalloc(sizeof(struct Scsi_Host) + privsize, GFP_KERNEL); in scsi_host_alloc()
/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet-main.c919 int privsize, len, ret = -ENODEV; in fs_enet_probe() local
973 privsize = sizeof(*fep) + in fs_enet_probe()
978 ndev = alloc_etherdev(privsize); in fs_enet_probe()
/drivers/thunderbolt/
Ddomain.c373 struct tb *tb_domain_alloc(struct tb_nhi *nhi, int timeout_msec, size_t privsize) in tb_domain_alloc() argument
385 tb = kzalloc(sizeof(*tb) + privsize, GFP_KERNEL); in tb_domain_alloc()
Dtb.h719 struct tb *tb_domain_alloc(struct tb_nhi *nhi, int timeout_msec, size_t privsize);