/fs/ |
D | binfmt_script.c | 19 static inline const char *next_non_spacetab(const char *first, const char *last) in next_non_spacetab() argument 21 for (; first <= last; first++) in next_non_spacetab() 22 if (!spacetab(*first)) in next_non_spacetab() 23 return first; in next_non_spacetab() 26 static inline const char *next_terminator(const char *first, const char *last) in next_terminator() argument 28 for (; first <= last; first++) in next_terminator() 29 if (spacetab(*first) || !*first) in next_terminator() 30 return first; in next_terminator()
|
D | fs_pin.c | 76 p = READ_ONCE(m->mnt_pins.first); in mnt_pin_kill() 90 q = READ_ONCE(p->first); in group_pin_kill()
|
/fs/reiserfs/ |
D | lbalance.c | 312 int first, int cpy_num) in leaf_copy_items_entirely() argument 324 RFALSE(B_NR_ITEMS(src) - first < cpy_num, in leaf_copy_items_entirely() 326 B_NR_ITEMS(src), cpy_num, first); in leaf_copy_items_entirely() 358 memcpy(ih, item_head(src, first), cpy_num * IH_SIZE); in leaf_copy_items_entirely() 385 item_body(src, (first + cpy_num - 1)), in leaf_copy_items_entirely() 815 int first, int del_num); 828 int first, int del_num, int del_bytes) in leaf_delete_items() argument 836 RFALSE(first < 0 in leaf_delete_items() 837 || first + del_num > item_amount, in leaf_delete_items() 839 "no so much items (%d) to delete (only %d)", first, in leaf_delete_items() [all …]
|
D | bitmap.c | 683 static void print_sep(struct seq_file *seq, int *first) in print_sep() argument 685 if (!*first) in print_sep() 688 *first = 0; in print_sep() 693 int first = 1; in show_alloc_options() local 702 print_sep(seq, &first); in show_alloc_options() 710 print_sep(seq, &first); in show_alloc_options() 718 print_sep(seq, &first); in show_alloc_options() 722 print_sep(seq, &first); in show_alloc_options() 726 print_sep(seq, &first); in show_alloc_options() 730 print_sep(seq, &first); in show_alloc_options() [all …]
|
D | prints.c | 442 static int print_internal(struct buffer_head *bh, int first, int last) in print_internal() argument 454 if (first == -1) { in print_internal() 458 from = first; in print_internal() 477 static int print_leaf(struct buffer_head *bh, int print_mode, int first, in print_leaf() argument 504 if (first < 0 || first > nr - 1) in print_leaf() 507 from = first; in print_leaf() 614 int mode, first, last; in print_block() local 624 first = va_arg(args, int); in print_block() 626 if (print_leaf(bh, mode, first, last)) in print_block() 627 if (print_internal(bh, first, last)) in print_block()
|
D | item_ops.c | 80 static int sd_part_size(struct virtual_item *vi, int first, int count) in sd_part_size() argument 172 static int direct_part_size(struct virtual_item *vi, int first, int count) in direct_part_size() argument 314 static int indirect_part_size(struct virtual_item *vi, int first, int units) in indirect_part_size() argument 580 static int direntry_part_size(struct virtual_item *vi, int first, int count) in direntry_part_size() argument 587 if (first == 0) in direntry_part_size() 698 static int errcatch_part_size(struct virtual_item *vi, int first, int count) in errcatch_part_size() argument
|
/fs/smb/client/ |
D | fscache.h | 77 pgoff_t first, unsigned int nr_pages, 82 pgoff_t first, unsigned int nr_pages, in cifs_fscache_query_occupancy() argument 88 return __cifs_fscache_query_occupancy(inode, first, nr_pages, in cifs_fscache_query_occupancy() 128 pgoff_t first, unsigned int nr_pages, in cifs_fscache_query_occupancy() argument
|
/fs/xfs/libxfs/ |
D | xfs_rtbitmap.c | 497 uint first = (uint)((char *)sp - (char *)bp->b_addr); in xfs_rtmodify_summary_int() local 506 xfs_trans_log_buf(tp, bp, first, first + sizeof(*sp) - 1); in xfs_rtmodify_summary_int() 545 xfs_rtword_t *first; /* first used word in the buffer */ in xfs_rtmodify_range() local 567 first = b = &bufp[word]; in xfs_rtmodify_range() 601 (uint)((char *)first - (char *)bufp), in xfs_rtmodify_range() 607 first = b = bufp = bp->b_addr; in xfs_rtmodify_range() 641 (uint)((char *)first - (char *)bufp), in xfs_rtmodify_range() 647 first = b = bufp = bp->b_addr; in xfs_rtmodify_range() 677 if (b > first) in xfs_rtmodify_range() 678 xfs_trans_log_buf(tp, bp, (uint)((char *)first - (char *)bufp), in xfs_rtmodify_range()
|
D | xfs_types.c | 86 xfs_agino_t first; in xfs_verify_agno_agino() local 89 xfs_agino_range(mp, agno, &first, &last); in xfs_verify_agno_agino() 90 return agino >= first && agino <= last; in xfs_verify_agno_agino()
|
/fs/xfs/ |
D | xfs_buf_item.c | 66 void *first, *last; in xfs_buf_item_straddle() local 68 first = xfs_buf_offset(bp, offset + (first_bit << XFS_BLF_SHIFT)); in xfs_buf_item_straddle() 72 if (last - first != nbits * XFS_BLF_CHUNK) in xfs_buf_item_straddle() 855 uint first, in xfs_buf_item_log_segment() argument 869 ASSERT(first < XFS_BLF_DATAMAP_SIZE * XFS_BLF_CHUNK * NBWORD); in xfs_buf_item_log_segment() 875 first_bit = first >> XFS_BLF_SHIFT; in xfs_buf_item_log_segment() 940 uint first, in xfs_buf_item_log() argument 958 if (first > end) { in xfs_buf_item_log() 969 if (first < start) in xfs_buf_item_log() 970 first = start; in xfs_buf_item_log() [all …]
|
/fs/gfs2/ |
D | rgrp.h | 86 u64 first = rgd->rd_data0; in rgrp_contains_block() local 87 u64 last = first + rgd->rd_data; in rgrp_contains_block() 88 return first <= block && block < last; in rgrp_contains_block()
|
D | bmap.c | 427 const __be64 *first = ptr; in gfs2_extent_length() local 439 return ptr - first; in gfs2_extent_length() 796 const __be64 *first, *ptr, *end; in gfs2_alloc_size() local 815 first = metapointer(ip->i_height - 1, mp); in gfs2_alloc_size() 817 if (end - first > size) in gfs2_alloc_size() 818 end = first + size; in gfs2_alloc_size() 819 for (ptr = first; ptr < end; ptr++) { in gfs2_alloc_size() 823 return ptr - first; in gfs2_alloc_size() 1613 __be64 *first, *ptr, *end; in find_nonnull_ptr() local 1615 first = metaptr1(h, mp); in find_nonnull_ptr() [all …]
|
D | sys.c | 457 unsigned first; in lkfirst_store() local 460 rv = sscanf(buf, "%u", &first); in lkfirst_store() 461 if (rv != 1 || first > 1) in lkfirst_store() 475 sdp->sd_lockstruct.ls_first = first; in lkfirst_store() 594 GDLM_ATTR(first, 0644, lkfirst_show, lkfirst_store);
|
/fs/btrfs/ |
D | misc.h | 11 #define in_range(b, first, len) ((b) >= (first) && (b) < (first) + (len)) argument
|
D | free-space-tree.c | 249 u64 first, last; in convert_free_space_to_bitmaps() local 255 first = div_u64(found_key.objectid - start, in convert_free_space_to_bitmaps() 259 le_bitmap_set(bitmap, first, last - first); in convert_free_space_to_bitmaps() 540 unsigned long ptr, first, last; in free_space_set_bits() local 555 first = (*start - found_start) >> fs_info->sectorsize_bits; in free_space_set_bits() 558 extent_buffer_bitmap_set(leaf, ptr, first, last - first); in free_space_set_bits() 560 extent_buffer_bitmap_clear(leaf, ptr, first, last - first); in free_space_set_bits()
|
/fs/nilfs2/ |
D | dat.c | 439 __u64 first, last; in nilfs_dat_get_vinfo() local 451 first = vinfo->vi_vblocknr; in nilfs_dat_get_vinfo() 452 do_div(first, entries_per_block); in nilfs_dat_get_vinfo() 453 first *= entries_per_block; in nilfs_dat_get_vinfo() 454 last = first + entries_per_block - 1; in nilfs_dat_get_vinfo() 456 j < nvi && vinfo->vi_vblocknr >= first && in nilfs_dat_get_vinfo()
|
/fs/befs/ |
D | btree.c | 333 int first, last, mid; in befs_find_key() local 357 first = 0; in befs_find_key() 359 while (last >= first) { in befs_find_key() 360 mid = (last + first) / 2; in befs_find_key() 361 befs_debug(sb, "first: %d, last: %d, mid: %d", first, last, in befs_find_key() 377 first = mid + 1; in befs_find_key()
|
/fs/cramfs/ |
D | README | 25 The order of inode traversal is described as "width-first" (not to be 26 confused with breadth-first); i.e. like depth-first but listing all of 48 same as the start of the (i+1)'th <block> if there is one). The first 63 the compressed data length is included in the first 2 bytes of 68 The order of <file_data>'s is a depth-first descent of the directory 88 is not set then the first 2 bytes of the block contains the size of the
|
/fs/ext4/ |
D | mballoc.c | 542 int first, int count) in mb_free_blocks_double() argument 551 if (!mb_test_bit(first + i, e4b->bd_info->bb_bitmap)) { in mb_free_blocks_double() 555 blocknr += EXT4_C2B(EXT4_SB(sb), first + i); in mb_free_blocks_double() 561 first + i); in mb_free_blocks_double() 565 mb_clear_bit(first + i, e4b->bd_info->bb_bitmap); in mb_free_blocks_double() 569 static void mb_mark_used_double(struct ext4_buddy *e4b, int first, int count) in mb_mark_used_double() argument 577 BUG_ON(mb_test_bit(first + i, e4b->bd_info->bb_bitmap)); in mb_mark_used_double() 578 mb_set_bit(first + i, e4b->bd_info->bb_bitmap); in mb_mark_used_double() 631 struct ext4_buddy *e4b, int first, int count) in mb_free_blocks_double() argument 636 int first, int count) in mb_mark_used_double() argument [all …]
|
D | block_validity.c | 130 int first = 1; in debug_print_tree() local 138 printk(KERN_CONT "%s%llu-%llu", first ? "" : ", ", in debug_print_tree() 140 first = 0; in debug_print_tree()
|
D | indirect.c | 867 unsigned long count, __le32 *first, in ext4_clear_blocks() argument 892 for (p = first; p < last; p++) in ext4_clear_blocks() 923 __le32 *first, __le32 *last) in ext4_free_data() argument 945 for (p = first; p < last; p++) { in ext4_free_data() 1009 __le32 *first, __le32 *last, int depth) in ext4_free_branches() argument 1021 while (--p >= first) { in ext4_free_branches() 1115 ext4_free_data(handle, inode, parent_bh, first, last); in ext4_free_branches()
|
D | move_extent.c | 51 ext4_double_down_write_data_sem(struct inode *first, struct inode *second) in ext4_double_down_write_data_sem() argument 53 if (first < second) { in ext4_double_down_write_data_sem() 54 down_write(&EXT4_I(first)->i_data_sem); in ext4_double_down_write_data_sem() 58 down_write_nested(&EXT4_I(first)->i_data_sem, I_DATA_SEM_OTHER); in ext4_double_down_write_data_sem()
|
/fs/iomap/ |
D | buffered-io.c | 100 unsigned first = poff >> block_bits; in iomap_adjust_read_range() local 112 for (i = first; i <= last; i++) { in iomap_adjust_read_range() 118 first++; in iomap_adjust_read_range() 139 if (first <= end && last > end) in iomap_adjust_read_range() 151 unsigned first = off >> inode->i_blkbits; in iomap_iop_set_range_uptodate() local 156 bitmap_set(iop->uptodate, first, last - first + 1); in iomap_iop_set_range_uptodate() 441 unsigned first, last, i; in iomap_is_partially_uptodate() local 450 first = from >> inode->i_blkbits; in iomap_is_partially_uptodate() 453 for (i = first; i <= last; i++) in iomap_is_partially_uptodate()
|
/fs/efs/ |
D | inode.c | 206 int cur, last, first = 1; in efs_map_block() local 278 if (first || lastblock != iblock) { in efs_map_block() 289 first = 0; in efs_map_block()
|
/fs/unicode/ |
D | mkutf8data.c | 1934 unsigned int first; in age_init() local 2015 &first, &last, &major, &minor); in age_init() 2017 for (unichar = first; unichar <= last; unichar++) in age_init() 2019 count += 1 + last - first; in age_init() 2021 printf(" %X..%X gen %d\n", first, last, gen); in age_init() 2022 if (!utf32valid(first) || !utf32valid(last)) in age_init() 2055 unsigned int first; in ccc_init() local 2071 ret = sscanf(line, "%X..%X ; %d #", &first, &last, &value); in ccc_init() 2073 for (unichar = first; unichar <= last; unichar++) { in ccc_init() 2078 printf(" %X..%X ccc %d\n", first, last, value); in ccc_init() [all …]
|