Home
last modified time | relevance | path

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

/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 …]
H A Dosd_client.c107 u32 xlen; in calc_layout() local
111 objoff, &xlen); in calc_layout()
112 *objlen = xlen; in calc_layout()
/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/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/fs/jfs/
H A Djfs_extent.c70 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) in extAlloc() argument
89 if (xlen > MAXXLEN) in extAlloc()
90 xlen = MAXXLEN; in extAlloc()
126 nxlen = xlen; in extAlloc()
204 int xlen; in extHint() local
220 rc = xtLookup(ip, prev, nbperpage, &xflag, &xaddr, &xlen, 0); in extHint()
222 if ((rc == 0) && xlen) { in extHint()
223 if (xlen != nbperpage) { in extHint()
228 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_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.c718 int xlen = lengthDXD(&JFS_IP(ip)->ea); in jfs_free_zero_link() local
730 PXDlength(&pxdlock->pxd, xlen); in jfs_free_zero_link()
739 int xlen = lengthDXD(&JFS_IP(ip)->acl); in jfs_free_zero_link() local
750 PXDlength(&pxdlock->pxd, xlen); in jfs_free_zero_link()
889 s64 xlen = 0; in jfs_symlink() local
989 xlen = xsize >> JFS_SBI(sb)->l2bsize; in jfs_symlink()
990 if ((rc = xtInsert(tid, ip, 0, 0, xlen, &xaddr, 0))) { in jfs_symlink()
1024 if (xlen) in jfs_symlink()
/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/tools/perf/util/kvm-stat-arch/
H A Dkvm-stat-riscv.c27 int xlen = 64; // TODO: 32-bit support. in event_get_key() local
30 key->key = evsel__intval(evsel, sample, kvm_exit_reason(EM_RISCV)) & ~CAUSE_IRQ_FLAG(xlen); in event_get_key()
H A Driscv_trap_types.h6 #define CAUSE_IRQ_FLAG(xlen) (_AC(1, UL) << (xlen - 1)) argument
/linux/drivers/i2c/busses/
H A Di2c-mxs.c374 int i, ret, xlen = 0, xmit = 0; in mxs_i2c_pio_setup_xfer() local
499 xlen = 1; in mxs_i2c_pio_setup_xfer()
501 xlen = (i % 4) + 2; in mxs_i2c_pio_setup_xfer()
503 data >>= (4 - xlen) * 8; in mxs_i2c_pio_setup_xfer()
507 xlen, i, msg->len, in mxs_i2c_pio_setup_xfer()
518 MXS_I2C_CTRL0_XFER_COUNT(xlen), data); in mxs_i2c_pio_setup_xfer()
/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/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 Daddr.c346 u32 xlen; in ceph_netfs_prepare_read() local
350 &objno, &objoff, &xlen); in ceph_netfs_prepare_read()
351 rreq->io_streams[0].sreq_max_len = umin(xlen, fsc->mount_options->rsize); in ceph_netfs_prepare_read()
1220 u32 xlen; in ceph_allocate_page_array() local
1226 &objnum, &objoff, &xlen); in ceph_allocate_page_array()
1229 ceph_wbc->strip_unit_end = folio->index + ((xlen - 1) >> PAGE_SHIFT); in ceph_allocate_page_array()
1232 ceph_wbc->max_pages = calc_pages_for(0, (u64)xlen); in ceph_allocate_page_array()
H A Dfile.c1792 u32 xlen; in ceph_sync_write() local
1804 &xlen); in ceph_sync_write()
1805 write_len = xlen; in ceph_sync_write()
/linux/drivers/net/hyperv/
H A Dnetvsc_drv.c768 unsigned int xlen = xdp->data_end - xdp->data; in netvsc_alloc_recv_skb() local
779 skb_put(skb, xlen); in netvsc_alloc_recv_skb()