Searched refs:privsize (Results 1 – 4 of 4) sorted by relevance
/drivers/scsi/ |
D | hosts.c | 337 struct Scsi_Host *scsi_host_alloc(struct scsi_host_template *sht, int privsize) in scsi_host_alloc() argument 342 if (sht->unchecked_isa_dma && privsize) in scsi_host_alloc() 345 shost = kzalloc(sizeof(struct Scsi_Host) + privsize, gfp_mask); in scsi_host_alloc() 448 struct Scsi_Host *scsi_register(struct scsi_host_template *sht, int privsize) in scsi_register() argument 450 struct Scsi_Host *shost = scsi_host_alloc(sht, privsize); in scsi_register()
|
/drivers/scsi/libfc/ |
D | fc_npiv.c | 33 struct fc_lport *libfc_vport_create(struct fc_vport *vport, int privsize) in libfc_vport_create() argument 39 vn_port = libfc_host_alloc(shost->hostt, privsize); in libfc_vport_create()
|
/drivers/net/hamradio/ |
D | hdlcdrv.c | 687 unsigned int privsize, const char *ifname, in hdlcdrv_register() argument 697 if (privsize < sizeof(struct hdlcdrv_state)) in hdlcdrv_register() 698 privsize = sizeof(struct hdlcdrv_state); in hdlcdrv_register() 700 dev = alloc_netdev(privsize, ifname, hdlcdrv_setup); in hdlcdrv_register()
|
/drivers/net/ethernet/freescale/fs_enet/ |
D | fs_enet-main.c | 1005 int privsize, len, ret = -ENODEV; in fs_enet_probe() local 1040 privsize = sizeof(*fep) + in fs_enet_probe() 1044 ndev = alloc_etherdev(privsize); in fs_enet_probe()
|