Lines Matching refs:s
11 void hpfs_lock_creation(struct super_block *s) in hpfs_lock_creation() argument
16 down(&hpfs_sb(s)->hpfs_creation_de); in hpfs_lock_creation()
19 void hpfs_unlock_creation(struct super_block *s) in hpfs_unlock_creation() argument
24 up(&hpfs_sb(s)->hpfs_creation_de); in hpfs_unlock_creation()
29 void *hpfs_map_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp, in hpfs_map_sector() argument
36 *bhp = bh = sb_bread(s, secno); in hpfs_map_sector()
47 void *hpfs_get_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp) in hpfs_get_sector() argument
54 if ((*bhp = bh = sb_getblk(s, secno)) != NULL) { in hpfs_get_sector()
66 void *hpfs_map_4sectors(struct super_block *s, unsigned secno, struct quad_buffer_head *qbh, in hpfs_map_4sectors() argument
85 qbh->bh[0] = bh = sb_bread(s, secno); in hpfs_map_4sectors()
90 qbh->bh[1] = bh = sb_bread(s, secno + 1); in hpfs_map_4sectors()
95 qbh->bh[2] = bh = sb_bread(s, secno + 2); in hpfs_map_4sectors()
100 qbh->bh[3] = bh = sb_bread(s, secno + 3); in hpfs_map_4sectors()
122 void *hpfs_get_4sectors(struct super_block *s, unsigned secno, in hpfs_get_4sectors() argument
137 if (!(hpfs_get_sector(s, secno, &qbh->bh[0]))) goto bail0; in hpfs_get_4sectors()
138 if (!(hpfs_get_sector(s, secno + 1, &qbh->bh[1]))) goto bail1; in hpfs_get_4sectors()
139 if (!(hpfs_get_sector(s, secno + 2, &qbh->bh[2]))) goto bail2; in hpfs_get_4sectors()
140 if (!(hpfs_get_sector(s, secno + 3, &qbh->bh[3]))) goto bail3; in hpfs_get_4sectors()