Home
last modified time | relevance | path

Searched refs:st_rdev (Results 1 – 25 of 43) sorted by relevance

12

/external/e2fsprogs/misc/
Dutil.c132 if (((MAJOR(s.st_rdev) == HD_MAJOR && in check_plausibility()
133 MINOR(s.st_rdev)%64 == 0) || in check_plausibility()
134 (SCSI_BLK_MAJOR(MAJOR(s.st_rdev)) && in check_plausibility()
135 MINOR(s.st_rdev)%16 == 0))) { in check_plausibility()
Dismounted.c94 file_rdev = st_buf.st_rdev; in check_mntent_file()
122 if (file_rdev && (file_rdev == st_buf.st_rdev)) in check_mntent_file()
/external/e2fsprogs/lib/ext2fs/
Dismounted.c60 file_rdev = st_buf.st_rdev; in check_mntent_file()
73 if (file_rdev && (file_rdev == st_buf.st_rdev)) in check_mntent_file()
248 file_dev = st_buf.st_rdev; in is_swap_device()
269 file_dev == st_buf.st_rdev) { in is_swap_device()
Dfinddev.c102 if (S_ISBLK(st.st_mode) && st.st_rdev == device) { in scan_dir()
Dmkjournal.c322 fs->super->s_journal_dev = st.st_rdev; in ext2fs_add_journal_device()
/external/strace/
Dfile.c87 unsigned short st_rdev; member
107 unsigned int st_rdev; member
660 unsigned st_rdev; member
710 (unsigned long) ((statbuf.st_rdev >> 18) & 0x3fff),
711 (unsigned long) (statbuf.st_rdev & 0x3ffff));
767 (unsigned long) major(statbuf.st_rdev),
768 (unsigned long) minor(statbuf.st_rdev));
862 (unsigned long) major(statbuf->st_rdev),
863 (unsigned long) minor(statbuf->st_rdev));
1005 (unsigned long) major(statbuf.st_rdev),
[all …]
/external/qemu/android/utils/
Dfilelock.c271 st_temp.st_rdev == st_lock.st_rdev && in filelock_lock()
/external/genext2fs/
Dconfigure.in32 AC_CHECK_MEMBERS([struct stat.st_rdev])
Dconfig.h.in55 /* Define to 1 if `st_rdev' is member of `struct stat'. */
/external/dosfstools/src/
Dmkdosfs.c1700 statbuf.st_rdev = 0; in main()
1712 (statbuf.st_rdev & 0xff3f) == 0x0300 || /* hda, hdb */ in main()
1713 (statbuf.st_rdev & 0xff0f) == 0x0800 || /* sd */ in main()
1714 (statbuf.st_rdev & 0xff3f) == 0x0d00 || /* xd */ in main()
1715 (statbuf.st_rdev & 0xff3f) == 0x1600 ) /* hdc, hdd */ in main()
1742 establish_params (statbuf.st_rdev,statbuf.st_size); in main()
Dio.c89 device_no = S_ISBLK(stbuf.st_mode) ? (stbuf.st_rdev >> 8) & 0xff : 0; in fs_open()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/openbsd/
DSDL_syscdrom.c111 if ( stbuf->st_rdev == SDL_cdmode[i] ) { in AddDrive()
126 SDL_cdmode[i] = stbuf->st_rdev; in AddDrive()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/freebsd/
DSDL_syscdrom.c106 if ( stbuf->st_rdev == SDL_cdmode[i] ) { in AddDrive()
121 SDL_cdmode[i] = stbuf->st_rdev; in AddDrive()
/external/ppp/pppd/
Dtty.c489 && statbuf.st_rdev == devstat.st_rdev) { in tty_check_options()
504 && S_ISCHR(statbuf.st_mode) && statbuf.st_rdev == devstat.st_rdev) in tty_check_options()
Dutils.c945 major(sbuf.st_rdev), minor(sbuf.st_rdev));
/external/qemu/distrib/sdl-1.2.12/src/cdrom/qnx/
DSDL_syscdrom.c121 if (stbuf->st_rdev == SDL_cdmode[i]) in AddDrive()
136 SDL_cdmode[i] = stbuf->st_rdev; in AddDrive()
/external/yaffs2/yaffs2/direct/
Dyaffsfs.h166 unsigned st_rdev; /* device type (if inode device) */ member
/external/e2fsprogs/lib/blkid/
Dgetsize.c146 part = st.st_rdev & 7; in blkid_get_dev_size()
Ddevno.c123 if (S_ISBLK(st.st_mode) && st.st_rdev == devno) { in scan_dir()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/osf/
DSDL_syscdrom.c114 if ( stbuf->st_rdev == SDL_cdmode[i] ) { in AddDrive()
129 SDL_cdmode[i] = stbuf->st_rdev; in AddDrive()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/linux/
DSDL_syscdrom.c163 if ( stbuf->st_rdev == SDL_cdmode[i] ) { in AddDrive()
178 SDL_cdmode[i] = stbuf->st_rdev; in AddDrive()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/bsdi/
DSDL_syscdrom.c220 if ( stbuf->st_rdev == SDL_cdmode[i] ) { in AddDrive()
235 SDL_cdmode[i] = stbuf->st_rdev; in AddDrive()
/external/qemu/distrib/sdl-1.2.12/src/cdrom/aix/
DSDL_syscdrom.c120 if ( stbuf->st_rdev == SDL_cdmode[i] ) { in AddDrive()
135 SDL_cdmode[i] = stbuf->st_rdev; in AddDrive()
/external/e2fsprogs/e2fsck/
Djournal.c1025 if (st.st_rdev != sb->s_journal_dev) { in e2fsck_fix_ext3_journal_hint()
1027 pctx.num = st.st_rdev; in e2fsck_fix_ext3_journal_hint()
1029 sb->s_journal_dev = st.st_rdev; in e2fsck_fix_ext3_journal_hint()
/external/qemu/distrib/sdl-1.2.12/src/joystick/linux/
DSDL_sysjoystick.c425 dev_nums[numjoysticks] = sb.st_rdev; in SDL_SYS_JoystickInit()
447 if ( sb.st_rdev == dev_nums[n] ) { in SDL_SYS_JoystickInit()
473 dev_nums[numjoysticks] = sb.st_rdev; in SDL_SYS_JoystickInit()

12