Home
last modified time | relevance | path

Searched refs:nr_slots (Results 1 – 25 of 30) sorted by relevance

12

/Linux-v4.19/fs/fat/
Ddir.c282 wchar_t **unicode, unsigned char *nr_slots) in fat_parse_long() argument
302 *nr_slots = slots; in fat_parse_long()
336 *nr_slots = 0; in fat_parse_long()
469 unsigned char nr_slots; in fat_search_long() local
480 nr_slots = 0; in fat_search_long()
489 &unicode, &nr_slots); in fat_search_long()
514 if (nr_slots) { in fat_search_long()
526 nr_slots++; /* include the de */ in fat_search_long()
527 sinfo->slot_off = cpos - nr_slots * sizeof(*de); in fat_search_long()
528 sinfo->nr_slots = nr_slots; in fat_search_long()
[all …]
Dnamei_vfat.c581 struct msdos_dir_slot *slots, int *nr_slots) in vfat_build_slots() argument
595 *nr_slots = 0; in vfat_build_slots()
623 *nr_slots = usize / 13; in vfat_build_slots()
624 for (ps = slots, i = *nr_slots; i > 0; i--, ps++) { in vfat_build_slots()
640 (*nr_slots)++; in vfat_build_slots()
661 int err, nr_slots; in vfat_add_entry() local
672 slots, &nr_slots); in vfat_add_entry()
676 err = fat_add_entries(dir, slots, nr_slots, sinfo); in vfat_add_entry()
Dfat.h135 int nr_slots; /* number of slots + 1(de) in filename */ member
308 extern int fat_add_entries(struct inode *dir, void *slots, int nr_slots,
/Linux-v4.19/drivers/net/wireless/broadcom/b43legacy/
Ddma.c70 B43legacy_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); in op32_fill_descriptor()
78 if (slot == ring->nr_slots - 1) in op32_fill_descriptor()
132 return (ring->nr_slots - ring->used_slots); in free_slots()
137 B43legacy_WARN_ON(!(slot >= -1 && slot <= ring->nr_slots - 1)); in next_slot()
138 if (slot == ring->nr_slots - 1) in next_slot()
145 B43legacy_WARN_ON(!(slot >= 0 && slot <= ring->nr_slots - 1)); in prev_slot()
147 return ring->nr_slots - 1; in prev_slot()
510 for (i = 0; i < ring->nr_slots; i++) { in alloc_initial_descbuffers()
521 ring->used_slots = ring->nr_slots; in alloc_initial_descbuffers()
602 for (i = 0; i < ring->nr_slots; i++) { in free_all_descbuffers()
[all …]
Ddma.h135 int nr_slots; member
/Linux-v4.19/drivers/net/wireless/broadcom/b43/
Ddma.c110 B43_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); in op32_fill_descriptor()
116 if (slot == ring->nr_slots - 1) in op32_fill_descriptor()
202 B43_WARN_ON(!(slot >= 0 && slot < ring->nr_slots)); in op64_fill_descriptor()
208 if (slot == ring->nr_slots - 1) in op64_fill_descriptor()
272 return (ring->nr_slots - ring->used_slots); in free_slots()
277 B43_WARN_ON(!(slot >= -1 && slot <= ring->nr_slots - 1)); in next_slot()
278 if (slot == ring->nr_slots - 1) in next_slot()
285 B43_WARN_ON(!(slot >= 0 && slot <= ring->nr_slots - 1)); in prev_slot()
287 return ring->nr_slots - 1; in prev_slot()
655 for (i = 0; i < ring->nr_slots; i++) { in alloc_initial_descbuffers()
[all …]
Ddma.h241 int nr_slots; member
/Linux-v4.19/drivers/md/
Ddm-switch.c81 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-v4.19/fs/afs/
Ddir_edit.c27 static int afs_find_contig_bits(union afs_xdr_dir_block *block, unsigned int nr_slots) in afs_find_contig_bits() argument
43 mask = (1 << nr_slots) - 1; in afs_find_contig_bits()
56 if (bit > 64 - nr_slots) in afs_find_contig_bits()
73 int bit, unsigned int nr_slots) in afs_set_contig_bits() argument
77 mask = (1 << nr_slots) - 1; in afs_set_contig_bits()
98 int bit, unsigned int nr_slots) in afs_clear_contig_bits() argument
102 mask = (1 << nr_slots) - 1; in afs_clear_contig_bits()
/Linux-v4.19/kernel/events/
Dhw_breakpoint.c63 static int nr_slots[TYPE_MAX]; variable
106 for (i = nr_slots[type] - 1; i >= 0; i--) { in max_task_bp_pinned()
307 if (slots.pinned + (!!slots.flexible) > nr_slots[type]) in __reserve_bp_slot()
680 nr_slots[i] = hw_breakpoint_slots(i); in init_hw_breakpoint()
686 info->tsk_pinned = kcalloc(nr_slots[i], sizeof(int), in init_hw_breakpoint()
/Linux-v4.19/drivers/gpu/host1x/
Ddev.h56 u32 syncpt_incrs, u32 syncval, u32 nr_slots);
292 u32 syncval, u32 nr_slots) in host1x_hw_cdma_timeout_cpu_incr() argument
295 nr_slots); in host1x_hw_cdma_timeout_cpu_incr()
/Linux-v4.19/arch/arm/mach-omap1/
Dboard-h3-mmc.c38 .nr_slots = 1,
Dboard-sx1-mmc.c45 .nr_slots = 1,
Dboard-h2-mmc.c53 .nr_slots = 1,
Dboard-nokia770.c180 .nr_slots = 1,
Dboard-innovator.c352 .nr_slots = 1,
/Linux-v4.19/drivers/mmc/host/
Domap.c163 int nr_slots; member
276 for (i = 0; i < host->nr_slots; i++) { in mmc_omap_release_slot()
862 BUG_ON(num >= host->nr_slots); in omap_mmc_notify_cover_event()
865 if (host->nr_slots == 0 || !host->slots[num]) in omap_mmc_notify_cover_event()
1331 if (pdata->nr_slots == 0) { in mmc_omap_probe()
1421 host->nr_slots = pdata->nr_slots; in mmc_omap_probe()
1430 for (i = 0; i < pdata->nr_slots; i++) { in mmc_omap_probe()
1468 for (i = 0; i < host->nr_slots; i++) in mmc_omap_remove()
Datmel-mci.c2486 unsigned int nr_slots; in atmci_probe() local
2571 nr_slots = 0; in atmci_probe()
2577 nr_slots++; in atmci_probe()
2585 nr_slots++; in atmci_probe()
2592 if (!nr_slots) { in atmci_probe()
2610 host->mapbase, irq, nr_slots); in atmci_probe()
/Linux-v4.19/include/linux/platform_data/
Dmmc-omap.h20 unsigned nr_slots:2; member
/Linux-v4.19/drivers/gpu/host1x/hw/
Dcdma_hw.c40 u32 syncpt_incrs, u32 syncval, u32 nr_slots) in cdma_timeout_cpu_incr() argument
53 while (nr_slots--) { in cdma_timeout_cpu_incr()
/Linux-v4.19/arch/arm/mach-omap2/
Dboard-n8x0.c439 .nr_slots = 0,
506 mmc1_data.nr_slots = 2; in n8x0_mmc_init()
/Linux-v4.19/drivers/pci/hotplug/
Dacpiphp.h59 int nr_slots; member
Dacpiphp_glue.c299 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-v4.19/include/linux/
Dfmc.h178 int nr_slots; /* Number of slots in this carrier */ member
/Linux-v4.19/drivers/fmc/
Dfmc-fakedev.c287 fmc->nr_slots = ff_nr_dev; in ff_dev_create()

12