/third_party/ltp/testcases/kernel/device-drivers/nls/ |
H A 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/usb/user_usb/ |
H A 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/dev_sim_framework/user_space/ |
H A 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/include/ |
H A 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/backends/backend/ |
H A D | plustek-pp_sysdep.h | 321 #define CLASS_DEV_CREATE(class, devt, device, name) \ 322 device_create(class, device, devt, NULL, "%s", name) 324 #define CLASS_DEV_CREATE(class, devt, device, name) \ 325 device_create(class, device, devt, name) 327 #define CLASS_DEV_CREATE(class, devt, device, name) \ 328 class_device_create(class, NULL, devt, device, name) 342 #define CLASS_DEV_DESTROY(class, devt) class_device_destroy(class, devt) 348 #define CLASS_DEV_DESTROY(class, devt) class_simple_device_remove(class, devt) [all...] |
/third_party/ltp/testcases/kernel/device-drivers/base/user_base/ |
H A 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/ |
H A 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/ |
H A 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/ |
H A D | tbio.c | 85 dev_t devt; in setup() local 97 devt = makedev(TBIO_MAJOR, 0); in setup() 110 if ((st.st_mode & S_IFBLK) && (st.st_rdev == devt)) { in setup() 127 S_IRGRP | S_IWGRP, devt)) in setup()
|
/third_party/ltp/testcases/kernel/fs/scsi/ltpfs/ |
H A 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()
|