| /Linux-v5.4/fs/fat/ |
| D | dir.c | 281 wchar_t **unicode, unsigned char *nr_slots) in fat_parse_long() argument 301 *nr_slots = slots; in fat_parse_long() 335 *nr_slots = 0; in fat_parse_long() 470 unsigned char nr_slots; in fat_search_long() local 481 nr_slots = 0; in fat_search_long() 490 &unicode, &nr_slots); in fat_search_long() 515 if (nr_slots) { in fat_search_long() 527 nr_slots++; /* include the de */ in fat_search_long() 528 sinfo->slot_off = cpos - nr_slots * sizeof(*de); in fat_search_long() 529 sinfo->nr_slots = nr_slots; in fat_search_long() [all …]
|
| 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()
|
| D | fat.h | 135 int nr_slots; /* number of slots + 1(de) in filename */ member 336 extern int fat_add_entries(struct inode *dir, void *slots, int nr_slots,
|
| /Linux-v5.4/drivers/net/wireless/broadcom/b43legacy/ |
| D | dma.c | 57 B43legacy_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); in op32_fill_descriptor() 65 if (slot == ring->nr_slots - 1) in op32_fill_descriptor() 119 return (ring->nr_slots - ring->used_slots); in free_slots() 124 B43legacy_WARN_ON(!(slot >= -1 && slot <= ring->nr_slots - 1)); in next_slot() 125 if (slot == ring->nr_slots - 1) in next_slot() 132 B43legacy_WARN_ON(!(slot >= 0 && slot <= ring->nr_slots - 1)); in prev_slot() 134 return ring->nr_slots - 1; in prev_slot() 497 for (i = 0; i < ring->nr_slots; i++) { in alloc_initial_descbuffers() 508 ring->used_slots = ring->nr_slots; in alloc_initial_descbuffers() 589 for (i = 0; i < ring->nr_slots; i++) { in free_all_descbuffers() [all …]
|
| D | dma.h | 135 int nr_slots; member
|
| /Linux-v5.4/drivers/net/wireless/broadcom/b43/ |
| D | dma.c | 97 B43_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); in op32_fill_descriptor() 103 if (slot == ring->nr_slots - 1) in op32_fill_descriptor() 189 B43_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); in op64_fill_descriptor() 195 if (slot == ring->nr_slots - 1) in op64_fill_descriptor() 259 return (ring->nr_slots - ring->used_slots); in free_slots() 264 B43_WARN_ON(!(slot >= -1 && slot <= ring->nr_slots - 1)); in next_slot() 265 if (slot == ring->nr_slots - 1) in next_slot() 272 B43_WARN_ON(!(slot >= 0 && slot <= ring->nr_slots - 1)); in prev_slot() 274 return ring->nr_slots - 1; in prev_slot() 642 for (i = 0; i < ring->nr_slots; i++) { in alloc_initial_descbuffers() [all …]
|
| D | dma.h | 241 int nr_slots; member
|
| /Linux-v5.4/drivers/md/ |
| D | dm-switch.c | 80 sector_t nr_slots; in alloc_region_table() local 107 nr_slots = nr_regions; in alloc_region_table() 108 if (sector_div(nr_slots, sctx->region_entries_per_slot)) in alloc_region_table() 109 nr_slots++; in alloc_region_table() 111 if (nr_slots > ULONG_MAX / sizeof(region_table_slot_t)) { in alloc_region_table() 116 sctx->region_table = vmalloc(array_size(nr_slots, in alloc_region_table()
|
| /Linux-v5.4/fs/afs/ |
| 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() 94 int bit, unsigned int nr_slots) in afs_clear_contig_bits() argument 98 mask = (1 << nr_slots) - 1; in afs_clear_contig_bits()
|
| /Linux-v5.4/kernel/events/ |
| D | hw_breakpoint.c | 50 static int nr_slots[TYPE_MAX]; variable 93 for (i = nr_slots[type] - 1; i >= 0; i--) { in max_task_bp_pinned() 294 if (slots.pinned + (!!slots.flexible) > nr_slots[type]) in __reserve_bp_slot() 667 nr_slots[i] = hw_breakpoint_slots(i); in init_hw_breakpoint() 673 info->tsk_pinned = kcalloc(nr_slots[i], sizeof(int), in init_hw_breakpoint()
|
| /Linux-v5.4/drivers/gpu/host1x/ |
| D | dev.h | 45 u32 syncpt_incrs, u32 syncval, u32 nr_slots); 289 u32 syncval, u32 nr_slots) in host1x_hw_cdma_timeout_cpu_incr() argument 292 nr_slots); in host1x_hw_cdma_timeout_cpu_incr()
|
| /Linux-v5.4/arch/arm/mach-omap1/ |
| D | board-h3-mmc.c | 35 .nr_slots = 1,
|
| D | board-sx1-mmc.c | 42 .nr_slots = 1,
|
| D | board-h2-mmc.c | 50 .nr_slots = 1,
|
| D | board-palmte.c | 212 .nr_slots = 1,
|
| D | board-nokia770.c | 177 .nr_slots = 1,
|
| D | board-innovator.c | 349 .nr_slots = 1,
|
| D | board-htcherald.c | 391 .nr_slots = 1,
|
| /Linux-v5.4/include/linux/platform_data/ |
| D | mmc-omap.h | 17 unsigned nr_slots:2; member
|
| /Linux-v5.4/drivers/mmc/host/ |
| 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() 1335 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() 1472 for (i = 0; i < host->nr_slots; i++) in mmc_omap_remove()
|
| D | atmel-mci.c | 2449 unsigned int nr_slots; in atmci_probe() local 2534 nr_slots = 0; in atmci_probe() 2540 nr_slots++; in atmci_probe() 2548 nr_slots++; in atmci_probe() 2555 if (!nr_slots) { in atmci_probe() 2573 host->mapbase, irq, nr_slots); in atmci_probe()
|
| /Linux-v5.4/arch/arm/mach-omap2/ |
| D | board-n8x0.c | 436 .nr_slots = 0, 503 mmc1_data.nr_slots = 2; in n8x0_mmc_init()
|
| /Linux-v5.4/drivers/pci/hotplug/ |
| D | acpiphp.h | 63 int nr_slots; member
|
| D | acpiphp_glue.c | 299 bridge->nr_slots++; in acpiphp_add_context() 302 sun = bridge->nr_slots; in acpiphp_add_context() 310 bridge->nr_slots--; in acpiphp_add_context()
|
| /Linux-v5.4/drivers/gpu/host1x/hw/ |
| D | cdma_hw.c | 29 u32 syncpt_incrs, u32 syncval, u32 nr_slots) in cdma_timeout_cpu_incr() argument
|