Searched refs:bno (Results 1 - 24 of 24) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/
H A Dxfs_alloc.h125 xfs_agblock_t bno,
178 xfs_agblock_t bno, /* block being freed */
205 xfs_fsblock_t bno, /* starting block number of extent */
H A Dxfs_alloc.c46 xfs_agblock_t bno, xfs_extlen_t len);
63 * Lookup the record equal to [bno, len] in the btree given by cur.
68 xfs_agblock_t bno, /* starting block of extent */
72 cur->bc_rec.a.ar_startblock = bno;
78 * Lookup the first record greater than or equal to [bno, len]
84 xfs_agblock_t bno, /* starting block of extent */
88 cur->bc_rec.a.ar_startblock = bno;
94 * Lookup the first record less than or equal to [bno, len]
100 xfs_agblock_t bno, /* starting block of extent */
104 cur->bc_rec.a.ar_startblock = bno;
66 xfs_alloc_lookup_eq( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, int *stat) argument
82 xfs_alloc_lookup_ge( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, int *stat) argument
98 xfs_alloc_lookup_le( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len, int *stat) argument
115 xfs_alloc_update( struct xfs_btree_cur *cur, xfs_agblock_t bno, xfs_extlen_t len) argument
131 xfs_alloc_get_rec( struct xfs_btree_cur *cur, xfs_agblock_t *bno, xfs_extlen_t *len, int *stat) argument
161 xfs_agblock_t bno; local
1435 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
1762 xfs_agblock_t bno; /* freelist block */ local
1940 xfs_agblock_t bno; /* block number returned */ local
2062 xfs_alloc_put_freelist( xfs_trans_t *tp, xfs_buf_t *agbp, xfs_buf_t *agflbp, xfs_agblock_t bno, int btreeblk) argument
2447 xfs_free_extent( xfs_trans_t *tp, xfs_fsblock_t bno, xfs_extlen_t len) argument
2571 xfs_alloc_busy_insert( struct xfs_trans *tp, xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len) argument
2680 xfs_alloc_busy_search( struct xfs_mount *mp, xfs_agnumber_t agno, xfs_agblock_t bno, xfs_extlen_t len) argument
[all...]
H A Dxfs_dir2.c512 xfs_fileoff_t bno; /* directory offset of new block */ local
535 bno = XFS_B_TO_FSBT(mp, space * XFS_DIR2_SPACE_SIZE);
540 if ((error = xfs_bmap_first_unused(tp, dp, count, &bno, XFS_DATA_FORK)))
547 if ((error = xfs_bmapi(tp, dp, bno, count,
571 for (b = bno, mapi = 0; b < bno + count; ) {
578 c = (int)(bno + count - b);
611 if (got != count || mapp[0].br_startoff != bno ||
613 bno + count) {
626 *dbp = xfs_dir2_da_to_db(mp, (xfs_dablk_t)bno);
696 xfs_fileoff_t bno; /* directory file offset */ local
[all...]
H A Dxfs_bmap.h188 xfs_fsblock_t bno, /* fs block number of extent */
271 * File range is given by the bno/len pair.
286 xfs_fileoff_t bno, /* starting file offs. mapped */
309 xfs_fileoff_t bno); /* starting file offs. mapped */
321 xfs_fileoff_t bno, /* starting offset to unmap */
H A Dxfs_bmap.c238 * Search the extents list for the inode, for the extent containing bno.
239 * If bno lies in a hole, point to the next entry. If bno lies past eof,
247 xfs_fileoff_t bno, /* block number searched for */
283 xfs_fileoff_t bno,
290 #define xfs_bmap_validate_ret(bno,len,flags,mval,onmap,nmap)
324 xfs_fsblock_t bno,
329 cur->bc_rec.b.br_startblock = bno;
338 xfs_fsblock_t bno,
343 cur->bc_rec.b.br_startblock = bno;
321 xfs_bmbt_lookup_eq( struct xfs_btree_cur *cur, xfs_fileoff_t off, xfs_fsblock_t bno, xfs_filblks_t len, int *stat) argument
335 xfs_bmbt_lookup_ge( struct xfs_btree_cur *cur, xfs_fileoff_t off, xfs_fsblock_t bno, xfs_filblks_t len, int *stat) argument
354 xfs_bmbt_update( struct xfs_btree_cur *cur, xfs_fileoff_t off, xfs_fsblock_t bno, xfs_filblks_t len, xfs_exntst_t state) argument
2867 xfs_fsblock_t bno; local
3429 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
3480 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
3695 xfs_bmap_add_free( xfs_fsblock_t bno, xfs_filblks_t len, xfs_bmap_free_t *flist, xfs_mount_t *mp) argument
3968 xfs_fileoff_t bno; /* input file offset */ local
4108 xfs_fsblock_t bno; /* block # of "block" */ local
4266 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
4317 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) argument
4901 xfs_bmapi_single( xfs_trans_t *tp, xfs_inode_t *ip, int whichfork, xfs_fsblock_t *fsb, xfs_fileoff_t bno) argument
4953 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, int *done) argument
5664 xfs_bmap_get_bp( struct xfs_btree_cur *cur, xfs_fsblock_t bno) argument
5753 xfs_fsblock_t bno; /* block # of "block" */ local
5918 xfs_fsblock_t bno; /* block # of "block" */ local
5972 xfs_fsblock_t bno = blockno; local
[all...]
H A Dxfs_alloc_btree.c80 xfs_agblock_t bno; local
86 &bno, 1);
92 if (bno == NULLAGBLOCK) {
99 new->s = cpu_to_be32(bno);
113 xfs_agblock_t bno; local
116 bno = xfs_daddr_to_agbno(cur->bc_mp, XFS_BUF_ADDR(bp));
117 error = xfs_alloc_put_freelist(cur->bc_tp, agbp, NULL, bno, 1);
132 xfs_alloc_busy_insert(cur->bc_tp, be32_to_cpu(agf->agf_seqno), bno, 1);
H A Dxfs_rtalloc.h86 xfs_rtblock_t bno, /* starting block number to allocate */
102 xfs_rtblock_t bno, /* starting block number to free */
H A Dxfs_rtalloc.c80 xfs_fileoff_t bno; /* block number in file */ local
87 xfs_fsblock_t fsbno; /* filesystem block for bno */
144 for (bno = map.br_startoff, fsbno = map.br_startblock;
145 bno < map.br_startoff + map.br_blockcount;
146 bno++, fsbno++) {
306 * bno. If we don't get maxlen then use prod to trim the length, if given.
314 xfs_rtblock_t bno, /* starting block number to allocate */
332 error = xfs_rtcheck_range(mp, tp, bno, maxlen, 1, &next, &isfree);
340 error = xfs_rtallocate_range(mp, tp, bno, maxlen, rbpp, rsb);
345 *rtblock = bno;
311 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
390 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
897 xfs_rtcheck_alloc_range( xfs_mount_t *mp, xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t len, int *stat) argument
2066 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
2151 xfs_rtfree_extent( xfs_trans_t *tp, xfs_rtblock_t bno, xfs_extlen_t len) argument
[all...]
H A Dxfs_da_btree.h252 xfs_dablk_t bno, xfs_daddr_t mappedbno,
255 xfs_dablk_t bno, xfs_daddr_t mappedbno,
258 xfs_dablk_t bno, int whichfork);
H A Dxfs_da_btree.c1556 xfs_fileoff_t bno, b; local
1575 bno = mp->m_dirleafblk;
1578 bno = 0;
1584 if ((error = xfs_bmap_first_unused(tp, dp, count, &bno, w)))
1587 ASSERT(bno >= mp->m_dirleafblk && bno < mp->m_dirfreeblk);
1593 if ((error = xfs_bmapi(tp, dp, bno, count,
1611 for (b = bno, mapi = 0; b < bno + count; ) {
1613 c = (int)(bno
1899 xfs_da_map_covers_blocks( int nmap, xfs_bmbt_irec_t *mapp, xfs_dablk_t bno, int count) argument
1926 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
2139 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
2155 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
2171 xfs_da_reada_buf( xfs_trans_t *trans, xfs_inode_t *dp, xfs_dablk_t bno, int whichfork) argument
[all...]
H A Dxfs_dir2_leaf.h238 extern int xfs_dir2_leaf_init(struct xfs_da_args *args, xfs_dir2_db_t bno,
H A Dxfs_ag.h40 * Btree number 0 is bno, 1 is cnt. This value gives the size of the
185 struct rb_node rb_node; /* ag by-bno indexed search tree */
188 xfs_agblock_t bno; member in struct:xfs_busy_extent
208 /* # of levels in bno & cnt btree */
H A Dxfs_itable.c206 xfs_daddr_t bno; /* inode cluster start daddr */ local
465 bno = XFS_AGB_TO_DADDR(mp, agno, agbno);
H A Dxfs_dir2_leaf.c66 xfs_dablk_t blkno; /* leaf block's bno */
73 xfs_dir2_db_t ldb; /* leaf block's bno */
1115 xfs_dir2_db_t bno, /* directory block number */
1131 ASSERT(bno >= XFS_DIR2_LEAF_FIRSTDB(mp) &&
1132 bno < XFS_DIR2_FREE_FIRSTDB(mp));
1136 error = xfs_da_get_buf(tp, dp, xfs_dir2_db_to_da(mp, bno), -1, &bp,
1113 xfs_dir2_leaf_init( xfs_da_args_t *args, xfs_dir2_db_t bno, xfs_dabuf_t **bpp, int magic) argument
H A Dxfs_inode.c3743 * Return a pointer to the extent record for file system block bno.
3748 xfs_fileoff_t bno, /* block number to search for */
3770 erp = xfs_iext_bno_to_irec(ifp, bno, &erp_idx);
3783 if (bno < startoff) {
3785 } else if (bno >= startoff + blockcount) {
3800 if (bno >= startoff + blockcount) {
3813 * extent record for filesystem block bno. Store the index of the
3819 xfs_fileoff_t bno, /* block number to search for */
3838 if (bno < xfs_bmbt_get_startoff(erp->er_extbuf)) {
3840 } else if (erp_next && bno >
3746 xfs_iext_bno_to_ext( xfs_ifork_t *ifp, xfs_fileoff_t bno, xfs_extnum_t *idxp) argument
3817 xfs_iext_bno_to_irec( xfs_ifork_t *ifp, xfs_fileoff_t bno, int *erp_idxp) argument
[all...]
H A Dxfs_btree.c148 xfs_dfsbno_t bno, /* btree block disk address */
153 bno != NULLDFSBNO &&
154 XFS_FSB_SANITY_CHECK(cur->bc_mp, bno));
165 xfs_agblock_t bno, /* btree block disk address */
172 bno != NULLAGBLOCK &&
173 bno != 0 &&
174 bno < agblocks);
146 xfs_btree_check_lptr( struct xfs_btree_cur *cur, xfs_dfsbno_t bno, int level) argument
163 xfs_btree_check_sptr( struct xfs_btree_cur *cur, xfs_agblock_t bno, int level) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/freevxfs/
H A Dvxfs_bmap.c87 daddr_t bno; local
95 bno = indir[(bn/indsize) % (indsize*bn)] + (bn%indsize);
98 return bno;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ufs/
H A Dufs_fs.h235 #define ufs_cbtocylno(bno) \
236 ((bno) * uspi->s_nspf / uspi->s_spc)
237 #define ufs_cbtorpos(bno) \
239 (((((bno) * uspi->s_nspf % uspi->s_spc) % \
243 ((((bno) * uspi->s_nspf % uspi->s_spc / uspi->s_nsect \
244 * uspi->s_trackskew + (bno) * uspi->s_nspf % uspi->s_spc \
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ceph/
H A Dosdmap.h116 u64 *bno, u64 *oxoff, u64 *oxlen);
H A Dosd_client.c59 u64 bno; local
64 ceph_calc_file_object_mapping(layout, off, plen, &bno,
70 sprintf(req->r_oid, "%llx.%08llx", vino.ino, bno);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/linux-2.6/
H A Dxfs_trace.h282 __field(xfs_daddr_t, bno)
292 __entry->bno = bp->b_bn;
300 TP_printk("dev %d:%d bno 0x%llx len 0x%zx hold %d pincount %d "
303 (unsigned long long)__entry->bno,
355 __field(xfs_daddr_t, bno)
365 __entry->bno = bp->b_bn;
373 TP_printk("dev %d:%d bno 0x%llx len 0x%zx hold %d pincount %d "
376 (unsigned long long)__entry->bno,
398 __field(xfs_daddr_t, bno)
409 __entry->bno
[all...]
H A Dxfs_buf.h328 #define XFS_BUF_SET_ADDR(bp, bno) ((bp)->b_bn = (xfs_daddr_t)(bno))
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/xfs/quota/
H A Dxfs_qm.c1397 xfs_fsblock_t bno,
1426 XFS_FSB_TO_DADDR(mp, bno),
1436 bno++;
1394 xfs_qm_dqiter_bufs( xfs_mount_t *mp, xfs_dqid_t firstid, xfs_fsblock_t bno, xfs_filblks_t blkcnt, uint flags) argument
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/s390/kernel/
H A Dhead.S333 bno .Lnoreset

Completed in 401 milliseconds