Home
last modified time | relevance | path

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

123

/fs/btrfs/
Dprint-tree.c145 static void print_uuid_item(struct extent_buffer *l, unsigned long offset, in print_uuid_item() argument
156 read_extent_buffer(l, &subvol_id, offset, sizeof(subvol_id)); in print_uuid_item()
164 void btrfs_print_leaf(struct btrfs_root *root, struct extent_buffer *l) in btrfs_print_leaf() argument
180 if (!l) in btrfs_print_leaf()
183 nr = btrfs_header_nritems(l); in btrfs_print_leaf()
186 btrfs_header_bytenr(l), nr, btrfs_leaf_free_space(root, l)); in btrfs_print_leaf()
189 btrfs_item_key_to_cpu(l, &key, i); in btrfs_print_leaf()
193 btrfs_item_offset(l, item), btrfs_item_size(l, item)); in btrfs_print_leaf()
196 ii = btrfs_item_ptr(l, i, struct btrfs_inode_item); in btrfs_print_leaf()
198 btrfs_inode_generation(l, ii), in btrfs_print_leaf()
[all …]
Dcheck-integrity.c284 struct btrfsic_block_link *l,
286 static void btrfsic_block_link_hashtable_remove(struct btrfsic_block_link *l);
357 const struct btrfsic_block_link *l);
359 const struct btrfsic_block_link *l);
444 static void btrfsic_block_link_init(struct btrfsic_block_link *l) in btrfsic_block_link_init() argument
446 l->magic_num = BTRFSIC_BLOCK_LINK_MAGIC_NUMBER; in btrfsic_block_link_init()
447 l->ref_cnt = 1; in btrfsic_block_link_init()
448 INIT_LIST_HEAD(&l->node_ref_to); in btrfsic_block_link_init()
449 INIT_LIST_HEAD(&l->node_ref_from); in btrfsic_block_link_init()
450 INIT_LIST_HEAD(&l->collision_resolving_node); in btrfsic_block_link_init()
[all …]
Droot-tree.c82 struct extent_buffer *l; in btrfs_find_root() local
101 l = path->nodes[0]; in btrfs_find_root()
104 btrfs_item_key_to_cpu(l, &found_key, slot); in btrfs_find_root()
112 btrfs_read_root_item(l, slot, root_item); in btrfs_find_root()
136 struct extent_buffer *l; in btrfs_update_root() local
160 l = path->nodes[0]; in btrfs_update_root()
162 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root()
163 old_len = btrfs_item_size_nr(l, slot); in btrfs_update_root()
191 l = path->nodes[0]; in btrfs_update_root()
193 ptr = btrfs_item_ptr_offset(l, slot); in btrfs_update_root()
[all …]
Dqgroup.c306 struct extent_buffer *l; in btrfs_read_qgroup_config() local
344 l = path->nodes[0]; in btrfs_read_qgroup_config()
345 btrfs_item_key_to_cpu(l, &found_key, slot); in btrfs_read_qgroup_config()
350 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config()
353 if (btrfs_qgroup_status_version(l, ptr) != in btrfs_read_qgroup_config()
359 if (btrfs_qgroup_status_generation(l, ptr) != in btrfs_read_qgroup_config()
365 fs_info->qgroup_flags = btrfs_qgroup_status_flags(l, in btrfs_read_qgroup_config()
367 rescan_progress = btrfs_qgroup_status_rescan(l, ptr); in btrfs_read_qgroup_config()
392 ptr = btrfs_item_ptr(l, slot, in btrfs_read_qgroup_config()
394 qgroup->rfer = btrfs_qgroup_info_rfer(l, ptr); in btrfs_read_qgroup_config()
[all …]
Dscrub.c1837 u64 l = min_t(u64, len, PAGE_SIZE); in scrub_checksum_data() local
1839 crc = btrfs_csum_data(buffer, crc, l); in scrub_checksum_data()
1841 len -= l; in scrub_checksum_data()
1905 u64 l = min_t(u64, len, mapped_size); in scrub_checksum_tree_block() local
1907 crc = btrfs_csum_data(p, crc, l); in scrub_checksum_tree_block()
1909 len -= l; in scrub_checksum_tree_block()
1964 u64 l = min_t(u64, len, mapped_size); in scrub_checksum_super() local
1966 crc = btrfs_csum_data(p, crc, l); in scrub_checksum_super()
1968 len -= l; in scrub_checksum_super()
2268 u64 l = min_t(u64, len, PAGE_SIZE); in scrub_pages() local
[all …]
/fs/ceph/
Dioctl.c19 struct ceph_ioctl_layout l; in ceph_ioctl_get_layout() local
24 l.stripe_unit = ci->i_layout.stripe_unit; in ceph_ioctl_get_layout()
25 l.stripe_count = ci->i_layout.stripe_count; in ceph_ioctl_get_layout()
26 l.object_size = ci->i_layout.object_size; in ceph_ioctl_get_layout()
27 l.data_pool = ci->i_layout.pool_id; in ceph_ioctl_get_layout()
28 l.preferred_osd = -1; in ceph_ioctl_get_layout()
29 if (copy_to_user(arg, &l, sizeof(l))) in ceph_ioctl_get_layout()
37 struct ceph_ioctl_layout *l) in __validate_layout() argument
42 if ((l->object_size & ~PAGE_MASK) || in __validate_layout()
43 (l->stripe_unit & ~PAGE_MASK) || in __validate_layout()
[all …]
Dlocks.c281 int l = 0; in ceph_encode_locks_to_buffer() local
296 err = lock_to_ceph_filelock(lock, &flocks[l]); in ceph_encode_locks_to_buffer()
299 ++l; in ceph_encode_locks_to_buffer()
307 err = lock_to_ceph_filelock(lock, &flocks[l]); in ceph_encode_locks_to_buffer()
310 ++l; in ceph_encode_locks_to_buffer()
/fs/hfsplus/
Dbnode.c24 int l; in hfs_bnode_read() local
30 l = min_t(int, len, PAGE_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_t(int, len, PAGE_SIZE); in hfs_bnode_read()
37 memcpy(buf, kmap(*++pagep), l); in hfs_bnode_read()
77 int l; in hfs_bnode_write() local
83 l = min_t(int, len, PAGE_SIZE - off); in hfs_bnode_write()
84 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.c57 unsigned long l; in utf8_to_utf32() local
63 l = c0; in utf8_to_utf32()
67 l &= t->lmask; in utf8_to_utf32()
68 if (l < t->lval || l > UNICODE_MAX || in utf8_to_utf32()
69 (l & SURROGATE_MASK) == SURROGATE_PAIR) in utf8_to_utf32()
71 *pu = (unicode_t) l; in utf8_to_utf32()
80 l = (l << 6) | c; in utf8_to_utf32()
88 unsigned long l; in utf32_to_utf8() local
95 l = u; in utf32_to_utf8()
96 if (l > UNICODE_MAX || (l & SURROGATE_MASK) == SURROGATE_PAIR) in utf32_to_utf8()
[all …]
/fs/hpfs/
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(qstr->name, &l); in hpfs_hash_dentry()
30 for (i = 0; i < l; i++) in hpfs_hash_dentry()
Danode.c343 unsigned l; in hpfs_ea_read() local
352 l = 0x200 - (pos & 0x1ff); if (l > len) l = len; in hpfs_ea_read()
353 memcpy(buf, data + (pos & 0x1ff), l); in hpfs_ea_read()
355 buf += l; pos += l; len -= l; in hpfs_ea_read()
366 unsigned l; in hpfs_ea_write() local
375 l = 0x200 - (pos & 0x1ff); if (l > len) l = len; in hpfs_ea_write()
376 memcpy(data + (pos & 0x1ff), buf, l); in hpfs_ea_write()
379 buf += l; pos += l; len -= l; in hpfs_ea_write()
/fs/xfs/libxfs/
Dxfs_bmap_btree.c354 ASSERT(uuid_equal(&rblock->bb_u.l.bb_uuid, in xfs_bmbt_to_bmdr()
356 ASSERT(rblock->bb_u.l.bb_blkno == in xfs_bmbt_to_bmdr()
360 ASSERT(rblock->bb_u.l.bb_leftsib == cpu_to_be64(NULLFSBLOCK)); in xfs_bmbt_to_bmdr()
361 ASSERT(rblock->bb_u.l.bb_rightsib == cpu_to_be64(NULLFSBLOCK)); in xfs_bmbt_to_bmdr()
455 args.fsbno = be64_to_cpu(start->l); in xfs_bmbt_alloc_block()
528 new->l = cpu_to_be64(args.fsbno); in xfs_bmbt_alloc_block()
637 ptr->l = 0; in xfs_bmbt_init_ptr_from_cur()
661 if (!uuid_equal(&block->bb_u.l.bb_uuid, &mp->m_sb.sb_meta_uuid)) in xfs_bmbt_verify()
663 if (be64_to_cpu(block->bb_u.l.bb_blkno) != bp->b_bn) in xfs_bmbt_verify()
669 if (be64_to_cpu(block->bb_u.l.bb_owner) == 0) in xfs_bmbt_verify()
[all …]
Dxfs_btree.c70 uuid_equal(&block->bb_u.l.bb_uuid, in xfs_btree_check_lblock()
72 block->bb_u.l.bb_blkno == cpu_to_be64( in xfs_btree_check_lblock()
81 block->bb_u.l.bb_leftsib && in xfs_btree_check_lblock()
82 (block->bb_u.l.bb_leftsib == cpu_to_be64(NULLFSBLOCK) || in xfs_btree_check_lblock()
84 be64_to_cpu(block->bb_u.l.bb_leftsib))) && in xfs_btree_check_lblock()
85 block->bb_u.l.bb_rightsib && in xfs_btree_check_lblock()
86 (block->bb_u.l.bb_rightsib == cpu_to_be64(NULLFSBLOCK) || in xfs_btree_check_lblock()
88 be64_to_cpu(block->bb_u.l.bb_rightsib))); in xfs_btree_check_lblock()
214 be64_to_cpu((&ptr->l)[index]), level); in xfs_btree_check_ptr()
240 block->bb_u.l.bb_lsn = cpu_to_be64(bip->bli_item.li_lsn); in xfs_btree_lblock_calc_crc()
[all …]
/fs/udf/
Dpartition.c158 int i, j, k, l; in udf_relocate_blocks() local
228 for (l = k; l < reallocationTableLen; l++) { in udf_relocate_blocks()
229 struct sparingEntry *entry = &st->mapEntry[l]; in udf_relocate_blocks()
241 mapEntry = st->mapEntry[l]; in udf_relocate_blocks()
246 (l - k) * in udf_relocate_blocks()
/fs/ufs/
Dnamei.c113 unsigned l = strlen(symname)+1; in ufs_symlink() local
116 if (l > sb->s_blocksize) in ufs_symlink()
124 if (l > UFS_SB(sb)->s_uspi->s_maxsymlinklen) { in ufs_symlink()
129 err = page_symlink(inode, symname, l); in ufs_symlink()
136 memcpy(inode->i_link, symname, l); in ufs_symlink()
137 inode->i_size = l-1; in ufs_symlink()
/fs/exofs/
Dnamei.c98 unsigned l = strlen(symname)+1; in exofs_symlink() local
102 if (l > sb->s_blocksize) in exofs_symlink()
111 if (l > sizeof(oi->i_data)) { in exofs_symlink()
118 err = page_symlink(inode, symname, l); in exofs_symlink()
125 memcpy(oi->i_data, symname, l); in exofs_symlink()
126 inode->i_size = l-1; in exofs_symlink()
/fs/
Dlocks.c448 struct flock64 *l) in flock64_to_posix_lock() argument
450 switch (l->l_whence) { in flock64_to_posix_lock()
463 if (l->l_start > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock()
465 fl->fl_start += l->l_start; in flock64_to_posix_lock()
471 if (l->l_len > 0) { in flock64_to_posix_lock()
472 if (l->l_len - 1 > OFFSET_MAX - fl->fl_start) in flock64_to_posix_lock()
474 fl->fl_end = fl->fl_start + l->l_len - 1; in flock64_to_posix_lock()
476 } else if (l->l_len < 0) { in flock64_to_posix_lock()
477 if (fl->fl_start + l->l_len < 0) in flock64_to_posix_lock()
480 fl->fl_start += l->l_len; in flock64_to_posix_lock()
[all …]
/fs/xfs/
Dxfs_rtalloc.h125 # define xfs_rtallocate_extent(t,b,min,max,l,a,f,p,rb) (ENOSYS) argument
126 # define xfs_rtfree_extent(t,b,l) (ENOSYS) argument
127 # define xfs_rtpick_extent(m,t,l,rb) (ENOSYS) argument
Dxfs_rtalloc.c631 int l; /* level number (loop control) */ in xfs_rtallocate_extent_size() local
646 for (l = xfs_highbit32(maxlen); l < mp->m_rsumlevels; l++) { in xfs_rtallocate_extent_size()
654 error = xfs_rtget_summary(mp, tp, l, i, rbpp, rsb, in xfs_rtallocate_extent_size()
704 for (l = xfs_highbit32(maxlen); l >= xfs_highbit32(minlen); l--) { in xfs_rtallocate_extent_size()
713 error = xfs_rtget_summary(mp, tp, l, i, rbpp, rsb, in xfs_rtallocate_extent_size()
729 XFS_RTMAX(minlen, 1 << l), in xfs_rtallocate_extent_size()
730 XFS_RTMIN(maxlen, (1 << (l + 1)) - 1), in xfs_rtallocate_extent_size()
Dxfs_message.h59 extern void assfail(char *expr, char *f, int l);
60 extern void asswarn(char *expr, char *f, int l);
/fs/ext2/
Dnamei.c168 unsigned l = strlen(symname)+1; in ext2_symlink() local
171 if (l > sb->s_blocksize) in ext2_symlink()
183 if (l > sizeof (EXT2_I(inode)->i_data)) { in ext2_symlink()
191 err = page_symlink(inode, symname, l); in ext2_symlink()
198 memcpy(inode->i_link, symname, l); in ext2_symlink()
199 inode->i_size = l-1; in ext2_symlink()
/fs/9p/
Dfid.c121 int i, n, l, clone, access; in v9fs_fid_lookup_with_uid() local
181 l = min(n - i, P9_MAXWELEM); in v9fs_fid_lookup_with_uid()
186 fid = p9_client_walk(fid, l, &wnames[i], clone); in v9fs_fid_lookup_with_uid()
200 i += l; in v9fs_fid_lookup_with_uid()
/fs/dlm/
Dmemory.h22 void dlm_free_lkb(struct dlm_lkb *l);
24 void dlm_free_lvb(char *l);
/fs/jfs/
Djfs_dmap.h122 #define BLKTOCTL(b,s,l) \ argument
123 (((l) == 2) ? 1 : ((l) == 1) ? BLKTOL1((b),(s)) : BLKTOL0((b),(s)))

123