Home
last modified time | relevance | path

Searched refs:MKDEV (Results 1 – 6 of 6) sorted by relevance

/third_party/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_file_test.c151 show_result(mknod(mknod_chr_path, S_IFCHR, MKDEV(1, 3))); in stage_file_test()
154 show_result(mknod(mknod_blk_path, S_IFBLK, MKDEV(1, 0))); in stage_file_test()
Dtomoyo_new_file_test.c413 show_result(mknod(filename, S_IFCHR | 0644, MKDEV(1, 3)), 1); in stage_file_test()
416 show_result(mknod(filename, S_IFCHR | 0644, MKDEV(1, 3)), 0); in stage_file_test()
421 show_result(mknod(filename, S_IFBLK | 0644, MKDEV(1, 0)), 1); in stage_file_test()
424 show_result(mknod(filename, S_IFBLK | 0644, MKDEV(1, 0)), 0); in stage_file_test()
Dtomoyo_filesystem_test.c282 mknod(dev_ram_path, S_IFBLK, MKDEV(1, 0)); in main()
/third_party/uboot/u-boot-2020.01/include/linux/
Dcompat.h185 #define MKDEV(...) 0 macro
/third_party/uboot/u-boot-2020.01/drivers/mtd/ubi/
Dvmt.c269 dev = MKDEV(MAJOR(ubi->cdev.dev), vol_id + 1); in ubi_create_volume()
601 dev = MKDEV(MAJOR(ubi->cdev.dev), vol->vol_id + 1); in ubi_add_volume()
/third_party/uboot/u-boot-2020.01/drivers/mtd/
Dmtdcore.c174 #define MTD_DEVT(index) MKDEV(MTD_CHAR_MAJOR, (index)*2)