Home
last modified time | relevance | path

Searched refs:devt (Results 1 – 9 of 9) sorted by relevance

/third_party/ltp/testcases/kernel/device-drivers/include/
DuserBlockInclude.c72 dev_t devt; in open_block_device() local
84 devt = makedev(INCLUDEMAJOR, 0); in open_block_device()
122 S_IRGRP | S_IWGRP), devt); in open_block_device()
136 (statbuf.st_rdev != devt)) { in open_block_device()
142 | S_IRGRP | S_IWGRP), devt); in open_block_device()
/third_party/ltp/testcases/kernel/device-drivers/nls/
DuserBlockNLS.c70 dev_t devt; in open_block_device() local
82 devt = makedev(NLSMAJOR, 0); in open_block_device()
122 S_IRGRP | S_IWGRP), devt); in open_block_device()
136 (statbuf.st_rdev != devt)) { in open_block_device()
142 | S_IRGRP | S_IWGRP), devt); in open_block_device()
/third_party/ltp/testcases/kernel/device-drivers/dev_sim_framework/user_space/
Duser_tmod.c54 dev_t devt; in tmodopen() local
58 devt = makedev(TMOD_MAJOR, 0); in tmodopen()
93 S_IWGRP), devt); in tmodopen()
105 if ((!(st.st_mode & S_IFCHR)) || (st.st_rdev != devt)) { in tmodopen()
112 S_IRGRP | S_IWGRP), devt); in tmodopen()
/third_party/ltp/testcases/kernel/device-drivers/usb/user_usb/
Duser_tusb.c35 dev_t devt; in tusbopen() local
39 devt = makedev(TUSB_MAJOR, 0); in tusbopen()
74 S_IWGRP), devt); in tusbopen()
86 if ((!(st.st_mode & S_IFCHR)) || (st.st_rdev != devt)) { in tusbopen()
93 S_IRGRP | S_IWGRP), devt); in tusbopen()
/third_party/ltp/testcases/kernel/device-drivers/base/user_base/
Duser_tbase.c50 dev_t devt; in tbaseopen() local
54 devt = makedev(TBASEMAJOR, 0); in tbaseopen()
89 S_IWGRP), devt); in tbaseopen()
101 if ((!(st.st_mode & S_IFCHR)) || (st.st_rdev != devt)) { in tbaseopen()
108 S_IRGRP | S_IWGRP), devt); in tbaseopen()
/third_party/ltp/testcases/kernel/device-drivers/agp/user_space/
Duser_tagp.c50 dev_t devt; in tagpopen() local
54 devt = makedev(TAGP_MAJOR, 0); in tagpopen()
89 S_IWGRP), devt); in tagpopen()
101 if ((!(st.st_mode & S_IFCHR)) || (st.st_rdev != devt)) { in tagpopen()
108 S_IRGRP | S_IWGRP), devt); in tagpopen()
/third_party/ltp/testcases/kernel/device-drivers/drm/user_space/
Duser_tdrm.c48 dev_t devt; in tdrmopen() local
52 devt = makedev(TDRM_MAJOR, 0); in tdrmopen()
87 S_IWGRP), devt); in tdrmopen()
99 if ((!(st.st_mode & S_IFCHR)) || (st.st_rdev != devt)) { in tdrmopen()
106 S_IRGRP | S_IWGRP), devt); in tdrmopen()
/third_party/ltp/testcases/kernel/device-drivers/tbio/tbio_user/
Dtbio.c85 dev_t devt; in setup() local
102 devt = makedev(TBIO_MAJOR, 0); in setup()
115 if ((st.st_mode & S_IFBLK) && (st.st_rdev == devt)) { in setup()
132 S_IRGRP | S_IWGRP, devt)) in setup()
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/
Dmain.c392 dev_t devt; in LTP_fs_open_block_device() local
403 devt = makedev(LTPMAJOR, 0); in LTP_fs_open_block_device()
441 S_IRGRP | S_IWGRP), devt); in LTP_fs_open_block_device()
454 (statbuf.st_rdev != devt)) { in LTP_fs_open_block_device()
461 | S_IRGRP | S_IWGRP), devt); in LTP_fs_open_block_device()