Lines Matching refs:s
14 void *hpfs_map_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp, in hpfs_map_sector() argument
19 hpfs_lock_assert(s); in hpfs_map_sector()
23 *bhp = bh = sb_bread(s, secno); in hpfs_map_sector()
34 void *hpfs_get_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp) in hpfs_get_sector() argument
39 hpfs_lock_assert(s); in hpfs_get_sector()
43 if ((*bhp = bh = sb_getblk(s, secno)) != NULL) { in hpfs_get_sector()
55 void *hpfs_map_4sectors(struct super_block *s, unsigned secno, struct quad_buffer_head *qbh, in hpfs_map_4sectors() argument
61 hpfs_lock_assert(s); in hpfs_map_4sectors()
76 qbh->bh[0] = bh = sb_bread(s, secno); in hpfs_map_4sectors()
81 qbh->bh[1] = bh = sb_bread(s, secno + 1); in hpfs_map_4sectors()
86 qbh->bh[2] = bh = sb_bread(s, secno + 2); in hpfs_map_4sectors()
91 qbh->bh[3] = bh = sb_bread(s, secno + 3); in hpfs_map_4sectors()
113 void *hpfs_get_4sectors(struct super_block *s, unsigned secno, in hpfs_get_4sectors() argument
118 hpfs_lock_assert(s); in hpfs_get_4sectors()
130 if (!(hpfs_get_sector(s, secno, &qbh->bh[0]))) goto bail0; in hpfs_get_4sectors()
131 if (!(hpfs_get_sector(s, secno + 1, &qbh->bh[1]))) goto bail1; in hpfs_get_4sectors()
132 if (!(hpfs_get_sector(s, secno + 2, &qbh->bh[2]))) goto bail2; in hpfs_get_4sectors()
133 if (!(hpfs_get_sector(s, secno + 3, &qbh->bh[3]))) goto bail3; in hpfs_get_4sectors()