Home
last modified time | relevance | path

Searched refs:first (Results 1 – 25 of 120) sorted by relevance

12345

/fs/
A Dbinfmt_script.c19 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()
A Dfs_pin.c76 p = READ_ONCE(m->mnt_pins.first); in mnt_pin_kill()
90 q = READ_ONCE(p->first); in group_pin_kill()
/fs/nilfs2/
A Ddat.c440 __u64 first, last; in nilfs_dat_get_vinfo() local
452 first = vinfo->vi_vblocknr; in nilfs_dat_get_vinfo()
453 first = div64_ul(first, entries_per_block); in nilfs_dat_get_vinfo()
454 first *= entries_per_block; in nilfs_dat_get_vinfo()
457 last = first + entries_per_block - 1; in nilfs_dat_get_vinfo()
460 offset = nilfs_palloc_entry_offset(dat, first, entry_bh); in nilfs_dat_get_vinfo()
463 j < nvi && vinfo->vi_vblocknr >= first && in nilfs_dat_get_vinfo()
467 (vinfo->vi_vblocknr - first) * entry_size; in nilfs_dat_get_vinfo()
/fs/bcachefs/
A Dprintbuf.c495 bool first = true; in bch2_prt_bitflags() local
501 if (!first) in bch2_prt_bitflags()
503 first = false; in bch2_prt_bitflags()
513 bool first = true; in bch2_prt_bitflags_vector() local
523 if (!first) in bch2_prt_bitflags_vector()
525 first = false; in bch2_prt_bitflags_vector()
A Dmovinggc.c32 struct move_bucket *first; member
49 if (!list->first) in move_bucket_in_flight_add()
50 list->first = b; in move_bucket_in_flight_add()
113 while ((i = list->first)) { in move_buckets_wait()
120 list->first = i->next; in move_buckets_wait()
121 if (!list->first) in move_buckets_wait()
A Dreplicas.c129 bool first = true; in bch2_cpu_replicas_to_text() local
132 if (!first) in bch2_cpu_replicas_to_text()
134 first = false; in bch2_cpu_replicas_to_text()
750 bool first = true; in bch2_sb_replicas_to_text() local
753 if (!first) in bch2_sb_replicas_to_text()
755 first = false; in bch2_sb_replicas_to_text()
789 bool first = true; in bch2_sb_replicas_v0_to_text() local
792 if (!first) in bch2_sb_replicas_v0_to_text()
794 first = false; in bch2_sb_replicas_v0_to_text()
/fs/gfs2/
A Drgrp.h87 u64 first = rgd->rd_data0; in rgrp_contains_block() local
88 u64 last = first + rgd->rd_data; in rgrp_contains_block()
89 return first <= block && block < last; in rgrp_contains_block()
A Dbmap.c430 const __be64 *first = ptr; in gfs2_extent_length() local
442 return ptr - first; in gfs2_extent_length()
820 if (end - first > size) in gfs2_alloc_size()
821 end = first + size; in gfs2_alloc_size()
826 return ptr - first; in gfs2_alloc_size()
1636 __be64 *first, *ptr, *end; in find_nonnull_ptr() local
1638 first = metaptr1(h, mp); in find_nonnull_ptr()
1639 ptr = first + mp->mp_list[h]; in find_nonnull_ptr()
1673 __be64 *first; in metapointer_range() local
1675 first = metaptr1(height, mp); in metapointer_range()
[all …]
A Dsys.c467 unsigned first; in lkfirst_store() local
470 rv = sscanf(buf, "%u", &first); in lkfirst_store()
471 if (rv != 1 || first > 1) in lkfirst_store()
485 sdp->sd_lockstruct.ls_first = first; in lkfirst_store()
604 GDLM_ATTR(first, 0644, lkfirst_show, lkfirst_store);
/fs/xfs/
A Dxfs_buf_item.c925 uint first, in xfs_buf_item_log_segment() argument
939 ASSERT(first < XFS_BLF_DATAMAP_SIZE * XFS_BLF_CHUNK * NBWORD); in xfs_buf_item_log_segment()
945 first_bit = first >> XFS_BLF_SHIFT; in xfs_buf_item_log_segment()
1010 uint first, in xfs_buf_item_log() argument
1028 if (first > end) { in xfs_buf_item_log()
1039 if (first < start) in xfs_buf_item_log()
1040 first = start; in xfs_buf_item_log()
1043 xfs_buf_item_log_segment(first - start, end - start, in xfs_buf_item_log()
/fs/befs/
A Dbtree.c333 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/xfs/libxfs/
A Dxfs_types.c88 xfs_agino_t first; in xfs_verify_agno_agino() local
91 xfs_agino_range(mp, agno, &first, &last); in xfs_verify_agno_agino()
92 return agino >= first && agino <= last; in xfs_verify_agno_agino()
A Dxfs_rtbitmap.c573 size_t first, last; in xfs_trans_log_rtsummary() local
575 first = (void *)xfs_rsumblock_infoptr(args, infoword) - bp->b_addr; in xfs_trans_log_rtsummary()
576 last = first + sizeof(xfs_suminfo_t) - 1; in xfs_trans_log_rtsummary()
578 xfs_trans_log_buf(args->tp, bp, first, last); in xfs_trans_log_rtsummary()
646 size_t first, last; in xfs_trans_log_rtbitmap() local
648 first = (void *)xfs_rbmblock_wordptr(args, from) - bp->b_addr; in xfs_trans_log_rtbitmap()
651 xfs_trans_log_buf(args->tp, bp, first, last); in xfs_trans_log_rtbitmap()
/fs/cramfs/
A DREADME25 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/
A Dmballoc.c822 first += chunk; in ext4_mb_mark_free_simple()
1272 first = i; in ext4_mb_generate_buddy()
1274 len = i - first; in ext4_mb_generate_buddy()
1948 if (first & 1) in mb_buddy_mark_free()
1952 if (first > last) in mb_buddy_mark_free()
1958 mb_clear_bits(buddy, first, last - first + 1); in mb_buddy_mark_free()
1962 first >>= 1; in mb_buddy_mark_free()
1991 if (first != 0) in mb_free_blocks()
2038 if (first & 1) { in mb_free_blocks()
2047 if (first <= last) in mb_free_blocks()
[all …]
A Dindirect.c860 unsigned long count, __le32 *first, in ext4_clear_blocks() argument
885 for (p = first; p < last; p++) in ext4_clear_blocks()
916 __le32 *first, __le32 *last) in ext4_free_data() argument
938 for (p = first; p < last; p++) { in ext4_free_data()
1002 __le32 *first, __le32 *last, int depth) in ext4_free_branches() argument
1014 while (--p >= first) { in ext4_free_branches()
1108 ext4_free_data(handle, inode, parent_bh, first, last); in ext4_free_branches()
A Dblock_validity.c130 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()
A Dmove_extent.c47 ext4_double_down_write_data_sem(struct inode *first, struct inode *second) in ext4_double_down_write_data_sem() argument
49 if (first < second) { in ext4_double_down_write_data_sem()
50 down_write(&EXT4_I(first)->i_data_sem); in ext4_double_down_write_data_sem()
54 down_write_nested(&EXT4_I(first)->i_data_sem, I_DATA_SEM_OTHER); in ext4_double_down_write_data_sem()
A Dextents_status.c2233 ext4_lblk_t first, last; in __revise_pending() local
2255 first = EXT4_LBLK_CMASK(sbi, lblk); in __revise_pending()
2256 if (first != lblk) in __revise_pending()
2258 first, lblk - 1); in __revise_pending()
2260 ret = __insert_pending(inode, first, prealloc); in __revise_pending()
2280 first = EXT4_LBLK_CMASK(sbi, lblk); in __revise_pending()
2281 if (first != lblk) in __revise_pending()
2283 first, lblk - 1); in __revise_pending()
2285 ret = __insert_pending(inode, first, prealloc); in __revise_pending()
2290 __remove_pending(inode, first); in __revise_pending()
A Dxattr.c1080 struct ext4_xattr_entry *first) in ext4_xattr_inode_inc_ref_all() argument
1088 for (entry = first; !IS_LAST_ENTRY(entry); in ext4_xattr_inode_inc_ref_all()
1656 last = s->first; in ext4_xattr_set_entry()
1735 last = s->first; in ext4_xattr_set_entry()
1874 bs->s.first = BFIRST(bs->bh); in ext4_xattr_block_find()
1876 bs->s.here = bs->s.first; in ext4_xattr_block_find()
1972 s->first = ENTRY(header(s->base)+1); in ext4_xattr_block_set()
2015 s->first = ENTRY(header(s->base)+1); in ext4_xattr_block_set()
2028 if (!IS_LAST_ENTRY(s->first)) { in ext4_xattr_block_set()
2229 is->s.here = is->s.first; in ext4_xattr_ibody_find()
[all …]
/fs/efs/
A Dinode.c205 int cur, last, first = 1; in efs_map_block() local
277 if (first || lastblock != iblock) { in efs_map_block()
288 first = 0; in efs_map_block()
/fs/unicode/
A Dmkutf8data.c1934 unsigned int first; in age_init() local
2015 &first, &last, &major, &minor); 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
2078 printf(" %X..%X ccc %d\n", first, last, value); in ccc_init()
2079 if (!utf32valid(first) || !utf32valid(last)) in ccc_init()
2237 unsigned int first; in ignore_init() local
2255 if (!utf32valid(first) || !utf32valid(last)) in ignore_init()
[all …]
/fs/btrfs/
A Dfree-space-tree.c253 u64 first, last; in btrfs_convert_free_space_to_bitmaps() local
259 first = div_u64(found_key.objectid - start, in btrfs_convert_free_space_to_bitmaps()
263 le_bitmap_set(bitmap, first, last - first); in btrfs_convert_free_space_to_bitmaps()
552 unsigned long ptr, first, last; in free_space_modify_bits() local
567 first = (*start - found_start) >> fs_info->sectorsize_bits; in free_space_modify_bits()
570 extent_buffer_bitmap_set(leaf, ptr, first, last - first); in free_space_modify_bits()
572 extent_buffer_bitmap_clear(leaf, ptr, first, last - first); in free_space_modify_bits()
/fs/resctrl/
A Dinternal.h114 bool first; member
349 cpumask_t *cpumask, int evtid, int first);
/fs/netfs/
A Dfscache_io.c176 pgoff_t first = start / PAGE_SIZE; in __fscache_clear_page_bits() local
181 XA_STATE(xas, &mapping->i_pages, first); in __fscache_clear_page_bits()

Completed in 68 milliseconds

12345