Searched refs:nr_slots (Results 1 – 5 of 5) sorted by relevance
/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,
|
/fs/ |
D | pipe.c | 1251 int pipe_resize_ring(struct pipe_inode_info *pipe, unsigned int nr_slots) in pipe_resize_ring() argument 1256 bufs = kcalloc(nr_slots, sizeof(*bufs), in pipe_resize_ring() 1267 if (nr_slots < n) { in pipe_resize_ring() 1298 pipe->ring_size = nr_slots; in pipe_resize_ring() 1299 if (pipe->max_usage > nr_slots) in pipe_resize_ring() 1300 pipe->max_usage = nr_slots; in pipe_resize_ring() 1305 pipe->max_usage = nr_slots; in pipe_resize_ring() 1306 pipe->nr_accounted = nr_slots; in pipe_resize_ring() 1323 unsigned int nr_slots, size; in pipe_set_size() local 1330 nr_slots = size >> PAGE_SHIFT; in pipe_set_size() [all …]
|
/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() 90 int bit, unsigned int nr_slots) in afs_clear_contig_bits() argument 94 mask = (1 << nr_slots) - 1; in afs_clear_contig_bits()
|