Home
last modified time | relevance | path

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

12

/openbmc/linux/fs/fat/
H A Ddir.c335 *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 …]
H A Dnamei_vfat.c582 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()
H A Dfat.h136 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,
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/
H A Ddma.c65 if (slot == ring->nr_slots - 1) in op32_fill_descriptor()
125 if (slot == ring->nr_slots - 1) in next_slot()
476 for (i = 0; i < ring->nr_slots; i++) { in alloc_initial_descbuffers()
487 ring->used_slots = ring->nr_slots; in alloc_initial_descbuffers()
568 for (i = 0; i < ring->nr_slots; i++) { in free_all_descbuffers()
610 int nr_slots; in b43legacy_setup_dmaring() local
619 nr_slots = B43legacy_RXRING_SLOTS; in b43legacy_setup_dmaring()
621 nr_slots = B43legacy_TXRING_SLOTS; in b43legacy_setup_dmaring()
664 ring->nr_slots = nr_slots; in b43legacy_setup_dmaring()
715 ring->nr_slots); in b43legacy_destroy_dmaring()
[all …]
H A Ddma.h135 int nr_slots; member
/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Ddma.c103 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 …]
H A Ddma.h241 int nr_slots; member
/openbmc/linux/fs/
H A Dpipe.c1278 if (nr_slots < n) { in pipe_resize_ring()
1309 pipe->ring_size = nr_slots; in pipe_resize_ring()
1310 if (pipe->max_usage > nr_slots) in pipe_resize_ring()
1311 pipe->max_usage = nr_slots; in pipe_resize_ring()
1316 pipe->max_usage = nr_slots; in pipe_resize_ring()
1317 pipe->nr_accounted = nr_slots; in pipe_resize_ring()
1334 unsigned int nr_slots, size; in pipe_set_size() local
1341 nr_slots = size >> PAGE_SHIFT; in pipe_set_size()
1343 if (!nr_slots) in pipe_set_size()
1353 if (nr_slots > pipe->max_usage && in pipe_set_size()
[all …]
/openbmc/linux/fs/afs/
H A Ddir_edit.c23 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()
/openbmc/linux/drivers/md/
H A 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()
/openbmc/linux/arch/arm/mach-omap1/
H A Dboard-sx1-mmc.c40 .nr_slots = 1,
H A Dboard-palmte.c194 .nr_slots = 1,
H A Dboard-nokia770.c201 .nr_slots = 1,
/openbmc/linux/drivers/gpu/host1x/
H A Ddev.h46 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()
/openbmc/linux/include/linux/platform_data/
H A Dmmc-omap.h17 unsigned nr_slots:2; member
/openbmc/linux/drivers/mmc/host/
H A Domap.c166 int nr_slots; member
284 for (i = 0; i < host->nr_slots; i++) { in mmc_omap_release_slot()
873 BUG_ON(num >= host->nr_slots); in omap_mmc_notify_cover_event()
876 if (host->nr_slots == 0 || !host->slots[num]) in omap_mmc_notify_cover_event()
1384 if (pdata->nr_slots == 0) { in mmc_omap_probe()
1480 host->nr_slots = pdata->nr_slots; in mmc_omap_probe()
1489 for (i = 0; i < pdata->nr_slots; i++) { in mmc_omap_probe()
1530 for (i = 0; i < host->nr_slots; i++) in mmc_omap_remove()
/openbmc/linux/arch/arm/mach-omap2/
H A Dboard-n8x0.c383 .nr_slots = 0,
431 mmc1_data.nr_slots = 2; in n8x0_mmc_init()
/openbmc/qemu/include/sysemu/
H A Dkvm_int.h73 int nr_slots; member
/openbmc/linux/drivers/pci/hotplug/
H A Dacpiphp.h63 int nr_slots; member
H A Dacpiphp_glue.c308 bridge->nr_slots++; in acpiphp_add_context()
311 sun = bridge->nr_slots; in acpiphp_add_context()
319 bridge->nr_slots--; in acpiphp_add_context()
/openbmc/linux/drivers/net/xen-netback/
H A Dnetback.c389 unsigned int nr_slots; in xenvif_get_requests() local
394 nr_slots = shinfo->nr_frags + frag_overflow + 1; in xenvif_get_requests()
449 nr_slots--; in xenvif_get_requests()
460 for (shinfo->nr_frags = 0; nr_slots > 0 && shinfo->nr_frags < MAX_SKB_FRAGS; in xenvif_get_requests()
461 nr_slots--) { in xenvif_get_requests()
482 if (nr_slots > 0) { in xenvif_get_requests()
487 for (shinfo->nr_frags = 0; shinfo->nr_frags < nr_slots; ++txp) { in xenvif_get_requests()
/openbmc/linux/kernel/dma/
H A Dswiotlb.c244 static inline unsigned long nr_slots(u64 val) in nr_slots() function
985 unsigned int nslots = nr_slots(alloc_size), stride; in swiotlb_area_find_slots()
1038 nr_slots(tbl_dma_addr), in swiotlb_area_find_slots()
1153 nslabs = nr_slots(alloc_size); in swiotlb_find_slots()
1317 for (i = 0; i < nr_slots(alloc_size + offset); i++) in swiotlb_tbl_map_single()
1337 int nslots = nr_slots(mem->slots[index].alloc_size + offset); in swiotlb_release_slots()
/openbmc/linux/include/linux/
H A Dpipe_fs_i.h287 int pipe_resize_ring(struct pipe_inode_info *pipe, unsigned int nr_slots);
/openbmc/qemu/accel/kvm/
H A Dkvm-all.c180 return s->nr_slots; in kvm_get_max_memslots()
198 return s->nr_slots - used_slots; in kvm_get_free_memslots()
207 for (i = 0; i < s->nr_slots; i++) { in kvm_get_free_slot()
236 for (i = 0; i < s->nr_slots; i++) { in kvm_lookup_matching_slot()
278 for (i = 0; i < s->nr_slots; i++) { in kvm_physical_memory_addr_from_host()
1011 for (i = 0; i < s->nr_slots; i++) { in kvm_physical_log_clear()
1611 for (i = 0; i < s->nr_slots; i++) { in kvm_log_sync_global()
1726 kml->slots = g_new0(KVMSlot, s->nr_slots); in kvm_memory_listener_register()
1729 for (i = 0; i < s->nr_slots; i++) { in kvm_memory_listener_register()
2389 if (!s->nr_slots) { in kvm_init()
[all …]
/openbmc/linux/drivers/gpu/host1x/hw/
H A Dcdma_hw.c29 u32 syncpt_incrs, u32 syncval, u32 nr_slots) in cdma_timeout_cpu_incr() argument

12