Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 74) sorted by relevance

123

/fs/btrfs/
Dprint-tree.c48 void btrfs_print_leaf(struct btrfs_root *root, struct extent_buffer *l) in btrfs_print_leaf() argument
51 u32 nr = btrfs_header_nritems(l); in btrfs_print_leaf()
66 (unsigned long long)btrfs_header_bytenr(l), nr, in btrfs_print_leaf()
67 btrfs_leaf_free_space(root, l)); in btrfs_print_leaf()
69 item = btrfs_item_nr(l, i); in btrfs_print_leaf()
70 btrfs_item_key_to_cpu(l, &key, i); in btrfs_print_leaf()
77 btrfs_item_offset(l, item), btrfs_item_size(l, item)); in btrfs_print_leaf()
80 ii = btrfs_item_ptr(l, i, struct btrfs_inode_item); in btrfs_print_leaf()
84 btrfs_inode_generation(l, ii), in btrfs_print_leaf()
85 (unsigned long long)btrfs_inode_size(l, ii), in btrfs_print_leaf()
[all …]
Dinode-map.c27 struct extent_buffer *l; in btrfs_find_highest_inode() local
44 l = path->nodes[0]; in btrfs_find_highest_inode()
45 btrfs_item_key_to_cpu(l, &found_key, slot); in btrfs_find_highest_inode()
69 struct extent_buffer *l; in btrfs_find_free_objectid() local
93 l = path->nodes[0]; in btrfs_find_free_objectid()
95 if (slot >= btrfs_header_nritems(l)) { in btrfs_find_free_objectid()
110 btrfs_item_key_to_cpu(l, &key, slot); in btrfs_find_free_objectid()
Droot-tree.c82 struct extent_buffer *l; in btrfs_find_last_root() local
97 l = path->nodes[0]; in btrfs_find_last_root()
100 btrfs_item_key_to_cpu(l, &found_key, slot); in btrfs_find_last_root()
105 read_extent_buffer(l, item, btrfs_item_ptr_offset(l, slot), in btrfs_find_last_root()
122 struct extent_buffer *l; in btrfs_update_root() local
141 l = path->nodes[0]; in btrfs_update_root()
143 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root()
144 write_extent_buffer(l, item, ptr, sizeof(*item)); in btrfs_update_root()
/fs/hfsplus/
Dbnode.c24 int l; in hfs_bnode_read() local
30 l = min(len, (int)PAGE_CACHE_SIZE - off); in hfs_bnode_read()
31 memcpy(buf, kmap(*pagep) + off, l); in hfs_bnode_read()
34 while ((len -= l) != 0) { in hfs_bnode_read()
35 buf += l; in hfs_bnode_read()
36 l = min(len, (int)PAGE_CACHE_SIZE); in hfs_bnode_read()
37 memcpy(buf, kmap(*++pagep), l); in hfs_bnode_read()
76 int l; in hfs_bnode_write() local
82 l = min(len, (int)PAGE_CACHE_SIZE - off); in hfs_bnode_write()
83 memcpy(kmap(*pagep) + off, buf, l); in hfs_bnode_write()
[all …]
/fs/nls/
Dnls_euc-jp.c17 #define IS_SJIS_LOW_BYTE(l) ((0x40 <= (l)) && ((l) <= 0xFC) && ((l) != 0x7F)) argument
19 #define IS_SJIS_JISX0208(h, l) ((((0x81 <= (h)) && ((h) <= 0x9F)) \ argument
21 && IS_SJIS_LOW_BYTE(l))
23 #define IS_SJIS_UDC_LOW(h, l) (((0xF0 <= (h)) && ((h) <= 0xF4)) \ argument
24 && IS_SJIS_LOW_BYTE(l))
25 #define IS_SJIS_UDC_HI(h, l) (((0xF5 <= (h)) && ((h) <= 0xF9)) \ argument
26 && IS_SJIS_LOW_BYTE(l))
27 #define IS_SJIS_IBM(h, l) (((0xFA <= (h)) && ((h) <= 0xFC)) \ argument
28 && IS_SJIS_LOW_BYTE(l))
29 #define IS_SJIS_NECIBM(h, l) (((0xED <= (h)) && ((h) <= 0xEE)) \ argument
[all …]
Dnls_base.c49 long l; in utf8_mbtowc() local
55 l = c0; in utf8_mbtowc()
59 l &= t->lmask; in utf8_mbtowc()
60 if (l < t->lval) in utf8_mbtowc()
62 *p = l; in utf8_mbtowc()
71 l = (l << 6) | c; in utf8_mbtowc()
108 long l; in utf8_wctomb() local
115 l = wc; in utf8_wctomb()
119 if (l <= t->lmask) { in utf8_wctomb()
121 *s = t->cval | (l >> c); in utf8_wctomb()
[all …]
/fs/
Dmbcache.c203 struct list_head *l, *ltmp; in mb_cache_shrink_fn() local
207 list_for_each(l, &mb_cache_list) { in mb_cache_shrink_fn()
209 list_entry(l, struct mb_cache, c_cache_list); in mb_cache_shrink_fn()
227 list_for_each_safe(l, ltmp, &free_list) { in mb_cache_shrink_fn()
228 __mb_cache_entry_forget(list_entry(l, struct mb_cache_entry, in mb_cache_shrink_fn()
328 struct list_head *l, *ltmp; in mb_cache_shrink() local
331 list_for_each_safe(l, ltmp, &mb_cache_lru_list) { in mb_cache_shrink()
333 list_entry(l, struct mb_cache_entry, e_lru_list); in mb_cache_shrink()
340 list_for_each_safe(l, ltmp, &free_list) { in mb_cache_shrink()
341 __mb_cache_entry_forget(list_entry(l, struct mb_cache_entry, in mb_cache_shrink()
[all …]
Dlocks.c311 struct flock *l) in flock_to_posix_lock() argument
315 switch (l->l_whence) { in flock_to_posix_lock()
331 start += l->l_start; in flock_to_posix_lock()
335 if (l->l_len > 0) { in flock_to_posix_lock()
336 end = start + l->l_len - 1; in flock_to_posix_lock()
338 } else if (l->l_len < 0) { in flock_to_posix_lock()
341 start += l->l_len; in flock_to_posix_lock()
356 return assign_type(fl, l->l_type); in flock_to_posix_lock()
361 struct flock64 *l) in flock64_to_posix_lock() argument
365 switch (l->l_whence) { in flock64_to_posix_lock()
[all …]
/fs/hpfs/
Dname.c26 int l = strlen(text_postfix[i]); in hpfs_decide_conv() local
27 if (l <= len) in hpfs_decide_conv()
28 if (!hpfs_compare_names(inode->i_sb, text_postfix[i], l, name + len - l, l, 0)) in hpfs_decide_conv()
32 int l = strlen(text_prefix[i]); in hpfs_decide_conv() local
33 if (l <= len) in hpfs_decide_conv()
34 if (!hpfs_compare_names(inode->i_sb, text_prefix[i], l, name, l, 0)) in hpfs_decide_conv()
109 unsigned l = l1 < l2 ? l1 : l2; in hpfs_compare_names() local
112 for (i = 0; i < l; i++) { in hpfs_compare_names()
Ddentry.c19 unsigned l = qstr->len; in hpfs_hash_dentry() local
21 if (l == 1) if (qstr->name[0]=='.') goto x; in hpfs_hash_dentry()
22 if (l == 2) if (qstr->name[0]=='.' || qstr->name[1]=='.') goto x; in hpfs_hash_dentry()
23 hpfs_adjust_length((char *)qstr->name, &l); in hpfs_hash_dentry()
30 for (i = 0; i < l; i++) in hpfs_hash_dentry()
Danode.c338 unsigned l; in hpfs_ea_read() local
347 l = 0x200 - (pos & 0x1ff); if (l > len) l = len; in hpfs_ea_read()
348 memcpy(buf, data + (pos & 0x1ff), l); in hpfs_ea_read()
350 buf += l; pos += l; len -= l; in hpfs_ea_read()
361 unsigned l; in hpfs_ea_write() local
370 l = 0x200 - (pos & 0x1ff); if (l > len) l = len; in hpfs_ea_write()
371 memcpy(data + (pos & 0x1ff), buf, l); in hpfs_ea_write()
374 buf += l; pos += l; len -= l; in hpfs_ea_write()
/fs/partitions/
Dmsdos.c251 struct bsd_disklabel *l; in parse_bsd() local
254 l = (struct bsd_disklabel *)read_dev_sector(bdev, offset+1, &sect); in parse_bsd()
255 if (!l) in parse_bsd()
257 if (le32_to_cpu(l->d_magic) != BSD_DISKMAGIC) { in parse_bsd()
263 if (le16_to_cpu(l->d_npartitions) < max_partitions) in parse_bsd()
264 max_partitions = le16_to_cpu(l->d_npartitions); in parse_bsd()
265 for (p = l->d_partitions; p - l->d_partitions < max_partitions; p++) { in parse_bsd()
284 if (le16_to_cpu(l->d_npartitions) > max_partitions) in parse_bsd()
286 le16_to_cpu(l->d_npartitions) - max_partitions); in parse_bsd()
331 struct unixware_disklabel *l; in parse_unixware() local
[all …]
Dmac.c98 int i, l; in mac_partition() local
101 l = strlen(part->name); in mac_partition()
104 for (i = 0; i <= l - 4; ++i) { in mac_partition()
/fs/udf/
Dpartition.c159 int i, j, k, l; in udf_relocate_blocks() local
223 for (l = k; l < reallocationTableLen; l++) { in udf_relocate_blocks()
224 struct sparingEntry *entry = &st->mapEntry[l]; in udf_relocate_blocks()
236 mapEntry = st->mapEntry[l]; in udf_relocate_blocks()
241 (l - k) * in udf_relocate_blocks()
/fs/9p/
Dfid.c111 int i, n, l, clone, any, access; in v9fs_fid_lookup() local
183 l = min(n - i, P9_MAXWELEM); in v9fs_fid_lookup()
184 fid = p9_client_walk(fid, l, &wnames[i], clone); in v9fs_fid_lookup()
190 i += l; in v9fs_fid_lookup()
/fs/ufs/
Dnamei.c128 unsigned l = strlen(symname)+1; in ufs_symlink() local
131 if (l > sb->s_blocksize) in ufs_symlink()
140 if (l > UFS_SB(sb)->s_uspi->s_maxsymlinklen) { in ufs_symlink()
144 err = page_symlink(inode, symname, l); in ufs_symlink()
150 memcpy((char*)&UFS_I(inode)->i_u1.i_data,symname,l); in ufs_symlink()
151 inode->i_size = l-1; in ufs_symlink()
/fs/ext2/
Dnamei.c140 unsigned l = strlen(symname)+1; in ext2_symlink() local
143 if (l > sb->s_blocksize) in ext2_symlink()
151 if (l > sizeof (EXT2_I(inode)->i_data)) { in ext2_symlink()
158 err = page_symlink(inode, symname, l); in ext2_symlink()
164 memcpy((char*)(EXT2_I(inode)->i_data),symname,l); in ext2_symlink()
165 inode->i_size = l-1; in ext2_symlink()
/fs/dlm/
Dmemory.h22 void dlm_free_lkb(struct dlm_lkb *l);
24 void dlm_free_lvb(char *l);
/fs/cifs/
Dsmbdes.c201 char l[32], r[32]; in dohash() local
237 l[j] = pd1[j]; in dohash()
285 xor(r2, l, pcb, 32); in dohash()
288 l[j] = r[j]; in dohash()
296 concat(rl, r, l, 32, 32); in dohash()
/fs/xfs/
Dxfs_rtalloc.h143 # define xfs_rtallocate_extent(t,b,min,max,l,a,f,p,rb) (ENOSYS) argument
144 # define xfs_rtfree_extent(t,b,l) (ENOSYS) argument
145 # define xfs_rtpick_extent(m,t,l,rb) (ENOSYS) argument
Dxfs_btree.c72 block->bb_u.l.bb_leftsib && in xfs_btree_check_lblock()
73 (be64_to_cpu(block->bb_u.l.bb_leftsib) == NULLDFSBNO || in xfs_btree_check_lblock()
75 be64_to_cpu(block->bb_u.l.bb_leftsib))) && in xfs_btree_check_lblock()
76 block->bb_u.l.bb_rightsib && in xfs_btree_check_lblock()
77 (be64_to_cpu(block->bb_u.l.bb_rightsib) == NULLDFSBNO || in xfs_btree_check_lblock()
79 be64_to_cpu(block->bb_u.l.bb_rightsib))); in xfs_btree_check_lblock()
194 be64_to_cpu((&ptr->l)[index]), level); in xfs_btree_check_ptr()
518 return be64_to_cpu(block->bb_u.l.bb_rightsib) == NULLDFSBNO; in xfs_btree_islastblock()
733 xfs_dfsbno_t left = be64_to_cpu(block->bb_u.l.bb_leftsib); in xfs_btree_readahead_lblock()
734 xfs_dfsbno_t right = be64_to_cpu(block->bb_u.l.bb_rightsib); in xfs_btree_readahead_lblock()
[all …]
Dxfs_bmap_btree.c84 rblock->bb_u.l.bb_leftsib = cpu_to_be64(NULLDFSBNO); in xfs_bmdr_to_bmbt()
85 rblock->bb_u.l.bb_rightsib = cpu_to_be64(NULLDFSBNO); in xfs_bmdr_to_bmbt()
445 ASSERT(be64_to_cpu(rblock->bb_u.l.bb_leftsib) == NULLDFSBNO); in xfs_bmbt_to_bmdr()
446 ASSERT(be64_to_cpu(rblock->bb_u.l.bb_rightsib) == NULLDFSBNO); in xfs_bmbt_to_bmdr()
539 args.fsbno = be64_to_cpu(start->l); in xfs_bmbt_alloc_block()
596 new->l = cpu_to_be64(args.fsbno); in xfs_bmbt_alloc_block()
716 ptr->l = 0; in xfs_bmbt_init_ptr_from_cur()
Dxfs_error.h50 #define XFS_WANT_CORRUPTED_GOTO(x,l) \ argument
58 goto l; \
/fs/jfs/
Djfs_dmap.h122 #define BLKTOCTL(b,s,l) \ argument
123 (((l) == 2) ? 1 : ((l) == 1) ? BLKTOL1((b),(s)) : BLKTOL0((b),(s)))
/fs/sysv/
Dnamei.c92 int l = strlen(symname)+1; in sysv_symlink() local
95 if (l > dir->i_sb->s_blocksize) in sysv_symlink()
104 err = page_symlink(inode, symname, l); in sysv_symlink()

123