Home
last modified time | relevance | path

Searched refs:p_s_bp (Results 1 – 2 of 2) sorted by relevance

/trueos/sys/gnu/fs/reiserfs/
HDreiserfs_stree.c28 B_IS_IN_TREE(const struct buf *p_s_bp) in B_IS_IN_TREE() argument
31 return (B_LEVEL(p_s_bp) != FREE_LEVEL); in B_IS_IN_TREE()
326 decrement_bcount(struct buf *p_s_bp)
329 if (p_s_bp) {
330 if (atomic_read(&(p_s_bp->b_count))) {
331 put_bh(p_s_bp);
495 struct buf *p_s_bp, *tmp_bp; in search_by_key() local
544 p_s_bp = malloc(sizeof *p_s_bp, M_REISERFSPATH, M_WAITOK); in search_by_key()
545 if (!p_s_bp) { in search_by_key()
553 bcopy(tmp_bp, p_s_bp, sizeof(struct buf)); in search_by_key()
[all …]
HDreiserfs_fs.h658 #define B_BLK_HEAD(p_s_bp) ((struct block_head *)((p_s_bp)->b_data)) argument
659 #define B_NR_ITEMS(p_s_bp) (blkh_nr_item(B_BLK_HEAD(p_s_bp))) argument
660 #define B_LEVEL(p_s_bp) (blkh_level(B_BLK_HEAD(p_s_bp))) argument
661 #define B_FREE_SPACE(p_s_bp) (blkh_free_space(B_BLK_HEAD(p_s_bp))) argument
977 #define B_N_CHILD(p_s_bp, n_pos) \ argument
978 ((struct disk_child *)((p_s_bp)->b_data + BLKH_SIZE + \
979 B_NR_ITEMS(p_s_bp) * KEY_SIZE + \
983 #define B_N_CHILD_NUM(p_s_bp, n_pos) \ argument
984 (dc_block_number(B_N_CHILD(p_s_bp, n_pos)))
985 #define PUT_B_N_CHILD_NUM(p_s_bp, n_pos, val) \ argument
[all …]