Searched refs:privsize (Results 1 – 6 of 6) sorted by relevance
/drivers/scsi/libfc/ |
D | fc_npiv.c | 21 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/ |
D | hosts.c | 368 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/ |
D | hdlcdrv.c | 682 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/ |
D | fs_enet-main.c | 930 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/ |
D | domain.c | 340 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()
|
D | tb.h | 488 struct tb *tb_domain_alloc(struct tb_nhi *nhi, size_t privsize);
|