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/scsi/
Dhosts.c368 struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize) in scsi_host_alloc() argument
374 if (sht->unchecked_isa_dma && privsize) in scsi_host_alloc()
377 shost = kzalloc(sizeof(struct Scsi_Host) + privsize, gfp_mask); in scsi_host_alloc()
/drivers/net/hamradio/
Dhdlcdrv.c682 unsigned int privsize, const char *ifname, in hdlcdrv_register() argument
692 if (privsize < sizeof(struct hdlcdrv_state)) in hdlcdrv_register()
693 privsize = sizeof(struct hdlcdrv_state); in hdlcdrv_register()
695 dev = alloc_netdev(privsize, ifname, NET_NAME_UNKNOWN, hdlcdrv_setup); in hdlcdrv_register()
/drivers/net/ethernet/freescale/fs_enet/
Dfs_enet-main.c930 int privsize, len, ret = -ENODEV; in fs_enet_probe() local
984 privsize = sizeof(*fep) + in fs_enet_probe()
989 ndev = alloc_etherdev(privsize); in fs_enet_probe()
/drivers/thunderbolt/
Ddomain.c340 struct tb *tb_domain_alloc(struct tb_nhi *nhi, size_t privsize) in tb_domain_alloc() argument
352 tb = kzalloc(sizeof(*tb) + privsize, GFP_KERNEL); in tb_domain_alloc()
Dtb.h488 struct tb *tb_domain_alloc(struct tb_nhi *nhi, size_t privsize);