Home
last modified time | relevance | path

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

/linux-2.6.39/arch/parisc/lib/
Dmemset.c35 size_t xlen; in memset() local
55 xlen = len / (OPSIZ * 8); in memset()
56 while (xlen > 0) in memset()
67 xlen -= 1; in memset()
72 xlen = len / OPSIZ; in memset()
73 while (xlen > 0) in memset()
77 xlen -= 1; in memset()
/linux-2.6.39/fs/jfs/
Djfs_extent.c86 extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, bool abnr) in extAlloc() argument
100 if (xlen > MAXXLEN) in extAlloc()
101 xlen = MAXXLEN; in extAlloc()
137 nxlen = xlen; in extAlloc()
218 s64 xaddr, xlen, nxaddr, delta, xoff; in extRealloc() local
235 xlen = lengthXAD(xp); in extRealloc()
256 if ((rc = extBrealloc(ip, xaddr, xlen, &nxlen, &nxaddr))) in extRealloc()
267 delta = nxlen - xlen; in extRealloc()
282 nextend = ntail - xlen; in extRealloc()
300 if ((rc = xtExtend(0, ip, xoff + xlen, (int) nextend, 0))) { in extRealloc()
[all …]
Djfs_xtree.c157 int xlen; in xtLookup() local
204 xlen = lengthXAD(xad); in xtLookup()
205 xend = xoff + xlen; in xtLookup()
537 struct inode *ip, int xflag, s64 xoff, s32 xlen, s64 * xaddrp, in xtInsert() argument
554 jfs_info("xtInsert: nxoff:0x%lx nxlen:0x%x", (ulong) xoff, xlen); in xtInsert()
572 if ((cmp == 0) || (next && (xlen > next - xoff))) { in xtInsert()
588 if ((rc = dquot_alloc_block(ip, xlen))) in xtInsert()
590 if ((rc = dbAlloc(ip, hint, (s64) xlen, &xaddr))) { in xtInsert()
591 dquot_free_block(ip, xlen); in xtInsert()
613 split.len = xlen; in xtInsert()
[all …]
Djfs_xtree.h115 int xflag, s64 xoff, int xlen, s64 * xaddrp, int flag);
116 extern int xtExtend(tid_t tid, struct inode *ip, s64 xoff, int xlen,
120 s64 xoff, int xlen, s64 xaddr, int flag);
123 extern int xtDelete(tid_t tid, struct inode *ip, s64 xoff, int xlen,
Dresize.c78 int newNpages = 0, nPages, newPage, xlen, t32; in jfs_extendfs() local
388 xlen = (newNpages - nPages) << sbi->l2nbperpage; in jfs_extendfs()
389 xlen = min(xlen, (int) nblocks) & ~(sbi->nbperpage - 1); in jfs_extendfs()
394 if ((rc = xtAppend(tid, ipbmap, 0, xoff, nblocks, &xlen, &xaddr, 0))) { in jfs_extendfs()
399 ipbmap->i_size += xlen << sbi->l2bsize; in jfs_extendfs()
400 inode_add_bytes(ipbmap, xlen << sbi->l2bsize); in jfs_extendfs()
Djfs_metapage.c362 int xlen; in metapage_writepage() local
403 if (xlen && lblock == next_block) { in metapage_writepage()
405 len = min(xlen, blocks_per_mp); in metapage_writepage()
406 xlen -= len; in metapage_writepage()
426 xlen = (PAGE_CACHE_SIZE - offset) >> inode->i_blkbits; in metapage_writepage()
427 pblock = metapage_get_blocks(inode, lblock, &xlen); in metapage_writepage()
437 len = min(xlen, (int)JFS_SBI(inode->i_sb)->nbperpage); in metapage_writepage()
449 xlen -= len; in metapage_writepage()
498 int xlen; in metapage_readpage() local
508 xlen = blocks_per_page - block_offset; in metapage_readpage()
[all …]
Dinode.c203 s32 xlen = bh_result->b_size >> ip->i_blkbits; in jfs_get_block() local
214 (!xtLookup(ip, lblock64, xlen, &xflag, &xaddr, &xlen, 0)) && in jfs_get_block()
225 XADlength(&xad, xlen); in jfs_get_block()
242 bh_result->b_size = xlen << ip->i_blkbits; in jfs_get_block()
254 rc = extAlloc(ip, xlen, lblock64, &xad, false); in jfs_get_block()
Djfs_txnmgr.c2448 int xlen; in txAllocPMap() local
2463 xlen = lengthXAD(xad); in txAllocPMap()
2465 (s64) xlen, tblk); in txAllocPMap()
2468 (ulong) xaddr, xlen); in txAllocPMap()
2474 xlen = lengthPXD(&pxdlock->pxd); in txAllocPMap()
2475 dbUpdatePMap(ipbmap, false, xaddr, (s64) xlen, tblk); in txAllocPMap()
2476 jfs_info("allocPMap: xaddr:0x%lx xlen:%d", (ulong) xaddr, xlen); in txAllocPMap()
2483 xlen = lengthPXD(pxd); in txAllocPMap()
2484 dbUpdatePMap(ipbmap, false, xaddr, (s64) xlen, in txAllocPMap()
2487 (ulong) xaddr, xlen); in txAllocPMap()
[all …]
Djfs_dtree.c213 s32 xlen; in read_index_page() local
215 rc = xtLookup(inode, blkno, 1, &xflag, &xaddr, &xlen, 1); in read_index_page()
232 s32 xlen; in get_index_page() local
234 rc = xtLookup(inode, blkno, 1, &xflag, &xaddr, &xlen, 1); in get_index_page()
945 int xlen, xsize; in dtSplitUp() local
980 xlen = 1; in dtSplitUp()
985 xlen++; in dtSplitUp()
986 if ((rc = dbAlloc(ip, 0, (s64) xlen, &xaddr))) { in dtSplitUp()
995 PXDlength(pxd, xlen); in dtSplitUp()
1000 dbFree(ip, xaddr, xlen); in dtSplitUp()
[all …]
Dnamei.c726 int xlen = lengthDXD(&JFS_IP(ip)->ea); in jfs_free_zero_link() local
738 PXDlength(&pxdlock->pxd, xlen); in jfs_free_zero_link()
747 int xlen = lengthDXD(&JFS_IP(ip)->acl); in jfs_free_zero_link() local
758 PXDlength(&pxdlock->pxd, xlen); in jfs_free_zero_link()
894 s64 xlen = 0; in jfs_symlink() local
991 xlen = xsize >> JFS_SBI(sb)->l2bsize; in jfs_symlink()
992 if ((rc = xtInsert(tid, ip, 0, 0, xlen, &xaddr, 0))) { in jfs_symlink()
1027 if (xlen) in jfs_symlink()
Djfs_imap.c2462 int iagno, i, xlen; in diNewIAG() local
2528 xlen = sbi->nbperpage; in diNewIAG()
2529 if ((rc = dbAlloc(ipimap, 0, (s64) xlen, &xaddr))) { in diNewIAG()
2545 xtInsert(tid, ipimap, 0, blkno, xlen, &xaddr, 0))) { in diNewIAG()
2551 dbFree(ipimap, xaddr, (s64) xlen); in diNewIAG()
2616 duplicateIXtree(sb, blkno, xlen, &xaddr); in diNewIAG()
3008 int xlen, s64 *xaddr) in duplicateIXtree() argument
3035 if (xtInsert(tid, ip, 0, blkno, xlen, xaddr, 0)) { in duplicateIXtree()
/linux-2.6.39/tools/perf/util/
Dxyarray.c4 struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size) in xyarray__new() argument
7 struct xyarray *xy = zalloc(sizeof(*xy) + xlen * row_size); in xyarray__new()
Dxyarray.h12 struct xyarray *xyarray__new(int xlen, int ylen, size_t entry_size);
/linux-2.6.39/scripts/dtc/
Ddata.c39 struct data data_grow_for(struct data d, int xlen) in data_grow_for() argument
44 if (xlen == 0) in data_grow_for()
49 newsize = xlen; in data_grow_for()
51 while ((d.len + xlen) > newsize) in data_grow_for()
Ddtc.h101 struct data data_grow_for(struct data d, int xlen);
/linux-2.6.39/arch/parisc/include/asm/
Dgrfioctl.h84 unsigned int xlen; /* x pitch size */ member
/linux-2.6.39/drivers/video/matrox/
Dmatroxfb_accel.c394 u_int32_t xlen; in matroxfb_1bpp_imageblit() local
406 xlen = (charcell + 3) & ~3; in matroxfb_1bpp_imageblit()
434 mga_memcpy_toio(mmio, chardata, xlen); in matroxfb_1bpp_imageblit()
/linux-2.6.39/fs/ubifs/
Djournal.c1284 int err, xlen, hlen, len, lnum, xent_offs, aligned_xlen; in ubifs_jnl_delete_xattr() local
1301 xlen = UBIFS_DENT_NODE_SZ + nm->len + 1; in ubifs_jnl_delete_xattr()
1302 aligned_xlen = ALIGN(xlen, 8); in ubifs_jnl_delete_xattr()
1326 ubifs_prep_grp_node(c, xent, xlen, 0); in ubifs_jnl_delete_xattr()
1345 err = ubifs_add_dirt(c, lnum, xlen); in ubifs_jnl_delete_xattr()
/linux-2.6.39/drivers/isdn/icn/
Dicn.h162 int xlen[ICN_BCH]; /* Byte-counters/Flags for sent-ACK */ member
Dicn.c63 card->xlen[channel] = 0; in icn_free_queue()
331 card->xlen[channel] = skb->len; in icn_pollbchan_send()
333 card->xlen[channel] = 0; in icn_pollbchan_send()
358 if (card->xlen[channel]) { in icn_pollbchan_send()
362 cmd.parm.length = card->xlen[channel]; in icn_pollbchan_send()