Home
last modified time | relevance | path

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

/drivers/scsi/
Dhosts.c337 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/
Dfc_npiv.c33 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/
Dhdlcdrv.c687 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/
Dfs_enet-main.c1005 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()