Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/xfs/
Dxfs_dir2_leaf.c87 xfs_dabuf_t *dbp) /* input block's buffer */ in xfs_dir2_block_to_leaf() argument
105 xfs_dir2_trace_args_b("block_to_leaf", args, dbp); in xfs_dir2_block_to_leaf()
127 block = dbp->data; in xfs_dir2_block_to_leaf()
128 xfs_dir2_data_check(dp, dbp); in xfs_dir2_block_to_leaf()
148 xfs_dir2_data_make_free(tp, dbp, in xfs_dir2_block_to_leaf()
171 xfs_dir2_data_log_header(tp, dbp); in xfs_dir2_block_to_leaf()
173 xfs_dir2_data_check(dp, dbp); in xfs_dir2_block_to_leaf()
189 xfs_dabuf_t *dbp; /* data block buffer */ in xfs_dir2_leaf_addname() local
373 if ((error = xfs_dir2_data_init(args, use_block, &dbp))) { in xfs_dir2_leaf_addname()
394 data = dbp->data; in xfs_dir2_leaf_addname()
[all …]
Dxfs_dir2_trace.c133 xfs_dabuf_t *dbp) in xfs_dir2_trace_args_bb() argument
143 (void *)(dbp ? dbp->bps[0] : NULL)); in xfs_dir2_trace_args_bb()
173 xfs_buf_t *dbp = bp ? bp->bps[0] : NULL; in xfs_dir2_trace_args_db() local
182 (void *)dbp); in xfs_dir2_trace_args_db()
224 xfs_buf_t *dbp = bp ? bp->bps[0] : NULL; in xfs_dir2_trace_args_sb() local
233 (void *)dbp); in xfs_dir2_trace_args_sb()
Dxfs_dir2.c367 xfs_dirent_t *dbp; /* malloc'ed buffer */ in xfs_dir2_getdents() local
383 dbp = NULL; in xfs_dir2_getdents()
386 dbp = kmem_alloc(sizeof(*dbp) + MAXNAMELEN, KM_SLEEP); in xfs_dir2_getdents()
395 rval = xfs_dir2_sf_getdents(dp, uio, eofp, dbp, put); in xfs_dir2_getdents()
399 rval = xfs_dir2_block_getdents(tp, dp, uio, eofp, dbp, put); in xfs_dir2_getdents()
401 rval = xfs_dir2_leaf_getdents(tp, dp, uio, eofp, dbp, put); in xfs_dir2_getdents()
402 if (dbp != NULL) in xfs_dir2_getdents()
403 kmem_free(dbp, sizeof(*dbp) + MAXNAMELEN); in xfs_dir2_getdents()
535 xfs_dir2_db_t *dbp) /* out: block number added */ in xfs_dir2_grow_inode() argument
650 *dbp = XFS_DIR2_DA_TO_DB(mp, (xfs_dablk_t)bno); in xfs_dir2_grow_inode()
[all …]
Dxfs_dir2.h81 struct xfs_dirent *dbp; /* buffer pointer */ member
97 xfs_dir2_db_t *dbp);
Dxfs_dir.c149 xfs_dirent_t *dbp,
161 xfs_dirent_t *dbp,
453 xfs_dirent_t *dbp; in xfs_dir_getdents() local
469 dbp = NULL; in xfs_dir_getdents()
472 dbp = kmem_alloc(sizeof(*dbp) + MAXNAMELEN, KM_SLEEP); in xfs_dir_getdents()
482 retval = xfs_dir_shortform_getdents(dp, uio, eofp, dbp, put); in xfs_dir_getdents()
484 retval = xfs_dir_leaf_getdents(trans, dp, uio, eofp, dbp, put); in xfs_dir_getdents()
486 retval = xfs_dir_node_getdents(trans, dp, uio, eofp, dbp, put); in xfs_dir_getdents()
488 if (dbp != NULL) in xfs_dir_getdents()
489 kmem_free(dbp, sizeof(*dbp) + MAXNAMELEN); in xfs_dir_getdents()
[all …]
Dxfs_dir2_block.c454 xfs_dirent_t *dbp, /* caller's buffer */ in xfs_dir2_block_getdents() argument
498 p.dbp = dbp; in xfs_dir2_block_getdents()
904 xfs_dabuf_t *dbp) /* data buffer */ in xfs_dir2_leaf_to_block() argument
925 xfs_dir2_trace_args_bb("leaf_to_block", args, lbp, dbp); in xfs_dir2_leaf_to_block()
954 if (dbp == NULL && in xfs_dir2_leaf_to_block()
955 (error = xfs_da_read_buf(tp, dp, mp->m_dirdatablk, -1, &dbp, in xfs_dir2_leaf_to_block()
959 block = dbp->data; in xfs_dir2_leaf_to_block()
987 xfs_dir2_data_use_free(tp, dbp, dup, mp->m_dirblksize - size, size, in xfs_dir2_leaf_to_block()
995 xfs_dir2_block_log_tail(tp, dbp); in xfs_dir2_leaf_to_block()
1006 xfs_dir2_block_log_leaf(tp, dbp, 0, INT_GET(btp->count, ARCH_CONVERT) - 1); in xfs_dir2_leaf_to_block()
[all …]
Dxfs_dir2_block.h108 struct uio *uio, int *eofp, struct xfs_dirent *dbp,
122 struct xfs_dabuf *dbp);
Dxfs_dir2_trace.h62 struct xfs_dabuf *lbp, struct xfs_dabuf *dbp);
77 #define xfs_dir2_trace_args_bb(where, args, lbp, dbp) argument
Dxfs_dir_leaf.h152 struct xfs_dirent *dbp; /* buffer pointer */ member
198 struct xfs_dirent *dbp, xfs_dir_put_t put);
226 int *eobp, struct xfs_dirent *dbp,
Dxfs_dir2_node.c875 xfs_dabuf_t *dbp; /* data block buffer */ in xfs_dir2_leafn_remove() local
916 dbp = dblk->bp; in xfs_dir2_leafn_remove()
917 data = dbp->data; in xfs_dir2_leafn_remove()
921 xfs_dir2_data_make_free(tp, dbp, off, in xfs_dir2_leafn_remove()
930 xfs_dir2_data_log_header(tp, dbp); in xfs_dir2_leafn_remove()
931 xfs_dir2_data_check(dp, dbp); in xfs_dir2_leafn_remove()
971 error = xfs_dir2_shrink_inode(args, db, dbp); in xfs_dir2_leafn_remove()
982 xfs_da_buf_done(dbp); in xfs_dir2_leafn_remove()
1387 xfs_dabuf_t *dbp; /* data block buffer */ in xfs_dir2_node_addname_int() local
1553 (error = xfs_dir2_data_init(args, dbno, &dbp)))) { in xfs_dir2_node_addname_int()
[all …]
Dxfs_log_recover.c3545 xfs_buf_t *hbp, *dbp; in xlog_do_recovery_pass() local
3594 dbp = xlog_get_bp(log, BTOBB(h_size)); in xlog_do_recovery_pass()
3595 if (!dbp) { in xlog_do_recovery_pass()
3613 error = xlog_bread(log, blk_no + hblks, bblks, dbp); in xlog_do_recovery_pass()
3616 offset = xlog_align(log, blk_no + hblks, bblks, dbp); in xlog_do_recovery_pass()
3692 error = xlog_bread(log, blk_no, bblks, dbp); in xlog_do_recovery_pass()
3695 offset = xlog_align(log, blk_no, bblks, dbp); in xlog_do_recovery_pass()
3710 split_bblks, dbp))) in xlog_do_recovery_pass()
3713 split_bblks, dbp); in xlog_do_recovery_pass()
3727 bufaddr = XFS_BUF_PTR(dbp); in xlog_do_recovery_pass()
[all …]
Dxfs_dir2_leaf.h306 xfs_dir2_block_to_leaf(struct xfs_da_args *args, struct xfs_dabuf *dbp);
321 struct uio *uio, int *eofp, struct xfs_dirent *dbp,
Dxfs_dir2_sf.h244 struct xfs_dirent *dbp, xfs_dir2_put_t put);
Dxfs_dir_leaf.c435 xfs_dirent_t *dbp, xfs_dir_put_t put) in xfs_dir_shortform_getdents() argument
528 p.dbp = dbp; in xfs_dir_shortform_getdents()
1943 xfs_dirent_t *dbp, in xfs_dir_leaf_getdents_int() argument
2025 p.dbp = dbp; in xfs_dir_leaf_getdents_int()
2222 idbp = pa->dbp; in xfs_dir_put_dirent64_uio()
Dxfs_dir2_sf.c724 xfs_dirent_t *dbp, /* caller's buffer */ in xfs_dir2_sf_getdents() argument
767 p.dbp = dbp; in xfs_dir2_sf_getdents()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_file.c251 xfs_dirent_t *dbp = NULL; in linvfs_readdir() local
288 dbp = (xfs_dirent_t *)read_buf; in linvfs_readdir()
290 namelen = strlen(dbp->d_name); in linvfs_readdir()
292 if (filldir(dirent, dbp->d_name, namelen, in linvfs_readdir()
294 (ino_t) dbp->d_ino, in linvfs_readdir()
298 size -= dbp->d_reclen; in linvfs_readdir()
299 curr_offset = (loff_t)dbp->d_off /* & 0x7fffffff */; in linvfs_readdir()
300 dbp = nextdp(dbp); in linvfs_readdir()
307 else if (dbp) in linvfs_readdir()
/linux-2.4.37.9/fs/freevxfs/
Dvxfs_lookup.c136 struct vxfs_dirblk *dbp; in vxfs_find_entry() local
142 dbp = (struct vxfs_dirblk *)baddr; in vxfs_find_entry()
143 de = (struct vxfs_direct *)(baddr + VXFS_DIRBLKOV(dbp)); in vxfs_find_entry()
283 struct vxfs_dirblk *dbp; in vxfs_readdir() local
289 dbp = (struct vxfs_dirblk *)baddr; in vxfs_readdir()
293 (baddr + VXFS_DIRBLKOV(dbp))); in vxfs_readdir()
Dvxfs_dir.h92 #define VXFS_DIRBLKOV(dbp) ((sizeof(short) * dbp->d_nhash) + 4) argument