Searched refs:devt (Results 1 – 9 of 9) sorted by relevance
/third_party/ltp/testcases/kernel/device-drivers/include/ |
D | userBlockInclude.c | 72 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/ |
D | userBlockNLS.c | 70 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/ |
D | user_tmod.c | 54 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/ |
D | user_tusb.c | 35 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/ |
D | user_tbase.c | 50 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/ |
D | user_tagp.c | 50 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/ |
D | user_tdrm.c | 48 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/ |
D | tbio.c | 85 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/ |
D | main.c | 392 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()
|