/kernel/linux/linux-5.10/fs/fat/ |
H A D | dir.c | 281 wchar_t **unicode, unsigned char *nr_slots) in fat_parse_long() 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 in fat_search_long() 279 fat_parse_long(struct inode *dir, loff_t *pos, struct buffer_head **bh, struct msdos_dir_entry **de, wchar_t **unicode, unsigned char *nr_slots) fat_parse_long() argument 561 unsigned char nr_slots; __fat_readdir() local 994 __fat_remove_entries(struct inode *dir, loff_t pos, int nr_slots) __fat_remove_entries() argument 1034 int err = 0, nr_slots; fat_remove_entries() local 1198 fat_add_new_entries(struct inode *dir, void *slots, int nr_slots, int *nr_cluster, struct msdos_dir_entry **de, struct buffer_head **bh, loff_t *i_pos) fat_add_new_entries() argument 1281 fat_add_entries(struct inode *dir, void *slots, int nr_slots, struct fat_slot_info *sinfo) fat_add_entries() argument [all...] |
H A D | namei_vfat.c | 582 struct msdos_dir_slot *slots, int *nr_slots) in vfat_build_slots() 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() 579 vfat_build_slots(struct inode *dir, const unsigned char *name, int len, int is_dir, int cluster, struct timespec64 *ts, struct msdos_dir_slot *slots, int *nr_slots) vfat_build_slots() argument
|
/kernel/linux/linux-6.6/fs/fat/ |
H A D | dir.c | 281 wchar_t **unicode, unsigned char *nr_slots) in fat_parse_long() 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 in fat_search_long() 279 fat_parse_long(struct inode *dir, loff_t *pos, struct buffer_head **bh, struct msdos_dir_entry **de, wchar_t **unicode, unsigned char *nr_slots) fat_parse_long() argument 561 unsigned char nr_slots; __fat_readdir() local 994 __fat_remove_entries(struct inode *dir, loff_t pos, int nr_slots) __fat_remove_entries() argument 1034 int err = 0, nr_slots; fat_remove_entries() local 1198 fat_add_new_entries(struct inode *dir, void *slots, int nr_slots, int *nr_cluster, struct msdos_dir_entry **de, struct buffer_head **bh, loff_t *i_pos) fat_add_new_entries() argument 1281 fat_add_entries(struct inode *dir, void *slots, int nr_slots, struct fat_slot_info *sinfo) fat_add_entries() argument [all...] |
H A D | namei_vfat.c | 582 struct msdos_dir_slot *slots, int *nr_slots) in vfat_build_slots() 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() 579 vfat_build_slots(struct inode *dir, const unsigned char *name, int len, int is_dir, int cluster, struct timespec64 *ts, struct msdos_dir_slot *slots, int *nr_slots) vfat_build_slots() argument
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43legacy/ |
H A 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; in free_all_descbuffers() 631 int nr_slots; b43legacy_setup_dmaring() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43legacy/ |
H A 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() 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 in b43legacy_setup_dmaring() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/ |
H A 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; in alloc_initial_descbuffers() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/ |
H A 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; in alloc_initial_descbuffers() [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | pipe.c | 1247 * occupancy doesn't exceed nr_slots; if it does, EBUSY will be 1250 int pipe_resize_ring(struct pipe_inode_info *pipe, unsigned int nr_slots) in pipe_resize_ring() argument 1255 bufs = kcalloc(nr_slots, sizeof(*bufs), in pipe_resize_ring() 1266 if (nr_slots < n) { in pipe_resize_ring() 1297 pipe->ring_size = nr_slots; in pipe_resize_ring() 1298 if (pipe->max_usage > nr_slots) in pipe_resize_ring() 1299 pipe->max_usage = nr_slots; in pipe_resize_ring() 1304 pipe->max_usage = nr_slots; in pipe_resize_ring() 1305 pipe->nr_accounted = nr_slots; in pipe_resize_ring() 1322 unsigned int nr_slots, siz in pipe_set_size() local [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | pipe.c | 1252 * occupancy doesn't exceed nr_slots; if it does, EBUSY will be 1255 int pipe_resize_ring(struct pipe_inode_info *pipe, unsigned int nr_slots) in pipe_resize_ring() argument 1260 bufs = kcalloc(nr_slots, sizeof(*bufs), in pipe_resize_ring() 1271 if (nr_slots < n) { in pipe_resize_ring() 1302 pipe->ring_size = nr_slots; in pipe_resize_ring() 1303 if (pipe->max_usage > nr_slots) in pipe_resize_ring() 1304 pipe->max_usage = nr_slots; in pipe_resize_ring() 1309 pipe->max_usage = nr_slots; in pipe_resize_ring() 1310 pipe->nr_accounted = nr_slots; in pipe_resize_ring() 1327 unsigned int nr_slots, siz in pipe_set_size() local [all...] |
/kernel/linux/linux-5.10/fs/afs/ |
H A D | dir_edit.c | 21 * slot. nr_slots is between 1 and 9. 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() 73 mask = (1 << nr_slots) - 1; in afs_set_contig_bits() 90 int bit, unsigned int nr_slots) in afs_clear_contig_bits() 94 mask = (1 << nr_slots) - 1; in afs_clear_contig_bits() 68 afs_set_contig_bits(union afs_xdr_dir_block *block, int bit, unsigned int nr_slots) afs_set_contig_bits() argument 89 afs_clear_contig_bits(union afs_xdr_dir_block *block, int bit, unsigned int nr_slots) afs_clear_contig_bits() argument
|
/kernel/linux/linux-6.6/fs/afs/ |
H A D | dir_edit.c | 21 * slot. nr_slots is between 1 and 9. 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() 73 mask = (1 << nr_slots) - 1; in afs_set_contig_bits() 90 int bit, unsigned int nr_slots) in afs_clear_contig_bits() 94 mask = (1 << nr_slots) - 1; in afs_clear_contig_bits() 68 afs_set_contig_bits(union afs_xdr_dir_block *block, int bit, unsigned int nr_slots) afs_set_contig_bits() argument 89 afs_clear_contig_bits(union afs_xdr_dir_block *block, int bit, unsigned int nr_slots) afs_clear_contig_bits() argument
|
/kernel/linux/linux-5.10/drivers/md/ |
H A 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()
|
/kernel/linux/linux-5.10/kernel/dma/ |
H A D | swiotlb.c | 181 static inline unsigned long nr_slots(u64 val) in nr_slots() function 475 return nr_slots(boundary_mask + 1); in get_max_slots() 498 unsigned int nslots = nr_slots(alloc_size), stride; in find_slots() 531 nr_slots(tbl_dma_addr), in find_slots() 599 for (i = 0; i < nr_slots(alloc_size + offset); i++) in swiotlb_tbl_map_single() 623 int i, count, nslots = nr_slots(alloc_size + offset); in swiotlb_tbl_unmap_single()
|
/kernel/linux/linux-6.6/drivers/md/ |
H 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()
|
/kernel/linux/linux-5.10/kernel/events/ |
H A 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() 304 if (slots.pinned + (!!slots.flexible) > nr_slots[type]) in __reserve_bp_slot() 683 nr_slots[i] = hw_breakpoint_slots(i); in init_hw_breakpoint() 689 info->tsk_pinned = kcalloc(nr_slots[i], sizeof(int), in init_hw_breakpoint()
|
/kernel/linux/linux-5.10/drivers/gpu/host1x/ |
H A D | dev.h | 45 u32 syncpt_incrs, u32 syncval, u32 nr_slots); 292 u32 syncval, u32 nr_slots) in host1x_hw_cdma_timeout_cpu_incr() 295 nr_slots); in host1x_hw_cdma_timeout_cpu_incr() 288 host1x_hw_cdma_timeout_cpu_incr(struct host1x *host, struct host1x_cdma *cdma, u32 getptr, u32 syncpt_incrs, u32 syncval, u32 nr_slots) host1x_hw_cdma_timeout_cpu_incr() argument
|
/kernel/linux/linux-6.6/drivers/gpu/host1x/ |
H 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() 314 nr_slots); in host1x_hw_cdma_timeout_cpu_incr() 307 host1x_hw_cdma_timeout_cpu_incr(struct host1x *host, struct host1x_cdma *cdma, u32 getptr, u32 syncpt_incrs, u32 syncval, u32 nr_slots) host1x_hw_cdma_timeout_cpu_incr() argument
|
/kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
H A D | board-sx1-mmc.c | 42 .nr_slots = 1,
|
H A D | board-h3-mmc.c | 35 .nr_slots = 1,
|
H A D | board-h2-mmc.c | 50 .nr_slots = 1,
|
/kernel/linux/linux-6.6/arch/arm/mach-omap1/ |
H A D | board-sx1-mmc.c | 40 .nr_slots = 1,
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
H A D | mmc-omap.h | 17 unsigned nr_slots:2; member
|
/kernel/linux/linux-6.6/include/linux/platform_data/ |
H A D | mmc-omap.h | 17 unsigned nr_slots:2; member
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | board-n8x0.c | 436 .nr_slots = 0, 503 mmc1_data.nr_slots = 2; in n8x0_mmc_init()
|