Home
last modified time | relevance | path

Searched refs:xlen (Results 1 – 25 of 27) sorted by relevance

12

/linux/fs/cachefiles/
H A Dxattr.c107 ssize_t xlen; in cachefiles_check_auxdata() local
115 xlen = cachefiles_inject_read_error(); in cachefiles_check_auxdata()
116 if (xlen == 0) in cachefiles_check_auxdata()
117 xlen = vfs_getxattr(&nop_mnt_idmap, dentry, cachefiles_xattr_cache, buf, tlen); in cachefiles_check_auxdata()
118 if (xlen != tlen) { in cachefiles_check_auxdata()
119 if (xlen < 0) { in cachefiles_check_auxdata()
120 ret = xlen; in cachefiles_check_auxdata()
121 trace_cachefiles_vfs_error(object, file_inode(file), xlen, in cachefiles_check_auxdata()
124 if (xlen == -EIO) in cachefiles_check_auxdata()
127 "Failed to read aux with error %zd", xlen); in cachefiles_check_auxdata()
[all …]
/linux/net/ceph/
H A Dstriper.c26 u64 *objno, u64 *objoff, u32 *xlen) in ceph_calc_file_object_mapping() argument
43 *xlen = min_t(u64, len, l->stripe_unit - blockoff); in ceph_calc_file_object_mapping()
75 u64 objoff, u32 xlen) in lookup_containing() argument
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_arg); in ceph_file_to_extents()
[all …]
/linux/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()
/linux/fs/jfs/
H A Djfs_xtree.c134 int xlen; in xtLookup() local
181 xlen = lengthXAD(xad); in xtLookup()
182 xend = xoff + xlen; in xtLookup()
514 struct inode *ip, int xflag, s64 xoff, s32 xlen, s64 * xaddrp, in xtInsert() argument
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()
590 split.len = xlen; in xtInsert()
[all …]
H A Djfs_extent.c70 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()
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()
218 if (xlen != nbperpage) { in extHint()
223 XADlength(xp, xlen); in extHint()
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_metapage.c349 int xlen; in metapage_write_folio() local
389 if (xlen && lblock == next_block) { in metapage_write_folio()
391 len = min(xlen, blocks_per_mp); in metapage_write_folio()
392 xlen -= len; in metapage_write_folio()
410 xlen = (folio_size(folio) - offset) >> inode->i_blkbits; in metapage_write_folio()
411 pblock = metapage_get_blocks(inode, lblock, &xlen); in metapage_write_folio()
421 len = min(xlen, (int)JFS_SBI(inode->i_sb)->nbperpage); in metapage_write_folio()
432 xlen -= len; in metapage_write_folio()
488 int xlen; in metapage_read_folio() local
497 xlen = blocks_per_page - block_offset; in metapage_read_folio()
[all …]
H A Djfs_txnmgr.c2398 int xlen; in txAllocPMap() local
2413 xlen = lengthXAD(xad); in txAllocPMap()
2415 (s64) xlen, tblk); 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()
2433 xlen = lengthPXD(pxd); in txAllocPMap()
2434 dbUpdatePMap(ipbmap, false, xaddr, (s64) xlen, in txAllocPMap()
2437 (ulong) xaddr, xlen); in txAllocPMap()
[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_xtree.h104 int xflag, s64 xoff, int xlen, s64 * xaddrp, int flag);
105 extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen,
H A Dnamei.c717 int xlen = lengthDXD(&JFS_IP(ip)->ea); in jfs_free_zero_link() local
729 PXDlength(&pxdlock->pxd, xlen); in jfs_free_zero_link()
738 int xlen = lengthDXD(&JFS_IP(ip)->acl); in jfs_free_zero_link() local
749 PXDlength(&pxdlock->pxd, xlen); in jfs_free_zero_link()
888 s64 xlen = 0; in jfs_symlink() local
988 xlen = xsize >> JFS_SBI(sb)->l2bsize; in jfs_symlink()
989 if ((rc = xtInsert(tid, ip, 0, 0, xlen, &xaddr, 0))) { in jfs_symlink()
1023 if (xlen) in jfs_symlink()
H A Djfs_imap.c2443 int iagno, i, xlen; in diNewIAG() local
2509 xlen = sbi->nbperpage; in diNewIAG()
2510 if ((rc = dbAlloc(ipimap, 0, (s64) xlen, &xaddr))) { in diNewIAG()
2526 xtInsert(tid, ipimap, 0, blkno, xlen, &xaddr, 0))) { in diNewIAG()
2532 dbFree(ipimap, xaddr, (s64) xlen); in diNewIAG()
2597 duplicateIXtree(sb, blkno, xlen, &xaddr); in diNewIAG()
2983 int xlen, s64 *xaddr) in duplicateIXtree() argument
3010 if (xtInsert(tid, ip, 0, blkno, xlen, xaddr, 0)) { in duplicateIXtree()
/linux/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()
/linux/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()
/linux/scripts/dtc/
H A Ddata.c24 struct data data_grow_for(struct data d, unsigned 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()
H A Ddtc.h168 struct data data_grow_for(struct data d, unsigned int xlen);
/linux/init/
H A Dmain.c632 size_t len, xlen = 0, ilen = 0; in setup_command_line() local
635 xlen = strlen(extra_command_line); in setup_command_line()
641 len = xlen + strlen(boot_command_line) + ilen + 1; in setup_command_line()
647 len = xlen + strlen(command_line) + 1; in setup_command_line()
653 if (xlen) { in setup_command_line()
662 strcpy(saved_command_line + xlen, boot_command_line); in setup_command_line()
663 strcpy(static_command_line + xlen, command_line); in setup_command_line()
674 len = xlen + initargs_offs; in setup_command_line()
/linux/tools/lib/perf/include/internal/
H A Dxyarray.h17 struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size);
/linux/include/linux/ceph/
H A Dstriper.h12 u64 *objno, u64 *objoff, u32 *xlen);
/linux/drivers/video/fbdev/matrox/
H A Dmatroxfb_accel.c411 u_int32_t xlen; in matroxfb_1bpp_imageblit() local
423 xlen = (charcell + 3) & ~3; in matroxfb_1bpp_imageblit()
453 mga_memcpy_toio(mmio, chardata, xlen); in matroxfb_1bpp_imageblit()
/linux/fs/ceph/
H A Dioctl.c189 u32 xlen; in ceph_ioctl_get_dataloc() local
200 &dl.object_no, &dl.object_offset, &xlen); in ceph_ioctl_get_dataloc()
H A Dcrypto.c598 u32 xlen; in ceph_fscrypt_decrypt_extents() local
608 &objno, &objoff, &xlen); in ceph_fscrypt_decrypt_extents()
H A Daddr.c328 u32 xlen; in ceph_netfs_prepare_read() local
332 &objno, &objoff, &xlen); in ceph_netfs_prepare_read()
333 rreq->io_streams[0].sreq_max_len = umin(xlen, fsc->mount_options->rsize); in ceph_netfs_prepare_read()
1128 u32 xlen; in ceph_writepages_start() local
1135 &xlen); in ceph_writepages_start()
1136 len = xlen; in ceph_writepages_start()
H A Dfile.c1748 u32 xlen; in ceph_sync_write() local
1760 &xlen); in ceph_sync_write()
1761 write_len = xlen; in ceph_sync_write()
/linux/fs/ubifs/
H A Djournal.c1858 int err, xlen, hlen, len, lnum, xent_offs, aligned_xlen, write_len; in ubifs_jnl_delete_xattr() local
1873 xlen = UBIFS_DENT_NODE_SZ + fname_len(nm) + 1; in ubifs_jnl_delete_xattr()
1874 aligned_xlen = ALIGN(xlen, 8); in ubifs_jnl_delete_xattr()
1900 ubifs_prep_grp_node(c, xent, xlen, 0); in ubifs_jnl_delete_xattr()
1924 err = ubifs_add_dirt(c, lnum, xlen); in ubifs_jnl_delete_xattr()

12