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/net/hamradio/ |
D | hdlcdrv.c | 685 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/ |
D | hosts.c | 392 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/ |
D | fs_enet-main.c | 919 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/ |
D | domain.c | 373 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()
|
D | tb.h | 719 struct tb *tb_domain_alloc(struct tb_nhi *nhi, int timeout_msec, size_t privsize);
|