/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/ |
H A D | xfs_alloc_btree.h | 35 #define XFS_ABTB_MAGIC 0x41425442 /* 'ABTB' for bno tree */ 113 extern int xfs_alloc_get_rec(struct xfs_btree_cur *cur, xfs_agblock_t *bno, 129 * Lookup the record equal to [bno, len] in the btree given by cur. 131 extern int xfs_alloc_lookup_eq(struct xfs_btree_cur *cur, xfs_agblock_t bno, 135 * Lookup the first record greater than or equal to [bno, len] 138 extern int xfs_alloc_lookup_ge(struct xfs_btree_cur *cur, xfs_agblock_t bno, 142 * Lookup the first record less than or equal to [bno, len] 145 extern int xfs_alloc_lookup_le(struct xfs_btree_cur *cur, xfs_agblock_t bno, 149 * Update the record referred to by cur, to the value given by [bno, len]. 152 extern int xfs_alloc_update(struct xfs_btree_cur *cur, xfs_agblock_t bno, [all...] |
H A D | xfs_itable.h | 31 xfs_daddr_t bno, 79 xfs_daddr_t bno,
|
H A D | xfs_alloc.h | 168 xfs_agblock_t bno); /* block being freed */ 194 xfs_fsblock_t bno, /* starting block number of extent */ 200 xfs_agblock_t bno,
|
H A D | xfs_da_btree.h | 80 #define XFS_DA_MAKE_BNOENTRY(mp,bno,entry) \ 81 (((bno) << (mp)->m_dircook_elog) | (entry)) 82 #define XFS_DA_MAKE_COOKIE(mp,bno,entry,hash) \ 83 (((xfs_off_t)XFS_DA_MAKE_BNOENTRY(mp, bno, entry) << 32) | (hash)) 241 xfs_dablk_t bno, xfs_daddr_t mappedbno, 244 xfs_dablk_t bno, xfs_daddr_t mappedbno, 247 xfs_dablk_t bno, int whichfork);
|
H A D | xfs_dir2.c | 448 xfs_fileoff_t bno; /* directory offset of new block */ local 468 bno = XFS_B_TO_FSBT(mp, space * XFS_DIR2_SPACE_SIZE); 473 if ((error = xfs_bmap_first_unused(tp, dp, count, &bno, XFS_DATA_FORK))) 480 if ((error = xfs_bmapi(tp, dp, bno, count, 504 for (b = bno, mapi = 0; b < bno + count; ) { 511 c = (int)(bno + count - b); 545 if (got != count || mapp[0].br_startoff != bno || 547 bno + count) { 557 *dbp = XFS_DIR2_DA_TO_DB(mp, (xfs_dablk_t)bno); 697 xfs_fileoff_t bno; /* directory file offset */ local [all...] |
H A D | xfs_bmap.h | 171 xfs_fsblock_t bno, /* fs block number of extent */ 268 * File range is given by the bno/len pair. 283 xfs_fileoff_t bno, /* starting file offs. mapped */ 308 xfs_fileoff_t bno); /* starting file offs. mapped */ 320 xfs_fileoff_t bno, /* starting offset to unmap */ 373 * Search the extent records for the entry containing block bno. 374 * If bno lies in a hole, point to the next entry. If bno lies
|
H A D | xfs_bmap.c | 244 * Search the extents list for the inode, for the extent containing bno. 245 * If bno lies in a hole, point to the next entry. If bno lies past eof, 253 xfs_fileoff_t bno, /* block number searched for */ 361 xfs_fileoff_t bno, 368 #define xfs_bmap_validate_ret(bno,len,flags,mval,onmap,nmap) 375 xfs_fileoff_t bno, 380 #define xfs_bunmap_trace(ip, bno, len, flags, ra) 2855 * First try an exact bno allocation. 2856 * If it fails then do a near or start bno 3096 xfs_fsblock_t bno; local 3643 xfs_bmap_search_multi_extents( xfs_ifork_t *ifp, xfs_fileoff_t bno, int *eofp, xfs_extnum_t *lastxp, xfs_bmbt_irec_t *gotp, xfs_bmbt_irec_t *prevp) argument 3694 xfs_bmap_search_extents( xfs_inode_t *ip, xfs_fileoff_t bno, int fork, int *eofp, xfs_extnum_t *lastxp, xfs_bmbt_irec_t *gotp, xfs_bmbt_irec_t *prevp) argument 3914 xfs_bunmap_trace( xfs_inode_t *ip, xfs_fileoff_t bno, xfs_filblks_t len, int flags, inst_t *ra) argument 4093 xfs_bmap_add_free( xfs_fsblock_t bno, xfs_filblks_t len, xfs_bmap_free_t *flist, xfs_mount_t *mp) argument 4356 xfs_fileoff_t bno; /* input file offset */ local 4480 xfs_fsblock_t bno; /* block # of "block" */ local 4645 xfs_bmap_validate_ret( xfs_fileoff_t bno, xfs_filblks_t len, int flags, xfs_bmbt_irec_t *mval, int nmap, int ret_nmap) argument 4696 xfs_bmapi( xfs_trans_t *tp, xfs_inode_t *ip, xfs_fileoff_t bno, xfs_filblks_t len, int flags, xfs_fsblock_t *firstblock, xfs_extlen_t total, xfs_bmbt_irec_t *mval, int *nmap, xfs_bmap_free_t *flist, xfs_extdelta_t *delta) argument 5304 xfs_bmapi_single( xfs_trans_t *tp, xfs_inode_t *ip, int whichfork, xfs_fsblock_t *fsb, xfs_fileoff_t bno) argument 5356 xfs_bunmapi( xfs_trans_t *tp, struct xfs_inode *ip, xfs_fileoff_t bno, xfs_filblks_t len, int flags, xfs_extnum_t nexts, xfs_fsblock_t *firstblock, xfs_bmap_free_t *flist, xfs_extdelta_t *delta, int *done) argument 6041 xfs_bmap_get_bp( xfs_btree_cur_t *cur, xfs_fsblock_t bno) argument 6168 xfs_fsblock_t bno; /* block # of "block" */ local 6332 xfs_fsblock_t bno; /* block # of "block" */ local 6390 xfs_fsblock_t bno = blockno; local [all...] |
H A D | xfs_rtalloc.h | 88 xfs_rtblock_t bno, /* starting block number to allocate */ 104 xfs_rtblock_t bno, /* starting block number to free */
|
H A D | xfs_alloc.c | 51 xfs_agblock_t bno, 105 xfs_agblock_t bno; local 110 bno = roundup(foundbno, alignment); 111 diff = bno - foundbno; 114 bno = foundbno; 117 *resbno = bno; 541 * Type and bno are used to determine where in the allocation group the 622 * Allocate a variable extent at exactly agno/bno. 625 * Return the starting a.g. block (bno), or NULLAGBLOCK if we can't do it. 653 * Lookup bno an 1507 xfs_free_ag_extent( xfs_trans_t *tp, xfs_buf_t *agbp, xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len, int isfl) argument 1821 xfs_agblock_t bno; /* freelist block */ local 1999 xfs_agblock_t bno; /* block number returned */ local 2105 xfs_alloc_put_freelist( xfs_trans_t *tp, xfs_buf_t *agbp, xfs_buf_t *agflbp, xfs_agblock_t bno) argument 2452 xfs_free_extent( xfs_trans_t *tp, xfs_fsblock_t bno, xfs_extlen_t len) argument 2494 xfs_alloc_mark_busy(xfs_trans_t *tp, xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len) argument 2569 xfs_alloc_search_busy(xfs_trans_t *tp, xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len) argument [all...] |
H A D | xfs_ialloc.h | 113 * Return the location of the inode in bno/len/off, 121 xfs_fsblock_t *bno, /* output: block containing inode */
|
H A D | xfs_rtalloc.c | 97 xfs_fileoff_t bno; /* block number in file */ local 105 xfs_fsblock_t fsbno; /* filesystem block for bno */ 159 for (bno = map.br_startoff, fsbno = map.br_startblock; 160 bno < map.br_startoff + map.br_blockcount; 161 bno++, fsbno++) { 318 * bno. If we don't get maxlen then use prod to trim the length, if given. 326 xfs_rtblock_t bno, /* starting block number to allocate */ 344 error = xfs_rtcheck_range(mp, tp, bno, maxlen, 1, &next, &isfree); 352 error = xfs_rtallocate_range(mp, tp, bno, maxlen, rbpp, rsb); 357 *rtblock = bno; 323 xfs_rtallocate_extent_exact( xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, xfs_buf_t **rbpp, xfs_fsblock_t *rsb, xfs_extlen_t prod, xfs_rtblock_t *rtblock) argument 402 xfs_rtallocate_extent_near( xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, xfs_buf_t **rbpp, xfs_fsblock_t *rsb, xfs_extlen_t prod, xfs_rtblock_t *rtblock) argument 903 xfs_rtcheck_alloc_range( xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t len, int *stat) argument 2065 xfs_rtallocate_extent( xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t minlen, xfs_extlen_t maxlen, xfs_extlen_t *len, xfs_alloctype_t type, int wasdel, xfs_extlen_t prod, xfs_rtblock_t *rtblock) argument 2150 xfs_rtfree_extent( xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t len) argument [all...] |
H A D | xfs_alloc_btree.c | 75 xfs_agblock_t bno; /* btree block number */ local 222 bno = be32_to_cpu(agf->agf_roots[cur->bc_btnum]); 230 cur->bc_private.a.agbp, NULL, bno))) 247 be32_to_cpu(agf->agf_seqno), bno, 1); 286 bno = NULLAGBLOCK; 322 bno = be32_to_cpu(right->bb_leftsib); 386 bno = be32_to_cpu(left->bb_rightsib); 420 ASSERT(bno != NULLAGBLOCK); 430 rbno = bno; 452 lbno = bno; 1902 xfs_alloc_get_rec( xfs_btree_cur_t *cur, xfs_agblock_t *bno, xfs_extlen_t *len, int *stat) argument 2096 xfs_alloc_lookup_eq( xfs_btree_cur_t *cur, xfs_agblock_t bno, xfs_extlen_t len, int *stat) argument 2112 xfs_alloc_lookup_ge( xfs_btree_cur_t *cur, xfs_agblock_t bno, xfs_extlen_t len, int *stat) argument 2128 xfs_alloc_lookup_le( xfs_btree_cur_t *cur, xfs_agblock_t bno, xfs_extlen_t len, int *stat) argument 2144 xfs_alloc_update( xfs_btree_cur_t *cur, xfs_agblock_t bno, xfs_extlen_t len) argument [all...] |
H A D | xfs_da_btree.c | 1540 xfs_fileoff_t bno, b; local 1556 bno = mp->m_dirleafblk; 1559 bno = 0; 1565 if ((error = xfs_bmap_first_unused(tp, dp, count, &bno, w))) 1568 ASSERT(bno >= mp->m_dirleafblk && bno < mp->m_dirfreeblk); 1574 if ((error = xfs_bmapi(tp, dp, bno, count, 1592 for (b = bno, mapi = 0; b < bno + count; ) { 1594 c = (int)(bno 1879 xfs_da_map_covers_blocks( int nmap, xfs_bmbt_irec_t *mapp, xfs_dablk_t bno, int count) argument 1906 xfs_da_do_buf( xfs_trans_t *trans, xfs_inode_t *dp, xfs_dablk_t bno, xfs_daddr_t *mappedbnop, xfs_dabuf_t **bpp, int whichfork, int caller, inst_t *ra) argument 2120 xfs_da_get_buf( xfs_trans_t *trans, xfs_inode_t *dp, xfs_dablk_t bno, xfs_daddr_t mappedbno, xfs_dabuf_t **bpp, int whichfork) argument 2136 xfs_da_read_buf( xfs_trans_t *trans, xfs_inode_t *dp, xfs_dablk_t bno, xfs_daddr_t mappedbno, xfs_dabuf_t **bpp, int whichfork) argument 2152 xfs_da_reada_buf( xfs_trans_t *trans, xfs_inode_t *dp, xfs_dablk_t bno, int whichfork) argument [all...] |
H A D | xfs_itable.c | 56 xfs_daddr_t bno, /* starting bno of inode cluster */ 66 XFS_IGET_BULKSTAT, XFS_ILOCK_SHARED, &ip, bno); 216 xfs_daddr_t bno, /* starting bno of inode cluster */ 239 error = xfs_bulkstat_one_iget(mp, ino, bno, buf, stat); 320 xfs_daddr_t bno; /* inode cluster start daddr */ local 573 bno = XFS_AGB_TO_DADDR(mp, agno, 588 &dip, &bp, bno, 614 bno 53 xfs_bulkstat_one_iget( xfs_mount_t *mp, xfs_ino_t ino, xfs_daddr_t bno, xfs_bstat_t *buf, int *stat) argument 210 xfs_bulkstat_one( xfs_mount_t *mp, xfs_ino_t ino, void __user *buffer, int ubsize, void *private_data, xfs_daddr_t bno, int *ubused, void *dibuff, int *stat) argument [all...] |
H A D | xfs_mount.h | 249 #define XFS_BMAPI(mp, trans,io,bno,len,f,first,tot,mval,nmap,flist,delta) \ 251 (trans,(io)->io_obj,bno,len,f,first,tot,mval,nmap,flist,delta) 252 #define XFS_BUNMAPI(mp, trans,io,bno,len,f,nexts,first,flist,delta,done) \ 254 (trans,(io)->io_obj,bno,len,f,nexts,first,flist,delta,done)
|
H A D | xfs_ialloc_btree.c | 69 xfs_agblock_t bno; /* btree block number */ local 190 bno = be32_to_cpu(agi->agi_root); 197 XFS_AGB_TO_FSB(mp, cur->bc_private.i.agno, bno), 1))) 237 bno = NULLAGBLOCK; 273 bno = be32_to_cpu(right->bb_leftsib); 333 bno = be32_to_cpu(left->bb_rightsib); 367 ASSERT(bno != NULLAGBLOCK); 377 rbno = bno; 399 lbno = bno;
|
H A D | xfs_dir2_leaf.h | 255 extern int xfs_dir2_leaf_init(struct xfs_da_args *args, xfs_dir2_db_t bno,
|
H A D | xfs_iget.c | 181 * bno -- the block number starting the buffer containing the inode, 193 xfs_daddr_t bno) 351 error = xfs_iread(mp, tp, ino, &ip, bno, 513 xfs_daddr_t bno) 529 lock_flags, ipp, bno); 185 xfs_iget_core( bhv_vnode_t *vp, xfs_mount_t *mp, xfs_trans_t *tp, xfs_ino_t ino, uint flags, uint lock_flags, xfs_inode_t **ipp, xfs_daddr_t bno) argument 506 xfs_iget( xfs_mount_t *mp, xfs_trans_t *tp, xfs_ino_t ino, uint flags, uint lock_flags, xfs_inode_t **ipp, xfs_daddr_t bno) argument
|
H A D | xfs_ialloc.c | 1136 * Return the location of the inode in bno/off, for mapping it into a buffer. 1144 xfs_fsblock_t *bno, /* output: block containing inode */ 1206 *bno = XFS_AGB_TO_FSB(mp, agno, agbno); 1212 if (*bno != NULLFSBLOCK) { 1215 cluster_agbno = XFS_FSB_TO_AGBNO(mp, *bno); 1273 *bno = XFS_AGB_TO_FSB(mp, agno, cluster_agbno); 1140 xfs_dilocate( xfs_mount_t *mp, xfs_trans_t *tp, xfs_ino_t ino, xfs_fsblock_t *bno, int *len, int *off, uint flags) argument
|
H A D | xfs_bmap_btree.c | 318 xfs_fsblock_t bno; /* fs-relative block number */ local 470 bno = NULLFSBLOCK; 489 bno = be64_to_cpu(right->bb_leftsib); 545 bno = be64_to_cpu(left->bb_rightsib); 569 ASSERT(bno != NULLFSBLOCK); 572 rbno = bno; 588 lbno = bno; 2207 xfs_fsblock_t bno, 2212 cur->bc_rec.b.br_startblock = bno; 2221 xfs_fsblock_t bno, 2204 xfs_bmbt_lookup_eq( xfs_btree_cur_t *cur, xfs_fileoff_t off, xfs_fsblock_t bno, xfs_filblks_t len, int *stat) argument 2218 xfs_bmbt_lookup_ge( xfs_btree_cur_t *cur, xfs_fileoff_t off, xfs_fsblock_t bno, xfs_filblks_t len, int *stat) argument 2623 xfs_bmbt_update( xfs_btree_cur_t *cur, xfs_fileoff_t off, xfs_fsblock_t bno, xfs_filblks_t len, xfs_exntst_t state) argument [all...] |
H A D | xfs_inode.c | 253 xfs_daddr_t bno, 267 imap.im_blkno = bno; 309 ASSERT(bno == 0 || bno == imap.im_blkno); 857 xfs_daddr_t bno, 879 error = xfs_itobp(mp, tp, ip, &dip, &bp, bno, imap_flags); 4348 * Return a pointer to the extent record for file system block bno. 4353 xfs_fileoff_t bno, /* block number to search for */ 4375 erp = xfs_iext_bno_to_irec(ifp, bno, &erp_idx); 4388 if (bno < startof 247 xfs_itobp( xfs_mount_t *mp, xfs_trans_t *tp, xfs_inode_t *ip, xfs_dinode_t **dipp, xfs_buf_t **bpp, xfs_daddr_t bno, uint imap_flags) argument 852 xfs_iread( xfs_mount_t *mp, xfs_trans_t *tp, xfs_ino_t ino, xfs_inode_t **ipp, xfs_daddr_t bno, uint imap_flags) argument 4351 xfs_iext_bno_to_ext( xfs_ifork_t *ifp, xfs_fileoff_t bno, xfs_extnum_t *idxp) argument 4422 xfs_iext_bno_to_irec( xfs_ifork_t *ifp, xfs_fileoff_t bno, int *erp_idxp) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/freevxfs/ |
H A D | vxfs_bmap.c | 87 daddr_t bno; local 95 bno = indir[(bn/indsize) % (indsize*bn)] + (bn%indsize); 98 return bno;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | ufs_fs.h | 273 #define ufs_cbtocylno(bno) \ 274 ((bno) * uspi->s_nspf / uspi->s_spc) 275 #define ufs_cbtorpos(bno) \ 276 ((((bno) * uspi->s_nspf % uspi->s_spc / uspi->s_nsect \ 277 * uspi->s_trackskew + (bno) * uspi->s_nspf % uspi->s_spc \
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/s390/kernel/ |
H A D | head64.S | 159 bno 0f-.LPG1(%r13) 186 bno 1f-.LPG1(%r13) # if yes, MVCOS is present
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/linux-2.6/ |
H A D | xfs_buf.h | 319 #define XFS_BUF_SET_ADDR(bp, bno) ((bp)->b_bn = (xfs_daddr_t)(bno))
|