Home
last modified time | relevance | path

Searched refs:mfd (Results 1 – 25 of 25) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/memfd/
Dfuse_test.c230 int fd, mfd, r; in main() local
268 mfd = mfd_assert_new("kern_memfd_fuse", in main()
273 p = mfd_assert_mmap_shared(mfd); in main()
277 global_mfd = mfd; in main()
297 was_sealed = mfd_assert_get_seals(mfd) & F_SEAL_WRITE; in main()
302 mfd_assert_has_seals(mfd, F_SEAL_WRITE); in main()
314 p = mfd_assert_mmap_private(mfd); in main()
323 close(mfd); in main()
/external/ltp/testcases/kernel/security/dirtyc0w/
Ddirtyc0w_child.c26 static int mfd; variable
65 lseek(mfd, (uintptr_t) map, SEEK_SET); in proc_self_mem_thread()
66 c += write(mfd, str, strlen(str)); in proc_self_mem_thread()
105 mfd = SAFE_OPEN("/proc/self/mem", O_RDWR); in main()
/external/virglrenderer/vtest/
Dvtest_shm.c69 int mfd = memfd_create("test", MFD_ALLOW_SEALING); in vtest_shm_check() local
71 if (mfd >= 0) { in vtest_shm_check()
72 close(mfd); in vtest_shm_check()
/external/python/cpython3/Lib/test/
Dtest_ioctl.py71 mfd, sfd = pty.openpty()
83 new_winsz = fcntl.ioctl(mfd, set_winsz_opcode_pos, our_winsz)
84 new_winsz = fcntl.ioctl(mfd, set_winsz_opcode_maybe_neg, our_winsz)
86 os.close(mfd)
/external/python/cpython2/Lib/test/
Dtest_ioctl.py71 mfd, sfd = pty.openpty()
83 new_winsz = fcntl.ioctl(mfd, set_winsz_opcode_pos, our_winsz)
84 new_winsz = fcntl.ioctl(mfd, set_winsz_opcode_maybe_neg, our_winsz)
86 os.close(mfd)
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier.c422 static int create_prog_dummy_loop(enum bpf_prog_type prog_type, int mfd, in create_prog_dummy_loop() argument
427 BPF_LD_MAP_FD(BPF_REG_2, mfd), in create_prog_dummy_loop()
441 int mfd, p1fd, p2fd, p3fd; in create_prog_array() local
443 mfd = bpf_create_map(BPF_MAP_TYPE_PROG_ARRAY, sizeof(int), in create_prog_array()
445 if (mfd < 0) { in create_prog_array()
453 p2fd = create_prog_dummy_loop(prog_type, mfd, p2key, 41); in create_prog_array()
457 if (bpf_map_update_elem(mfd, &p1key, &p1fd, BPF_ANY) < 0) in create_prog_array()
459 if (bpf_map_update_elem(mfd, &p2key, &p2fd, BPF_ANY) < 0) in create_prog_array()
461 if (bpf_map_update_elem(mfd, &p3key, &p3fd, BPF_ANY) < 0) { in create_prog_array()
463 close(mfd); in create_prog_array()
[all …]
Dtest_lru_map.c64 int mfd, pfd, ret, zero = 0; in bpf_map_lookup_elem_with_ref_bit() local
73 mfd = bpf_create_map_xattr(&map); in bpf_map_lookup_elem_with_ref_bit()
74 if (mfd < 0) in bpf_map_lookup_elem_with_ref_bit()
77 insns[0].imm = mfd; in bpf_map_lookup_elem_with_ref_bit()
87 close(mfd); in bpf_map_lookup_elem_with_ref_bit()
96 assert(!bpf_map_lookup_elem(mfd, &zero, value)); in bpf_map_lookup_elem_with_ref_bit()
100 close(mfd); in bpf_map_lookup_elem_with_ref_bit()
/external/jemalloc_new/src/
Dprof.c1405 int mfd; in prof_open_maps() local
1414 mfd = open(filename, O_RDONLY | O_CLOEXEC); in prof_open_maps()
1416 mfd = open(filename, O_RDONLY); in prof_open_maps()
1417 if (mfd != -1) { in prof_open_maps()
1418 fcntl(mfd, F_SETFD, fcntl(mfd, F_GETFD) | FD_CLOEXEC); in prof_open_maps()
1422 return mfd; in prof_open_maps()
1438 int mfd; in prof_dump_maps() local
1442 mfd = prof_open_maps("/proc/curproc/map"); in prof_dump_maps()
1444 mfd = -1; // Not implemented in prof_dump_maps()
1449 mfd = prof_open_maps("/proc/%d/task/%d/maps", pid, pid); in prof_dump_maps()
[all …]
/external/ppp/pppd/
Dsys-linux.c1997 int mfd = -1; in ppp_registered() local
2008 if (!get_pty(&mfd, &local_fd, slave, 0)) { in ppp_registered()
2022 close(mfd); in ppp_registered()
2618 int i, mfd, sfd = -1; local
2626 mfd = open("/dev/ptmx", O_RDWR);
2627 if (mfd >= 0) {
2629 if (ioctl(mfd, TIOCGPTN, &ptn) >= 0) {
2634 if (ioctl(mfd, TIOCSPTLCK, &ptn) < 0)
2648 mfd = open(pty_name, O_RDWR, 0);
2649 if (mfd >= 0) {
[all …]
Dsys-solaris.c2748 int mfd, sfd; local
2751 mfd = open("/dev/ptmx", O_RDWR);
2752 if (mfd < 0) {
2757 pty_name = ptsname(mfd);
2760 close(mfd);
2767 if (unlockpt(mfd) < 0)
2773 close(mfd);
2781 *master_fdp = mfd;
/external/arm-trusted-firmware/fdts/
Dstm32mp151.dtsi464 compatible = "st,stm32-tamp", "simple-bus", "syscon", "simple-mfd";
/external/ImageMagick/PerlMagick/t/reference/write/filter/
DMagnify.miff43 …Fj�Ii�Ig�Hf�Fg�Gh�Kh�Mh�Mg�Kg�Ii�Ik�Km�M35)24*23+23,45-78.;=0AD7HJBOPOUU\\[mfd�sq��~���؎�ወ݅�сŀ~��…
/external/cpuinfo/test/dmesg/
Dgalaxy-a8-2016-duos.log187 [ 0.325061] [1: swapper/0: 1] sm5703-mfd 8-0049: sm5703mfd_parse_dt : no assignment of …
189 [ 0.325097] [1: swapper/0: 1] sm5703-mfd:sm5703_mfd_probe pdata->irq_base = -1
190 [ 0.325505] [1: swapper/0: 1] sm5703-mfd:sm5703_mfd_probe irq_base = 384
Dgalaxy-j5.log251 [ 0.190072] [1: swapper/0: 1] sm5703-mfd 11-0049: sm5703mfd_parse_dt : no assignment of…
253 [ 0.190113] [1: swapper/0: 1] sm5703-mfd:sm5703_mfd_probe pdata->irq_base = -1
254 [ 0.190465] [1: swapper/0: 1] sm5703-mfd:sm5703_mfd_probe irq_base = 317
Dgalaxy-a3-2016-eu.log675 <6>[ 3.611228] [0: ueventd: 1494] s2mu003-mfd 2-0034: s2mu003_get_charging_status : S2MU…
Dgalaxy-s5-us.log619 <6>[ 0.744135] mdss_dsi_panel_registered mds.mfd is ok!!
Dgalaxy-s8-us.log642 [ 1.326176] [4: swapper/0: 1] of_s2mpb02_dt: use default mfd cells
1328 [ 2.050387] [4: swapper/0: 1] muic_probe: mfd i2c client sm5720 at 0x49
Dgalaxy-s7-us.log1719 [ 1.866674] [3: swapper/0: 1] muic_probe: mfd i2c client max77854 at 0x66
Dgalaxy-s7-global.log897 [ 1.509164] [4: swapper/0: 1] muic_probe: mfd i2c client max77854 at 0x66
Dgalaxy-a8-2018.log839 [ 0.575432] [7: swapper/0: 1] [s2mu004 mfd] s2mu004_i2c_probe : 0x38, rev=0x3, ver=0x8
/external/cldr/tools/java/org/unicode/cldr/util/data/
Diso-639-3_Name_Index.tab4119 mfd Mendankwe-Nkwen Mendankwe-Nkwen
Diso-639-3.tab3925 mfd I L Mendankwe-Nkwen
Dlanguage-subtag-registry21714 Subtag: mfd
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi52796 <abi-instr version="1.0" address-size="64" path="drivers/mfd/act8945a.c" language="LANG_C89">
Dtest-PR27569-v0.abi52767 <abi-instr version="1.0" address-size="64" path="drivers/mfd/act8945a.c" language="LANG_C89">