Home
last modified time | relevance | path

Searched refs:major (Results 1 – 23 of 23) sorted by relevance

/tools/testing/selftests/vm/
Dtest_hmm.sh45 major=$(awk "\$2==\"HMM_DMIRROR\" {print \$1}" /proc/devices)
46 mknod /dev/hmm_dmirror0 c $major 0
47 mknod /dev/hmm_dmirror1 c $major 1
/tools/testing/selftests/bpf/progs/
Ddev_cgroup.c41 bpf_trace_printk(fmt, sizeof(fmt), ctx->major, ctx->minor); in bpf_prog1()
47 if (ctx->major != 1 || type != BPF_DEVCG_DEV_CHAR) in bpf_prog1()
/tools/testing/selftests/exec/
Dnon-regular.c49 int major, minor, mode; /* for mknod() */ in FIXTURE_VARIANT() local
102 dev = makedev(variant->major, variant->minor); in setup_node()
117 .major = 7, in FIXTURE_VARIANT_ADD()
128 .major = 1, in FIXTURE_VARIANT_ADD()
/tools/testing/selftests/zram/
Dzram_lib.sh35 major=${1%.*}
38 if [ $kernel_major -gt $major ]; then
40 elif [[ $kernel_major -eq $major && $kernel_minor -ge $minor ]]; then
/tools/testing/selftests/bpf/prog_tests/
Dcore_extern.c12 uint32_t major, minor, patch; in get_kernel_version() local
16 if (sscanf(info.release, "%u.%u.%u", &major, &minor, &patch) != 3) in get_kernel_version()
18 return KERNEL_VERSION(major, minor, patch); in get_kernel_version()
/tools/testing/selftests/filesystems/fuse/
Dtest_fuse.h276 TESTEQUAL(init_in->major, FUSE_KERNEL_VERSION); \
279 .major = FUSE_KERNEL_VERSION, \
Dbpf_loader.c584 TESTEQUAL(init_in->major, FUSE_KERNEL_VERSION); in mount_fuse_maybe_init()
587 .major = FUSE_KERNEL_VERSION, in mount_fuse_maybe_init()
/tools/perf/Documentation/
Dperf-trace.txt164 major or all pagefaults. Default value is maj.
252 - min/maj indicates whether fault event is minor or major;
270 Trace only major pagefaults:
274 Trace syscalls, major and minor pagefaults:
280 As you can see, there was major pagefault in python process, from
/tools/hv/
Dhv_vss_daemon.c147 major(sb.st_rdev), minor(sb.st_rdev)); in vss_operate()
/tools/testing/kunit/test_data/
Dtest_is_test_passed-no_tests_run_no_header.log32 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
Dtest_output_isolated_correctly.log57 Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
/tools/include/uapi/sound/
Dasound.h44 #define SNDRV_PROTOCOL_VERSION(major, minor, subminor) (((major)<<16)|((minor)<<8)|(subminor)) argument
/tools/perf/scripts/python/
Dintel-pt-events.py196 if sys.version_info.major >= 3:
/tools/include/nolibc/
Dnolibc.h1240 dev_t makedev(unsigned int major, unsigned int minor) in makedev() argument
1242 return ((major & 0xfff) << 8) | (minor & 0xff); in makedev()
/tools/perf/util/
Djitdump.c506 event->mmap2.maj = major(st.st_dev); in jit_repipe_code_load()
599 event->mmap2.maj = major(st.st_dev); in jit_repipe_code_move()
Dparse-events.l342 major-faults { return sym(yyscanner, PERF_TYPE_SOFTWARE, PERF_COUNT_SW_PAGE_FAULTS_MAJ); }
/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c108 device.major, device.minor, device.name); in __do_binderfs_test()
/tools/vm/
Dpage-types.c909 int major, minor; in parse_pid() local
919 &major, &minor, in parse_pid()
/tools/memory-model/Documentation/
Dcontrol-dependencies.txt4 A major difficulty with control dependencies is that current compilers
/tools/include/uapi/linux/
Dbpf.h6029 __u32 major; member
/tools/usb/usbip/
DCOPYING162 form) with the major components (compiler, kernel, and so on) of the
/tools/lib/bpf/
Dlibbpf.c748 __u32 major, minor, patch; in get_kernel_version() local
752 if (sscanf(info.release, "%u.%u.%u", &major, &minor, &patch) != 3) in get_kernel_version()
754 return KERNEL_VERSION(major, minor, patch); in get_kernel_version()
/tools/perf/
Dbuiltin-trace.c1374 file->dev_maj = major(st.st_rdev); in trace__set_fd_pathname()