Lines Matching refs:ORANGEFS_SB
41 struct orangefs_sb_info_s *orangefs_sb = ORANGEFS_SB(root->d_sb); in orangefs_show_options()
55 struct orangefs_sb_info_s *orangefs_sb = ORANGEFS_SB(sb); in parse_mount_options()
162 (int)(ORANGEFS_SB(sb)->fs_id)); in orangefs_statfs()
167 new_op->upcall.req.statfs.fs_id = ORANGEFS_SB(sb)->fs_id; in orangefs_statfs()
169 if (ORANGEFS_SB(sb)->flags & ORANGEFS_OPT_INTR) in orangefs_statfs()
189 memcpy(&buf->f_fsid, &ORANGEFS_SB(sb)->fs_id, sizeof(buf->f_fsid)); in orangefs_statfs()
407 if (!ORANGEFS_SB(sb)) in orangefs_fill_sb()
409 ORANGEFS_SB(sb)->sb = sb; in orangefs_fill_sb()
411 ORANGEFS_SB(sb)->root_khandle = fs_mount->root_khandle; in orangefs_fill_sb()
412 ORANGEFS_SB(sb)->fs_id = fs_mount->fs_id; in orangefs_fill_sb()
413 ORANGEFS_SB(sb)->id = fs_mount->id; in orangefs_fill_sb()
431 root_object.khandle = ORANGEFS_SB(sb)->root_khandle; in orangefs_fill_sb()
432 root_object.fs_id = ORANGEFS_SB(sb)->fs_id; in orangefs_fill_sb()
522 strncpy(ORANGEFS_SB(sb)->devname, in orangefs_mount()
527 ORANGEFS_SB(sb)->mount_pending = 0; in orangefs_mount()
535 ORANGEFS_SB(sb)); in orangefs_mount()
537 list_add_tail(&ORANGEFS_SB(sb)->list, &orangefs_superblocks); in orangefs_mount()
542 ORANGEFS_SB(sb)->no_list = 0; in orangefs_mount()
560 ORANGEFS_SB(sb)->no_list = 1; in orangefs_mount()
583 if (!ORANGEFS_SB(sb)) { in orangefs_kill_sb()
592 r = orangefs_unmount(ORANGEFS_SB(sb)->id, ORANGEFS_SB(sb)->fs_id, in orangefs_kill_sb()
593 ORANGEFS_SB(sb)->devname); in orangefs_kill_sb()
595 ORANGEFS_SB(sb)->mount_pending = 1; in orangefs_kill_sb()
597 if (!ORANGEFS_SB(sb)->no_list) { in orangefs_kill_sb()
601 __list_del_entry(&ORANGEFS_SB(sb)->list); in orangefs_kill_sb()
602 ORANGEFS_SB(sb)->list.prev = NULL; in orangefs_kill_sb()
614 kfree(ORANGEFS_SB(sb)); in orangefs_kill_sb()