Searched refs:dev_nr (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/s390/block/ |
D | dasd_diag.h | 30 u16 dev_nr; member 57 u16 dev_nr; member 69 u16 dev_nr; member
|
D | dasd_diag.c | 112 iib->dev_nr = private->dev_id.devno; in mdsk_init_io() 135 iib->dev_nr = private->dev_id.devno; in mdsk_term_io() 180 private->iob.dev_nr = private->dev_id.devno; in dasd_start_diag() 350 rdc_data->dev_nr = private->dev_id.devno; in dasd_diag_check_device() 382 rdc_data->dev_nr, in dasd_diag_check_device() 414 private->iob.dev_nr = rdc_data->dev_nr; in dasd_diag_check_device()
|
/linux-6.1.9/drivers/media/pci/ngene/ |
D | ngene-i2c.c | 145 int ngene_i2c_init(struct ngene *dev, int dev_nr) in ngene_i2c_init() argument 147 struct i2c_adapter *adap = &(dev->channel[dev_nr].i2c_adapter); in ngene_i2c_init() 149 i2c_set_adapdata(adap, &(dev->channel[dev_nr])); in ngene_i2c_init() 154 adap->algo_data = (void *)&(dev->channel[dev_nr]); in ngene_i2c_init()
|
D | ngene.h | 831 int ngene_i2c_init(struct ngene *dev, int dev_nr);
|
/linux-6.1.9/drivers/media/usb/hdpvr/ |
D | hdpvr-core.c | 32 static atomic_t dev_nr = ATOMIC_INIT(-1); variable 373 dev_num = atomic_inc_return(&dev_nr); in hdpvr_probe() 377 atomic_dec(&dev_nr); in hdpvr_probe() 433 atomic_dec(&dev_nr); in hdpvr_disconnect()
|
/linux-6.1.9/net/netrom/ |
D | af_netrom.c | 1369 static struct net_device **dev_nr; variable 1395 dev_nr = kcalloc(nr_ndevs, sizeof(struct net_device *), GFP_KERNEL); in nr_proto_init() 1396 if (!dev_nr) { in nr_proto_init() 1421 dev_nr[i] = dev; in nr_proto_init() 1475 unregister_netdev(dev_nr[i]); in nr_proto_init() 1476 free_netdev(dev_nr[i]); in nr_proto_init() 1478 kfree(dev_nr); in nr_proto_init() 1517 struct net_device *dev = dev_nr[i]; in nr_exit() 1524 kfree(dev_nr); in nr_exit()
|
/linux-6.1.9/drivers/md/bcache/ |
D | writeback.c | 162 int counter, dev_nr; in idle_counter_exceeded() local 175 dev_nr = atomic_read(&c->attached_dev_nr); in idle_counter_exceeded() 176 if (dev_nr == 0) in idle_counter_exceeded() 188 if (counter < (dev_nr * dev_nr * 6)) in idle_counter_exceeded()
|
/linux-6.1.9/fs/btrfs/ |
D | volumes.c | 6855 static void btrfs_submit_mirrored_bio(struct btrfs_io_context *bioc, int dev_nr) in btrfs_submit_mirrored_bio() argument 6862 if (dev_nr == bioc->num_stripes - 1) { in btrfs_submit_mirrored_bio() 6871 bio->bi_private = &bioc->stripes[dev_nr]; in btrfs_submit_mirrored_bio() 6872 bio->bi_iter.bi_sector = bioc->stripes[dev_nr].physical >> SECTOR_SHIFT; in btrfs_submit_mirrored_bio() 6873 bioc->stripes[dev_nr].bioc = bioc; in btrfs_submit_mirrored_bio() 6874 btrfs_submit_dev_bio(bioc->stripes[dev_nr].dev, bio); in btrfs_submit_mirrored_bio() 6921 int dev_nr; in btrfs_submit_bio() local 6924 for (dev_nr = 0; dev_nr < total_devs; dev_nr++) in btrfs_submit_bio() 6925 btrfs_submit_mirrored_bio(bioc, dev_nr); in btrfs_submit_bio()
|