Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/char/agp/
Disoch.c36 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-4.19.296/fs/btrfs/
Dreada.c73 int ndevs; member
276 zone->ndevs = bbio->num_stripes; in reada_find_zone()
581 for (i = 0; i < zone->ndevs; ++i) { in reada_peer_zones_set_lock()
825 for (j = 0; j < zone->ndevs; ++j) { in dump_devs()
852 for (j = 0; j < re->zones[i]->ndevs; ++j) { in dump_devs()
884 for (j = 0; j < re->zones[i]->ndevs; ++j) { in dump_devs()
Dvolumes.c4640 int ndevs; in __btrfs_alloc_chunk() local
4700 ndevs = 0; in __btrfs_alloc_chunk()
4743 if (ndevs == fs_devices->rw_devices) { in __btrfs_alloc_chunk()
4748 devices_info[ndevs].dev_offset = dev_offset; in __btrfs_alloc_chunk()
4749 devices_info[ndevs].max_avail = max_avail; in __btrfs_alloc_chunk()
4750 devices_info[ndevs].total_avail = total_avail; in __btrfs_alloc_chunk()
4751 devices_info[ndevs].dev = device; in __btrfs_alloc_chunk()
4752 ++ndevs; in __btrfs_alloc_chunk()
4758 sort(devices_info, ndevs, sizeof(struct btrfs_device_info), in __btrfs_alloc_chunk()
4762 ndevs = round_down(ndevs, devs_increment); in __btrfs_alloc_chunk()
[all …]
/linux-4.19.296/fs/nfs/
Dcallback.h171 uint32_t ndevs; member
Dcallback_xdr.c340 args->ndevs = n; in decode_devicenotify_args()
341 dprintk("%s: ndevs %d\n", __func__, args->ndevs); in decode_devicenotify_args()
347 args->ndevs = 0; in decode_devicenotify_args()
349 __func__, ntohl(status), args->ndevs); in decode_devicenotify_args()
Dcallback_proc.c376 for (i = 0; i < args->ndevs; i++) { in nfs4_callback_devicenotify()