/linux-6.3-rc2/fs/fat/ |
A D | dir.c | 335 *nr_slots = 0; in fat_parse_long() 481 nr_slots = 0; in fat_search_long() 515 if (nr_slots) { in fat_search_long() 529 sinfo->nr_slots = nr_slots; in fat_search_long() 593 nr_slots = 0; in __fat_readdir() 624 if (nr_slots) { in __fat_readdir() 1013 nr_slots--; in __fat_remove_entries() 1040 nr_slots = sinfo->nr_slots; in fat_remove_entries() 1048 nr_slots--; in fat_remove_entries() 1058 if (nr_slots) { in fat_remove_entries() [all …]
|
A D | namei_vfat.c | 582 struct msdos_dir_slot *slots, int *nr_slots) in vfat_build_slots() argument 596 *nr_slots = 0; in vfat_build_slots() 624 *nr_slots = usize / 13; in vfat_build_slots() 625 for (ps = slots, i = *nr_slots; i > 0; i--, ps++) { in vfat_build_slots() 641 (*nr_slots)++; in vfat_build_slots() 662 int err, nr_slots; in vfat_add_entry() local 673 slots, &nr_slots); in vfat_add_entry() 677 err = fat_add_entries(dir, slots, nr_slots, sinfo); in vfat_add_entry()
|
A D | fat.h | 136 int nr_slots; /* number of slots + 1(de) in filename */ member 337 extern int fat_add_entries(struct inode *dir, void *slots, int nr_slots,
|
/linux-6.3-rc2/drivers/net/wireless/broadcom/b43legacy/ |
A D | dma.c | 65 if (slot == ring->nr_slots - 1) in op32_fill_descriptor() 125 if (slot == ring->nr_slots - 1) in next_slot() 134 return ring->nr_slots - 1; in prev_slot() 484 for (i = 0; i < ring->nr_slots; i++) { in alloc_initial_descbuffers() 495 ring->used_slots = ring->nr_slots; in alloc_initial_descbuffers() 618 int nr_slots; in b43legacy_setup_dmaring() local 627 nr_slots = B43legacy_RXRING_SLOTS; in b43legacy_setup_dmaring() 629 nr_slots = B43legacy_TXRING_SLOTS; in b43legacy_setup_dmaring() 672 ring->nr_slots = nr_slots; in b43legacy_setup_dmaring() 723 ring->nr_slots); in b43legacy_destroy_dmaring() [all …]
|
A D | dma.h | 135 int nr_slots; member
|
/linux-6.3-rc2/drivers/net/wireless/broadcom/b43/ |
A D | dma.c | 103 if (slot == ring->nr_slots - 1) in op32_fill_descriptor() 195 if (slot == ring->nr_slots - 1) in op64_fill_descriptor() 265 if (slot == ring->nr_slots - 1) in next_slot() 274 return ring->nr_slots - 1; in prev_slot() 642 for (i = 0; i < ring->nr_slots; i++) { in alloc_initial_descbuffers() 653 ring->used_slots = ring->nr_slots; in alloc_initial_descbuffers() 781 for (i = 0; i < ring->nr_slots; i++) { in free_all_descbuffers() 845 ring->nr_slots = B43_RXRING_SLOTS; in b43_setup_dmaring() 847 ring->nr_slots = B43_TXRING_SLOTS; in b43_setup_dmaring() 853 for (i = 0; i < ring->nr_slots; i++) in b43_setup_dmaring() [all …]
|
A D | dma.h | 241 int nr_slots; member
|
/linux-6.3-rc2/fs/ |
A D | pipe.c | 1269 if (nr_slots < n) { in pipe_resize_ring() 1300 pipe->ring_size = nr_slots; in pipe_resize_ring() 1301 if (pipe->max_usage > nr_slots) in pipe_resize_ring() 1302 pipe->max_usage = nr_slots; in pipe_resize_ring() 1320 unsigned int nr_slots, size; in pipe_set_size() local 1329 nr_slots = size >> PAGE_SHIFT; in pipe_set_size() 1331 if (!nr_slots) in pipe_set_size() 1341 if (nr_slots > pipe->max_usage && in pipe_set_size() 1347 if (nr_slots > pipe->max_usage && in pipe_set_size() 1359 pipe->max_usage = nr_slots; in pipe_set_size() [all …]
|
/linux-6.3-rc2/fs/afs/ |
A D | dir_edit.c | 23 static int afs_find_contig_bits(union afs_xdr_dir_block *block, unsigned int nr_slots) in afs_find_contig_bits() argument 39 mask = (1 << nr_slots) - 1; in afs_find_contig_bits() 52 if (bit > 64 - nr_slots) in afs_find_contig_bits() 69 int bit, unsigned int nr_slots) in afs_set_contig_bits() argument 73 mask = (1 << nr_slots) - 1; in afs_set_contig_bits() 90 int bit, unsigned int nr_slots) in afs_clear_contig_bits() argument 94 mask = (1 << nr_slots) - 1; in afs_clear_contig_bits()
|
/linux-6.3-rc2/drivers/md/ |
A D | dm-switch.c | 81 sector_t nr_slots; in alloc_region_table() local 108 nr_slots = nr_regions; in alloc_region_table() 109 if (sector_div(nr_slots, sctx->region_entries_per_slot)) in alloc_region_table() 110 nr_slots++; in alloc_region_table() 112 if (nr_slots > ULONG_MAX / sizeof(region_table_slot_t)) { in alloc_region_table() 117 sctx->region_table = vmalloc(array_size(nr_slots, in alloc_region_table()
|
/linux-6.3-rc2/drivers/gpu/host1x/ |
A D | dev.h | 46 u32 syncpt_incrs, u32 syncval, u32 nr_slots); 311 u32 syncval, u32 nr_slots) in host1x_hw_cdma_timeout_cpu_incr() argument 314 nr_slots); in host1x_hw_cdma_timeout_cpu_incr()
|
/linux-6.3-rc2/arch/arm/mach-omap1/ |
A D | board-sx1-mmc.c | 41 .nr_slots = 1,
|
A D | board-palmte.c | 210 .nr_slots = 1,
|
A D | board-nokia770.c | 175 .nr_slots = 1,
|
/linux-6.3-rc2/kernel/dma/ |
A D | swiotlb.c | 199 static inline unsigned long nr_slots(u64 val) in nr_slots() function 601 return nr_slots(boundary_mask + 1); in get_max_slots() 627 unsigned int nslots = nr_slots(alloc_size), stride; in swiotlb_do_find_slots() 670 nr_slots(tbl_dma_addr), in swiotlb_do_find_slots() 775 for (i = 0; i < nr_slots(alloc_size + offset); i++) in swiotlb_tbl_map_single() 795 int nslots = nr_slots(mem->slots[index].alloc_size + offset); in swiotlb_release_slots()
|
/linux-6.3-rc2/drivers/mmc/host/ |
A D | omap.c | 161 int nr_slots; member 274 for (i = 0; i < host->nr_slots; i++) { in mmc_omap_release_slot() 860 BUG_ON(num >= host->nr_slots); in omap_mmc_notify_cover_event() 863 if (host->nr_slots == 0 || !host->slots[num]) in omap_mmc_notify_cover_event() 1334 if (pdata->nr_slots == 0) { in mmc_omap_probe() 1425 host->nr_slots = pdata->nr_slots; in mmc_omap_probe() 1434 for (i = 0; i < pdata->nr_slots; i++) { in mmc_omap_probe() 1475 for (i = 0; i < host->nr_slots; i++) in mmc_omap_remove()
|
A D | atmel-mci.c | 2453 unsigned int nr_slots; in atmci_probe() local 2538 nr_slots = 0; in atmci_probe() 2544 nr_slots++; in atmci_probe() 2552 nr_slots++; in atmci_probe() 2559 if (!nr_slots) { in atmci_probe() 2577 host->mapbase, irq, nr_slots); in atmci_probe()
|
/linux-6.3-rc2/include/linux/platform_data/ |
A D | mmc-omap.h | 17 unsigned nr_slots:2; member
|
/linux-6.3-rc2/arch/arm/mach-omap2/ |
A D | board-n8x0.c | 435 .nr_slots = 0, 502 mmc1_data.nr_slots = 2; in n8x0_mmc_init()
|
/linux-6.3-rc2/drivers/pci/hotplug/ |
A D | acpiphp.h | 63 int nr_slots; member
|
A D | acpiphp_glue.c | 308 bridge->nr_slots++; in acpiphp_add_context() 311 sun = bridge->nr_slots; in acpiphp_add_context() 319 bridge->nr_slots--; in acpiphp_add_context()
|
/linux-6.3-rc2/include/linux/ |
A D | pipe_fs_i.h | 274 int pipe_resize_ring(struct pipe_inode_info *pipe, unsigned int nr_slots);
|
/linux-6.3-rc2/drivers/net/xen-netback/ |
A D | netback.c | 391 unsigned int nr_slots; in xenvif_get_requests() local 396 nr_slots = shinfo->nr_frags + 1; in xenvif_get_requests() 441 nr_slots--; in xenvif_get_requests() 451 for (shinfo->nr_frags = 0; shinfo->nr_frags < nr_slots; in xenvif_get_requests()
|
/linux-6.3-rc2/drivers/gpu/host1x/hw/ |
A D | cdma_hw.c | 29 u32 syncpt_incrs, u32 syncval, u32 nr_slots) in cdma_timeout_cpu_incr() argument
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | io_uring.h | 577 __u32 nr_slots; member
|