Home
last modified time | relevance | path

Searched refs:ndevs (Results 1 – 13 of 13) sorted by relevance

/linux-4.4.14/drivers/char/agp/
Disoch.c35 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
64 struct agp_3_5_dev *dev_list, unsigned int ndevs) in agp_3_5_isochronous_node_enable() argument
95 if ((master = kmalloc(ndevs * sizeof(*master), GFP_KERNEL)) == NULL) { in agp_3_5_isochronous_node_enable()
116 agp_3_5_dev_list_sort(dev_list, ndevs); in agp_3_5_isochronous_node_enable()
181 for (cdev=0; cdev<ndevs; cdev++) { in agp_3_5_isochronous_node_enable()
208 for (cdev=0; cdev<ndevs; cdev++) { in agp_3_5_isochronous_node_enable()
222 master[ndevs-1].n += rem; in agp_3_5_isochronous_node_enable()
242 step = rq_async / ndevs; in agp_3_5_isochronous_node_enable()
243 rem_async = step + (rq_async % ndevs); in agp_3_5_isochronous_node_enable()
248 for (cdev=0; cdev<ndevs; cdev++) { in agp_3_5_isochronous_node_enable()
[all …]
/linux-4.4.14/drivers/staging/comedi/drivers/
Dcomedi_bond.c66 unsigned ndevs; member
252 (devpriv->ndevs + 1) * sizeof(*devs), in do_dev_config()
261 devpriv->devs[devpriv->ndevs++] = bdev; in do_dev_config()
318 devpriv->nchans, devpriv->ndevs); in bonding_attach()
331 while (devpriv->ndevs--) { in bonding_detach()
334 bdev = devpriv->devs[devpriv->ndevs]; in bonding_detach()
/linux-4.4.14/tools/usb/usbip/libsrc/
Dusbip_host_driver.c146 host_driver->ndevs++; in refresh_exported_devices()
177 host_driver->ndevs = 0; in usbip_host_driver_open()
214 host_driver->ndevs = 0; in usbip_host_refresh_device_list()
Dusbip_host_driver.h27 int ndevs; member
/linux-4.4.14/drivers/staging/board/
Dboard.c204 unsigned int ndevs) in board_staging_register_devices() argument
208 for (i = 0; i < ndevs; i++) in board_staging_register_devices()
Dboard.h32 unsigned int ndevs);
/linux-4.4.14/fs/btrfs/
Dreada.c88 int ndevs; member
299 zone->ndevs = bbio->num_stripes; in reada_find_zone()
596 for (i = 0; i < zone->ndevs; ++i) { in reada_peer_zones_set_lock()
831 for (j = 0; j < zone->ndevs; ++j) { in dump_devs()
860 for (j = 0; j < re->zones[i]->ndevs; ++j) { in dump_devs()
898 for (j = 0; j < re->zones[i]->ndevs; ++j) { in dump_devs()
Dvolumes.c4512 int ndevs; in __btrfs_alloc_chunk() local
4571 ndevs = 0; in __btrfs_alloc_chunk()
4612 if (ndevs == fs_devices->rw_devices) { in __btrfs_alloc_chunk()
4617 devices_info[ndevs].dev_offset = dev_offset; in __btrfs_alloc_chunk()
4618 devices_info[ndevs].max_avail = max_avail; in __btrfs_alloc_chunk()
4619 devices_info[ndevs].total_avail = total_avail; in __btrfs_alloc_chunk()
4620 devices_info[ndevs].dev = device; in __btrfs_alloc_chunk()
4621 ++ndevs; in __btrfs_alloc_chunk()
4627 sort(devices_info, ndevs, sizeof(struct btrfs_device_info), in __btrfs_alloc_chunk()
4631 ndevs -= ndevs % devs_increment; in __btrfs_alloc_chunk()
[all …]
/linux-4.4.14/fs/nfs/
Dcallback.h173 int ndevs; member
Dcallback_xdr.c299 args->ndevs = 0; in decode_devicenotify_args()
366 args->ndevs++; in decode_devicenotify_args()
374 __func__, ntohl(status), args->ndevs); in decode_devicenotify_args()
Dcallback_proc.c276 for (i = 0; i < args->ndevs; i++) { in nfs4_callback_devicenotify()
/linux-4.4.14/drivers/vme/
Dvme.c1474 struct vme_bridge *bridge, unsigned int ndevs) in __vme_register_driver_bus() argument
1481 for (i = 0; i < ndevs; i++) { in __vme_register_driver_bus()
1520 static int __vme_register_driver(struct vme_driver *drv, unsigned int ndevs) in __vme_register_driver() argument
1534 err = __vme_register_driver_bus(drv, bridge, ndevs); in __vme_register_driver()
1542 int vme_register_driver(struct vme_driver *drv, unsigned int ndevs) in vme_register_driver() argument
1554 err = __vme_register_driver(drv, ndevs); in vme_register_driver()
/linux-4.4.14/drivers/tty/
Dnozomi.c410 static struct nozomi *ndevs[NOZOMI_MAX_CARDS]; variable
420 return tty ? ndevs[tty->index / MAX_PORT] : NULL; in get_dc_by_tty()
1362 for (ndev_idx = 0; ndev_idx < ARRAY_SIZE(ndevs); ndev_idx++) in nozomi_card_init()
1363 if (!ndevs[ndev_idx]) in nozomi_card_init()
1366 if (ndev_idx >= ARRAY_SIZE(ndevs)) { in nozomi_card_init()
1448 ndevs[ndev_idx] = dc; in nozomi_card_init()
1557 ndevs[dc->index_start / MAX_PORT] = NULL; in nozomi_card_exit()