Home
last modified time | relevance | path

Searched refs:xlen (Results 1 - 25 of 60) sorted by relevance

123

/kernel/linux/linux-5.10/net/ceph/
H A Dstriper.c26 u64 *objno, u64 *objoff, u32 *xlen) in ceph_calc_file_object_mapping()
43 *xlen = min_t(u64, len, l->stripe_unit - blockoff); in ceph_calc_file_object_mapping()
75 u64 objoff, u32 xlen) in lookup_containing()
82 ex->oe_off + ex->oe_len >= objoff + xlen) /* paranoia */ in lookup_containing()
122 u32 xlen; in ceph_file_to_extents() local
125 &xlen); in ceph_file_to_extents()
135 ex->oe_len = xlen; in ceph_file_to_extents()
137 action_fn(ex, xlen, action_arg); in ceph_file_to_extents()
144 last_ex->oe_len += xlen; in ceph_file_to_extents()
146 action_fn(last_ex, xlen, action_ar in ceph_file_to_extents()
24 ceph_calc_file_object_mapping(struct ceph_file_layout *l, u64 off, u64 len, u64 *objno, u64 *objoff, u32 *xlen) ceph_calc_file_object_mapping() argument
74 lookup_containing(struct list_head *object_extents, u64 objno, u64 objoff, u32 xlen) lookup_containing() argument
182 u32 xlen; ceph_iterate_extents() local
[all...]
/kernel/linux/linux-6.6/net/ceph/
H A Dstriper.c26 u64 *objno, u64 *objoff, u32 *xlen) in ceph_calc_file_object_mapping()
43 *xlen = min_t(u64, len, l->stripe_unit - blockoff); in ceph_calc_file_object_mapping()
75 u64 objoff, u32 xlen) in lookup_containing()
82 ex->oe_off + ex->oe_len >= objoff + xlen) /* paranoia */ in lookup_containing()
122 u32 xlen; in ceph_file_to_extents() local
125 &xlen); in ceph_file_to_extents()
135 ex->oe_len = xlen; in ceph_file_to_extents()
137 action_fn(ex, xlen, action_arg); in ceph_file_to_extents()
144 last_ex->oe_len += xlen; in ceph_file_to_extents()
146 action_fn(last_ex, xlen, action_ar in ceph_file_to_extents()
24 ceph_calc_file_object_mapping(struct ceph_file_layout *l, u64 off, u64 len, u64 *objno, u64 *objoff, u32 *xlen) ceph_calc_file_object_mapping() argument
74 lookup_containing(struct list_head *object_extents, u64 objno, u64 objoff, u32 xlen) lookup_containing() argument
182 u32 xlen; ceph_iterate_extents() local
[all...]
/kernel/linux/linux-6.6/fs/cachefiles/
H A Dxattr.c101 ssize_t xlen; in cachefiles_check_auxdata() local
109 xlen = cachefiles_inject_read_error(); in cachefiles_check_auxdata()
110 if (xlen == 0) in cachefiles_check_auxdata()
111 xlen = vfs_getxattr(&nop_mnt_idmap, dentry, cachefiles_xattr_cache, buf, tlen); in cachefiles_check_auxdata()
112 if (xlen != tlen) { in cachefiles_check_auxdata()
113 if (xlen < 0) in cachefiles_check_auxdata()
114 trace_cachefiles_vfs_error(object, file_inode(file), xlen, in cachefiles_check_auxdata()
116 if (xlen == -EIO) in cachefiles_check_auxdata()
119 "Failed to read aux with error %zd", xlen); in cachefiles_check_auxdata()
240 ssize_t xlen; in cachefiles_check_volume_xattr() local
[all...]
/kernel/linux/linux-5.10/arch/parisc/lib/
H A Dmemset.c16 size_t xlen; in memset() local
36 xlen = len / (OPSIZ * 8); in memset()
37 while (xlen > 0) in memset()
48 xlen -= 1; in memset()
53 xlen = len / OPSIZ; in memset()
54 while (xlen > 0) in memset()
58 xlen -= 1; in memset()
/kernel/linux/linux-6.6/arch/parisc/lib/
H A Dmemset.c16 size_t xlen; in memset() local
36 xlen = len / (OPSIZ * 8); in memset()
37 while (xlen > 0) in memset()
48 xlen -= 1; in memset()
53 xlen = len / OPSIZ; in memset()
54 while (xlen > 0) in memset()
58 xlen -= 1; in memset()
/kernel/linux/linux-6.6/fs/jfs/
H A Djfs_xtree.c134 int xlen; in xtLookup() local
181 xlen = lengthXAD(xad); in xtLookup()
182 xend = xoff + xlen; in xtLookup()
503 * xlen - extent length;
514 struct inode *ip, int xflag, s64 xoff, s32 xlen, s64 * xaddrp, in xtInsert()
531 jfs_info("xtInsert: nxoff:0x%lx nxlen:0x%x", (ulong) xoff, xlen); in xtInsert()
549 if ((cmp == 0) || (next && (xlen > next - xoff))) { in xtInsert()
565 if ((rc = dquot_alloc_block(ip, xlen))) in xtInsert()
567 if ((rc = dbAlloc(ip, hint, (s64) xlen, &xaddr))) { in xtInsert()
568 dquot_free_block(ip, xlen); in xtInsert()
513 xtInsert(tid_t tid, struct inode *ip, int xflag, s64 xoff, s32 xlen, s64 * xaddrp, int flag) xtInsert() argument
680 int xlen; xtSplitUp() local
1336 xtExtend(tid_t tid, struct inode *ip, s64 xoff, s32 xlen, int flag) xtExtend() argument
1511 int nxlen, xlen, lxlen, rxlen; xtUpdate() local
1958 int nsplit, nblocks, xlen; xtAppend() local
2198 int xlen, len, freexlen; xtTruncate() local
2758 int xlen; xtTruncate_pmap() local
[all...]
H A Djfs_extent.c55 * xlen - requested extent length.
70 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) in extAlloc() argument
84 if (xlen > MAXXLEN) in extAlloc()
85 xlen = MAXXLEN; in extAlloc()
112 * will try to allocate disk blocks for the requested size (xlen). in extAlloc()
113 * if this fails (xlen contiguous free blocks not available), it'll in extAlloc()
121 nxlen = xlen; in extAlloc()
199 int xlen; in extHint() local
215 rc = xtLookup(ip, prev, nbperpage, &xflag, &xaddr, &xlen, 0); in extHint()
217 if ((rc == 0) && xlen) { in extHint()
[all...]
H A Dresize.c66 int newNpages = 0, nPages, newPage, xlen, t32; in jfs_extendfs() local
381 xlen = (newNpages - nPages) << sbi->l2nbperpage; in jfs_extendfs()
382 xlen = min(xlen, (int) nblocks) & ~(sbi->nbperpage - 1); in jfs_extendfs()
387 if ((rc = xtAppend(tid, ipbmap, 0, xoff, nblocks, &xlen, &xaddr, 0))) { in jfs_extendfs()
392 ipbmap->i_size += xlen << sbi->l2bsize; in jfs_extendfs()
393 inode_add_bytes(ipbmap, xlen << sbi->l2bsize); in jfs_extendfs()
H A Djfs_txnmgr.c2109 jfs_info("mapLog: xaddr:0x%lx xlen:0x%x", in mapLog()
2398 int xlen; in txAllocPMap() local
2413 xlen = lengthXAD(xad); in txAllocPMap()
2415 (s64) xlen, tblk); in txAllocPMap()
2417 jfs_info("allocPMap: xaddr:0x%lx xlen:%d", in txAllocPMap()
2418 (ulong) xaddr, xlen); in txAllocPMap()
2424 xlen = lengthPXD(&pxdlock->pxd); in txAllocPMap()
2425 dbUpdatePMap(ipbmap, false, xaddr, (s64) xlen, tblk); in txAllocPMap()
2426 jfs_info("allocPMap: xaddr:0x%lx xlen:%d", (ulong) xaddr, xlen); in txAllocPMap()
2456 int xlen; txFreeMap() local
[all...]
H A Dinode.c207 s32 xlen = bh_result->b_size >> ip->i_blkbits; in jfs_get_block() local
218 (!xtLookup(ip, lblock64, xlen, &xflag, &xaddr, &xlen, 0)) && in jfs_get_block()
228 XADlength(&xad, xlen); in jfs_get_block()
237 bh_result->b_size = xlen << ip->i_blkbits; in jfs_get_block()
248 rc = extAlloc(ip, xlen, lblock64, &xad, false); in jfs_get_block()
H A Djfs_metapage.c343 int xlen; in metapage_writepage() local
384 if (xlen && lblock == next_block) { in metapage_writepage()
386 len = min(xlen, blocks_per_mp); in metapage_writepage()
387 xlen -= len; in metapage_writepage()
407 xlen = (PAGE_SIZE - offset) >> inode->i_blkbits; in metapage_writepage()
408 pblock = metapage_get_blocks(inode, lblock, &xlen); in metapage_writepage()
418 len = min(xlen, (int)JFS_SBI(inode->i_sb)->nbperpage); in metapage_writepage()
429 xlen -= len; in metapage_writepage()
479 int xlen; in metapage_read_folio() local
489 xlen in metapage_read_folio()
[all...]
/kernel/linux/linux-5.10/fs/jfs/
H A Djfs_xtree.c145 int xlen; in xtLookup() local
192 xlen = lengthXAD(xad); in xtLookup()
193 xend = xoff + xlen; in xtLookup()
514 * xlen - extent length;
525 struct inode *ip, int xflag, s64 xoff, s32 xlen, s64 * xaddrp, in xtInsert()
542 jfs_info("xtInsert: nxoff:0x%lx nxlen:0x%x", (ulong) xoff, xlen); in xtInsert()
560 if ((cmp == 0) || (next && (xlen > next - xoff))) { in xtInsert()
576 if ((rc = dquot_alloc_block(ip, xlen))) in xtInsert()
578 if ((rc = dbAlloc(ip, hint, (s64) xlen, &xaddr))) { in xtInsert()
579 dquot_free_block(ip, xlen); in xtInsert()
524 xtInsert(tid_t tid, struct inode *ip, int xflag, s64 xoff, s32 xlen, s64 * xaddrp, int flag) xtInsert() argument
691 int xlen; xtSplitUp() local
1347 xtExtend(tid_t tid, struct inode *ip, s64 xoff, s32 xlen, int flag) xtExtend() argument
1509 xtTailgate(tid_t tid, struct inode *ip, s64 xoff, s32 xlen, s64 xaddr, int flag) xtTailgate() argument
1705 int nxlen, xlen, lxlen, rxlen; xtUpdate() local
2173 int nsplit, nblocks, xlen; xtAppend() local
2326 xtDelete(tid_t tid, struct inode *ip, s64 xoff, s32 xlen, int flag) xtDelete() argument
2405 int xlen; xtDeleteUp() local
2559 int xlen; xtRelocate() local
2883 int xlen; xtSearchNode() local
3159 int xlen, len, freexlen; xtTruncate() local
3719 int xlen; xtTruncate_pmap() local
[all...]
H A Djfs_extent.c58 * xlen - requested extent length.
73 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) in extAlloc() argument
87 if (xlen > MAXXLEN) in extAlloc()
88 xlen = MAXXLEN; in extAlloc()
115 * will try to allocate disk blocks for the requested size (xlen). in extAlloc()
116 * if this fails (xlen contiguous free blocks not available), it'll in extAlloc()
124 nxlen = xlen; in extAlloc()
191 * xlen - request size of the resulting extent.
205 s64 xaddr, xlen, nxaddr, delta, xoff; in extRealloc() local
222 xlen in extRealloc()
358 int xlen; extHint() local
[all...]
H A Djfs_xtree.h95 int xflag, s64 xoff, int xlen, s64 * xaddrp, int flag);
96 extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen,
100 s64 xoff, int xlen, s64 xaddr, int flag);
103 extern int xtDelete(tid_t tid, struct inode *ip, s64 xoff, int xlen,
H A Dresize.c66 int newNpages = 0, nPages, newPage, xlen, t32; in jfs_extendfs() local
382 xlen = (newNpages - nPages) << sbi->l2nbperpage; in jfs_extendfs()
383 xlen = min(xlen, (int) nblocks) & ~(sbi->nbperpage - 1); in jfs_extendfs()
388 if ((rc = xtAppend(tid, ipbmap, 0, xoff, nblocks, &xlen, &xaddr, 0))) { in jfs_extendfs()
393 ipbmap->i_size += xlen << sbi->l2bsize; in jfs_extendfs()
394 inode_add_bytes(ipbmap, xlen << sbi->l2bsize); in jfs_extendfs()
H A Djfs_txnmgr.c2146 jfs_info("mapLog: xaddr:0x%lx xlen:0x%x", in mapLog()
2435 int xlen; in txAllocPMap() local
2450 xlen = lengthXAD(xad); in txAllocPMap()
2452 (s64) xlen, tblk); in txAllocPMap()
2454 jfs_info("allocPMap: xaddr:0x%lx xlen:%d", in txAllocPMap()
2455 (ulong) xaddr, xlen); in txAllocPMap()
2461 xlen = lengthPXD(&pxdlock->pxd); in txAllocPMap()
2462 dbUpdatePMap(ipbmap, false, xaddr, (s64) xlen, tblk); in txAllocPMap()
2463 jfs_info("allocPMap: xaddr:0x%lx xlen:%d", (ulong) xaddr, xlen); in txAllocPMap()
2493 int xlen; txFreeMap() local
[all...]
H A Dinode.c207 s32 xlen = bh_result->b_size >> ip->i_blkbits; in jfs_get_block() local
218 (!xtLookup(ip, lblock64, xlen, &xflag, &xaddr, &xlen, 0)) && in jfs_get_block()
229 XADlength(&xad, xlen); in jfs_get_block()
246 bh_result->b_size = xlen << ip->i_blkbits; in jfs_get_block()
258 rc = extAlloc(ip, xlen, lblock64, &xad, false); in jfs_get_block()
H A Djfs_metapage.c342 int xlen; in metapage_writepage() local
383 if (xlen && lblock == next_block) { in metapage_writepage()
385 len = min(xlen, blocks_per_mp); in metapage_writepage()
386 xlen -= len; in metapage_writepage()
406 xlen = (PAGE_SIZE - offset) >> inode->i_blkbits; in metapage_writepage()
407 pblock = metapage_get_blocks(inode, lblock, &xlen); in metapage_writepage()
417 len = min(xlen, (int)JFS_SBI(inode->i_sb)->nbperpage); in metapage_writepage()
430 xlen -= len; in metapage_writepage()
479 int xlen; in metapage_readpage() local
489 xlen in metapage_readpage()
[all...]
/kernel/linux/linux-5.10/tools/lib/perf/
H A Dxyarray.c7 struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size) in xyarray__new() argument
10 struct xyarray *xy = zalloc(sizeof(*xy) + xlen * row_size); in xyarray__new()
15 xy->entries = xlen * ylen; in xyarray__new()
16 xy->max_x = xlen; in xyarray__new()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dxyarray.c7 struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size) in xyarray__new() argument
10 struct xyarray *xy = zalloc(sizeof(*xy) + xlen * row_size); in xyarray__new()
15 xy->entries = xlen * ylen; in xyarray__new()
16 xy->max_x = xlen; in xyarray__new()
/kernel/linux/linux-6.6/tools/lib/perf/
H A Dxyarray.c7 struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size) in xyarray__new() argument
10 struct xyarray *xy = zalloc(sizeof(*xy) + xlen * row_size); in xyarray__new()
15 xy->entries = xlen * ylen; in xyarray__new()
16 xy->max_x = xlen; in xyarray__new()
/kernel/linux/linux-5.10/fs/cachefiles/
H A Dxattr.c163 ssize_t xlen; in cachefiles_check_auxdata() local
174 xlen = vfs_getxattr(dentry, cachefiles_xattr_cache, in cachefiles_check_auxdata()
177 if (xlen < 1 || in cachefiles_check_auxdata()
181 xlen--; in cachefiles_check_auxdata()
182 validity = fscache_check_aux(&object->fscache, &auxbuf->data, xlen, in cachefiles_check_auxdata()
/kernel/linux/linux-5.10/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test.c58 int xtype, xlen; in toggle_breakpoint() local
75 xlen = 0; in toggle_breakpoint()
78 xlen = 4; in toggle_breakpoint()
81 xlen = 0xc; in toggle_breakpoint()
84 xlen = 8; in toggle_breakpoint()
91 vdr7 = (xlen | xtype) << 16; in toggle_breakpoint()
/kernel/linux/linux-6.6/tools/testing/selftests/breakpoints/
H A Dbreakpoint_test.c58 int xtype, xlen; in toggle_breakpoint() local
75 xlen = 0; in toggle_breakpoint()
78 xlen = 4; in toggle_breakpoint()
81 xlen = 0xc; in toggle_breakpoint()
84 xlen = 8; in toggle_breakpoint()
91 vdr7 = (xlen | xtype) << 16; in toggle_breakpoint()
/kernel/linux/linux-5.10/scripts/dtc/
H A Ddata.c24 struct data data_grow_for(struct data d, int xlen) in data_grow_for() argument
29 if (xlen == 0) in data_grow_for()
34 newsize = xlen; in data_grow_for()
36 while ((d.len + xlen) > newsize) in data_grow_for()

Completed in 20 milliseconds

123