Home
last modified time | relevance | path

Searched refs:bhp (Results 1 – 11 of 11) sorted by relevance

/linux-2.4.37.9/fs/xfs/
Dxfs_behavior.c53 bhv_insert(bhv_head_t *bhp, bhv_desc_t *bdp) in bhv_insert() argument
68 for (curdesc = bhp->bh_first; in bhv_insert()
89 bdp->bd_next = bhp->bh_first; in bhv_insert()
90 bhp->bh_first = bdp; in bhv_insert()
106 bhv_remove_not_first(bhv_head_t *bhp, bhv_desc_t *bdp) in bhv_remove_not_first() argument
110 ASSERT(bhp->bh_first != NULL); in bhv_remove_not_first()
111 ASSERT(bhp->bh_first->bd_next != NULL); in bhv_remove_not_first()
113 prev = bhp->bh_first; in bhv_remove_not_first()
114 for (curdesc = bhp->bh_first->bd_next; in bhv_remove_not_first()
132 bhv_lookup(bhv_head_t *bhp, void *ops) in bhv_lookup() argument
[all …]
Dxfs_behavior.h143 #define BHV_HEAD_FIRST(bhp) (ASSERT((bhp)->bh_first), (bhp)->bh_first) argument
177 #define bhv_remove(bhp, bdp) \ argument
179 if ((bhp)->bh_first == (bdp)) { \
184 (bhp)->bh_first = (bdp)->bd_next; \
187 bhv_remove_not_first(bhp, bdp); \
195 extern void bhv_remove_not_first(bhv_head_t *bhp, bhv_desc_t *bdp);
196 extern bhv_desc_t * bhv_lookup(bhv_head_t *bhp, void *ops);
197 extern bhv_desc_t * bhv_lookup_range(bhv_head_t *bhp, int low, int high);
198 extern bhv_desc_t * bhv_base(bhv_head_t *bhp);
Dxfs_dfrag.c78 vn_bhv_head_t *bhp, *tbhp; in xfs_swapext() local
98 bhp = VN_BHV_HEAD(vp); in xfs_swapext()
99 bdp = vn_bhv_lookup(bhp, &xfs_vnodeops); in xfs_swapext()
/linux-2.4.37.9/fs/hpfs/
Dmap.c118 struct fnode *hpfs_map_fnode(struct super_block *s, ino_t ino, struct buffer_head **bhp) in hpfs_map_fnode() argument
124 if ((fnode = hpfs_map_sector(s, ino, bhp, FNODE_RD_AHEAD))) { in hpfs_map_fnode()
163 brelse(*bhp); in hpfs_map_fnode()
167 struct anode *hpfs_map_anode(struct super_block *s, anode_secno ano, struct buffer_head **bhp) in hpfs_map_anode() argument
171 if ((anode = hpfs_map_sector(s, ano, bhp, ANODE_RD_AHEAD))) in hpfs_map_anode()
190 brelse(*bhp); in hpfs_map_anode()
Dbuffer.c122 void *hpfs_map_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp, in hpfs_map_sector() argument
129 *bhp = bh = sb_bread(s, secno); in hpfs_map_sector()
140 void *hpfs_get_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp) in hpfs_get_sector() argument
147 if ((*bhp = bh = sb_getblk(s, secno)) != NULL) { in hpfs_get_sector()
/linux-2.4.37.9/fs/xfs/linux-2.4/
Dxfs_vnode.h123 #define vn_bhv_head_init(bhp,name) bhv_head_init(bhp,name) argument
124 #define vn_bhv_remove(bhp,bdp) bhv_remove(bhp,bdp) argument
125 #define vn_bhv_lookup(bhp,ops) bhv_lookup(bhp,ops) argument
126 #define vn_bhv_lookup_unlocked(bhp,ops) bhv_lookup_unlocked(bhp,ops) argument
/linux-2.4.37.9/fs/jbd/
Drecovery.c132 static int jread(struct buffer_head **bhp, journal_t *journal, in jread() argument
139 *bhp = NULL; in jread()
173 *bhp = bh; in jread()
/linux-2.4.37.9/drivers/scsi/
Dide-scsi.c306 struct buffer_head *bhp; in idescsi_free_bh() local
309 bhp = bh; in idescsi_free_bh()
311 kfree (bhp); in idescsi_free_bh()
972 struct buffer_head *bh, *bhp, *first_bh; in idescsi_kmalloc_bh() local
974 if ((first_bh = bhp = bh = kmalloc(sizeof(struct buffer_head), GFP_ATOMIC)) == NULL) in idescsi_kmalloc_bh()
982 bhp->b_reqnext = bh; in idescsi_kmalloc_bh()
983 bhp = bh; in idescsi_kmalloc_bh()
/linux-2.4.37.9/drivers/md/
Draid5.c776 struct buffer_head **bhp; in add_stripe_bh() local
786 bhp = &sh->bh_read[dd_idx]; in add_stripe_bh()
788 bhp = &sh->bh_write[dd_idx]; in add_stripe_bh()
789 while (*bhp) { in add_stripe_bh()
791 bhp = & (*bhp)->b_reqnext; in add_stripe_bh()
793 *bhp = bh; in add_stripe_bh()
/linux-2.4.37.9/fs/
Dbuffer.c574 struct buffer_head **bhp = &lru_list[blist]; in __insert_into_lru_list() local
578 if(!*bhp) { in __insert_into_lru_list()
579 *bhp = bh; in __insert_into_lru_list()
582 bh->b_next_free = *bhp; in __insert_into_lru_list()
583 bh->b_prev_free = (*bhp)->b_prev_free; in __insert_into_lru_list()
584 (*bhp)->b_prev_free->b_next_free = bh; in __insert_into_lru_list()
585 (*bhp)->b_prev_free = bh; in __insert_into_lru_list()
/linux-2.4.37.9/fs/reiserfs/
Dinode.c1991 static inline void submit_bh_for_writepage(struct buffer_head **bhp, int nr) { in submit_bh_for_writepage() argument
1999 bh = bhp[i] ; in submit_bh_for_writepage()
2008 bh = bhp[i] ; in submit_bh_for_writepage()