/Linux-v4.19/drivers/char/agp/ |
D | isoch.c | 36 static void agp_3_5_dev_list_sort(struct agp_3_5_dev *list, unsigned int ndevs) in agp_3_5_dev_list_sort() argument 65 struct agp_3_5_dev *dev_list, unsigned int ndevs) in agp_3_5_isochronous_node_enable() argument 96 master = kmalloc_array(ndevs, sizeof(*master), GFP_KERNEL); in agp_3_5_isochronous_node_enable() 118 agp_3_5_dev_list_sort(dev_list, ndevs); in agp_3_5_isochronous_node_enable() 183 for (cdev=0; cdev<ndevs; cdev++) { in agp_3_5_isochronous_node_enable() 210 for (cdev=0; cdev<ndevs; cdev++) { in agp_3_5_isochronous_node_enable() 224 master[ndevs-1].n += rem; in agp_3_5_isochronous_node_enable() 244 step = rq_async / ndevs; in agp_3_5_isochronous_node_enable() 245 rem_async = step + (rq_async % ndevs); in agp_3_5_isochronous_node_enable() 250 for (cdev=0; cdev<ndevs; cdev++) { in agp_3_5_isochronous_node_enable() [all …]
|
/Linux-v4.19/drivers/staging/comedi/drivers/ |
D | comedi_bond.c | 57 unsigned int ndevs; member 243 (devpriv->ndevs + 1) * sizeof(*devs), in do_dev_config() 252 devpriv->devs[devpriv->ndevs++] = bdev; in do_dev_config() 309 devpriv->nchans, devpriv->ndevs); in bonding_attach() 322 while (devpriv->ndevs--) { in bonding_detach() 325 bdev = devpriv->devs[devpriv->ndevs]; in bonding_detach()
|
/Linux-v4.19/drivers/staging/board/ |
D | board.c | 193 unsigned int ndevs) in board_staging_register_devices() argument 197 for (i = 0; i < ndevs; i++) in board_staging_register_devices()
|
D | board.h | 33 unsigned int ndevs);
|
/Linux-v4.19/tools/usb/usbip/libsrc/ |
D | usbip_host_driver.c | 43 hdriver->ndevs = 0; in usbip_host_driver_open()
|
D | usbip_host_common.c | 160 hdriver->ndevs++; in refresh_exported_devices() 214 hdriver->ndevs = 0; in usbip_generic_refresh_device_list()
|
D | usbip_host_common.h | 51 int ndevs; member
|
D | usbip_device_driver.c | 144 hdriver->ndevs = 0; in usbip_device_driver_open()
|
/Linux-v4.19/fs/btrfs/ |
D | reada.c | 73 int ndevs; member 276 zone->ndevs = bbio->num_stripes; in reada_find_zone() 579 for (i = 0; i < zone->ndevs; ++i) { in reada_peer_zones_set_lock() 820 for (j = 0; j < zone->ndevs; ++j) { in dump_devs() 847 for (j = 0; j < re->zones[i]->ndevs; ++j) { in dump_devs() 879 for (j = 0; j < re->zones[i]->ndevs; ++j) { in dump_devs()
|
D | volumes.c | 4603 int ndevs; in __btrfs_alloc_chunk() local 4663 ndevs = 0; in __btrfs_alloc_chunk() 4706 if (ndevs == fs_devices->rw_devices) { in __btrfs_alloc_chunk() 4711 devices_info[ndevs].dev_offset = dev_offset; in __btrfs_alloc_chunk() 4712 devices_info[ndevs].max_avail = max_avail; in __btrfs_alloc_chunk() 4713 devices_info[ndevs].total_avail = total_avail; in __btrfs_alloc_chunk() 4714 devices_info[ndevs].dev = device; in __btrfs_alloc_chunk() 4715 ++ndevs; in __btrfs_alloc_chunk() 4721 sort(devices_info, ndevs, sizeof(struct btrfs_device_info), in __btrfs_alloc_chunk() 4725 ndevs = round_down(ndevs, devs_increment); in __btrfs_alloc_chunk() [all …]
|
/Linux-v4.19/drivers/vme/ |
D | vme.c | 1857 struct vme_bridge *bridge, unsigned int ndevs) in __vme_register_driver_bus() argument 1864 for (i = 0; i < ndevs; i++) { in __vme_register_driver_bus() 1903 static int __vme_register_driver(struct vme_driver *drv, unsigned int ndevs) in __vme_register_driver() argument 1917 err = __vme_register_driver_bus(drv, bridge, ndevs); in __vme_register_driver() 1934 int vme_register_driver(struct vme_driver *drv, unsigned int ndevs) in vme_register_driver() argument 1946 err = __vme_register_driver(drv, ndevs); in vme_register_driver()
|
/Linux-v4.19/fs/nfs/ |
D | callback.h | 171 int ndevs; member
|
D | callback_xdr.c | 275 args->ndevs = 0; in decode_devicenotify_args() 342 args->ndevs++; in decode_devicenotify_args() 350 __func__, ntohl(status), args->ndevs); in decode_devicenotify_args()
|
D | callback_proc.c | 375 for (i = 0; i < args->ndevs; i++) { in nfs4_callback_devicenotify()
|
/Linux-v4.19/drivers/tty/ |
D | nozomi.c | 376 static struct nozomi *ndevs[NOZOMI_MAX_CARDS]; variable 386 return tty ? ndevs[tty->index / MAX_PORT] : NULL; in get_dc_by_tty() 1328 for (ndev_idx = 0; ndev_idx < ARRAY_SIZE(ndevs); ndev_idx++) in nozomi_card_init() 1329 if (!ndevs[ndev_idx]) in nozomi_card_init() 1332 if (ndev_idx >= ARRAY_SIZE(ndevs)) { in nozomi_card_init() 1414 ndevs[ndev_idx] = dc; in nozomi_card_init() 1523 ndevs[dc->index_start / MAX_PORT] = NULL; in nozomi_card_exit()
|
/Linux-v4.19/Documentation/ABI/stable/ |
D | sysfs-class-infiniband | 218 What: /sys/class/infiniband/<hca>/ports/<port-number>/gid_attrs/ndevs/<gid-index>
|