| /OK3568_Linux_fs/kernel/net/ceph/ |
| H A D | striper.c | 26 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 …]
|
| /OK3568_Linux_fs/kernel/arch/parisc/lib/ |
| H A D | memset.c | 16 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()
|
| /OK3568_Linux_fs/kernel/fs/jfs/ |
| H A D | jfs_extent.c | 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() 124 nxlen = xlen; in extAlloc() 205 s64 xaddr, xlen, nxaddr, delta, xoff; in extRealloc() local 222 xlen = lengthXAD(xp); in extRealloc() 243 if ((rc = extBrealloc(ip, xaddr, xlen, &nxlen, &nxaddr))) in extRealloc() 254 delta = nxlen - xlen; in extRealloc() 269 nextend = ntail - xlen; in extRealloc() 287 if ((rc = xtExtend(0, ip, xoff + xlen, (int) nextend, 0))) { in extRealloc() [all …]
|
| H A D | jfs_xtree.c | 145 int xlen; in xtLookup() local 192 xlen = lengthXAD(xad); in xtLookup() 193 xend = xoff + xlen; in xtLookup() 525 struct inode *ip, int xflag, s64 xoff, s32 xlen, s64 * xaddrp, in xtInsert() argument 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() 601 split.len = xlen; in xtInsert() [all …]
|
| H A D | resize.c | 66 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 D | jfs_metapage.c | 342 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 = blocks_per_page - block_offset; in metapage_readpage() [all …]
|
| H A D | jfs_xtree.h | 95 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 D | jfs_txnmgr.c | 2430 int xlen; in txAllocPMap() local 2445 xlen = lengthXAD(xad); in txAllocPMap() 2447 (s64) xlen, tblk); in txAllocPMap() 2450 (ulong) xaddr, xlen); in txAllocPMap() 2456 xlen = lengthPXD(&pxdlock->pxd); in txAllocPMap() 2457 dbUpdatePMap(ipbmap, false, xaddr, (s64) xlen, tblk); in txAllocPMap() 2458 jfs_info("allocPMap: xaddr:0x%lx xlen:%d", (ulong) xaddr, xlen); in txAllocPMap() 2465 xlen = lengthPXD(pxd); in txAllocPMap() 2466 dbUpdatePMap(ipbmap, false, xaddr, (s64) xlen, in txAllocPMap() 2469 (ulong) xaddr, xlen); in txAllocPMap() [all …]
|
| H A D | inode.c | 207 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 D | jfs_dtree.c | 200 s32 xlen; in read_index_page() local 202 rc = xtLookup(inode, blkno, 1, &xflag, &xaddr, &xlen, 1); in read_index_page() 219 s32 xlen; in get_index_page() local 221 rc = xtLookup(inode, blkno, 1, &xflag, &xaddr, &xlen, 1); in get_index_page() 933 int xlen, xsize; in dtSplitUp() local 968 xlen = 1; in dtSplitUp() 973 xlen++; in dtSplitUp() 974 if ((rc = dbAlloc(ip, 0, (s64) xlen, &xaddr))) { in dtSplitUp() 983 PXDlength(pxd, xlen); in dtSplitUp() 988 dbFree(ip, xaddr, xlen); in dtSplitUp() [all …]
|
| /OK3568_Linux_fs/kernel/tools/lib/perf/ |
| H A D | xyarray.c | 7 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()
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | xyarray.c | 7 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()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/crypto/ |
| H A D | aes-gcm.c | 102 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() argument 108 m = xlen / 16; in ghash() 122 if (x + xlen > xpos) { in ghash() 124 size_t last = x + xlen - xpos; in ghash() 142 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 149 if (xlen == 0) in aes_gctr() 152 n = xlen / 16; in aes_gctr() 164 last = x + xlen - xpos; in aes_gctr()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/crypto/ |
| H A D | aes-gcm.c | 102 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() argument 108 m = xlen / 16; in ghash() 122 if (x + xlen > xpos) { in ghash() 124 size_t last = x + xlen - xpos; in ghash() 142 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 149 if (xlen == 0) in aes_gctr() 152 n = xlen / 16; in aes_gctr() 164 last = x + xlen - xpos; in aes_gctr()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/crypto/ |
| H A D | aes-gcm.c | 103 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() argument 109 m = xlen / 16; in ghash() 123 if (x + xlen > xpos) { in ghash() 125 size_t last = x + xlen - xpos; in ghash() 143 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 150 if (xlen == 0) in aes_gctr() 153 n = xlen / 16; in aes_gctr() 165 last = x + xlen - xpos; in aes_gctr()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/crypto/ |
| H A D | aes-gcm.c | 103 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() argument 109 m = xlen / 16; in ghash() 123 if (x + xlen > xpos) { in ghash() 125 size_t last = x + xlen - xpos; in ghash() 143 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 150 if (xlen == 0) in aes_gctr() 153 n = xlen / 16; in aes_gctr() 165 last = x + xlen - xpos; in aes_gctr()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/crypto/ |
| H A D | aes-gcm.c | 102 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() argument 108 m = xlen / 16; in ghash() 122 if (x + xlen > xpos) { in ghash() 124 size_t last = x + xlen - xpos; in ghash() 142 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 149 if (xlen == 0) in aes_gctr() 152 n = xlen / 16; in aes_gctr() 164 last = x + xlen - xpos; in aes_gctr()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/crypto/ |
| H A D | aes-gcm.c | 102 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() argument 108 m = xlen / 16; in ghash() 122 if (x + xlen > xpos) { in ghash() 124 size_t last = x + xlen - xpos; in ghash() 142 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 149 if (xlen == 0) in aes_gctr() 152 n = xlen / 16; in aes_gctr() 164 last = x + xlen - xpos; in aes_gctr()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/crypto/ |
| H A D | aes-gcm.c | 102 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() argument 108 m = xlen / 16; in ghash() 122 if (x + xlen > xpos) { in ghash() 124 size_t last = x + xlen - xpos; in ghash() 142 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 149 if (xlen == 0) in aes_gctr() 152 n = xlen / 16; in aes_gctr() 164 last = x + xlen - xpos; in aes_gctr()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/crypto/ |
| H A D | aes-gcm.c | 102 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() argument 108 m = xlen / 16; in ghash() 122 if (x + xlen > xpos) { in ghash() 124 size_t last = x + xlen - xpos; in ghash() 142 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 149 if (xlen == 0) in aes_gctr() 152 n = xlen / 16; in aes_gctr() 164 last = x + xlen - xpos; in aes_gctr()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/crypto/ |
| H A D | aes-gcm.c | 102 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() argument 108 m = xlen / 16; in ghash() 122 if (x + xlen > xpos) { in ghash() 124 size_t last = x + xlen - xpos; in ghash() 142 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 149 if (xlen == 0) in aes_gctr() 152 n = xlen / 16; in aes_gctr() 164 last = x + xlen - xpos; in aes_gctr()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/crypto/ |
| H A D | aes-gcm.c | 102 static void ghash(const u8 *h, const u8 *x, size_t xlen, u8 *y) in ghash() argument 108 m = xlen / 16; in ghash() 122 if (x + xlen > xpos) { in ghash() 124 size_t last = x + xlen - xpos; in ghash() 142 static void aes_gctr(void *aes, const u8 *icb, const u8 *x, size_t xlen, u8 *y) in aes_gctr() argument 149 if (xlen == 0) in aes_gctr() 152 n = xlen / 16; in aes_gctr() 164 last = x + xlen - xpos; in aes_gctr()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/breakpoints/ |
| H A D | breakpoint_test.c | 58 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()
|
| /OK3568_Linux_fs/kernel/fs/cachefiles/ |
| H A D | xattr.c | 163 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()
|
| /OK3568_Linux_fs/kernel/scripts/dtc/ |
| H A D | data.c | 24 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()
|