HomeSort by relevance Sort by last modified time
    Searched defs:fd (Results 276 - 300 of 3995) sorted by null

<<11121314151617181920>>

  /external/strace/tests-m32/
netlink_generic.c 41 test_nlmsg_type(const int fd)
63 rc = sendto(fd, &req, sizeof(req), MSG_DONTWAIT, NULL, 0);
68 fd, req.nlh.nlmsg_len,
74 skip_if_unavailable("/proc/self/fd/");
76 int fd = create_nl_socket(NETLINK_GENERIC); local
78 test_nlmsg_type(fd);
netlink_xfrm.c 38 test_nlmsg_type(const int fd)
47 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0);
51 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc));
55 test_nlmsg_flags(const int fd)
64 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0);
68 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc));
72 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0);
76 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc));
80 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0);
84 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc))
100 int fd = create_nl_socket(NETLINK_XFRM); local
    [all...]
nfnetlink_acct.c 40 test_nlmsg_type(const int fd)
49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
62 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
66 test_nlmsg_flags(const int fd)
75 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
80 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
84 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
89 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc))
106 int fd = create_nl_socket(NETLINK_NETFILTER); local
    [all...]
nfnetlink_cthelper.c 40 test_nlmsg_type(const int fd)
49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
62 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
66 test_nlmsg_flags(const int fd)
75 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
80 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
84 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
89 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc))
106 int fd = create_nl_socket(NETLINK_NETFILTER); local
    [all...]
nfnetlink_ctnetlink.c 40 test_nlmsg_type(const int fd)
49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
62 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
66 test_nlmsg_flags(const int fd)
75 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
80 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
84 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
89 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc))
106 int fd = create_nl_socket(NETLINK_NETFILTER); local
    [all...]
nfnetlink_ctnetlink_exp.c 40 test_nlmsg_type(const int fd)
49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
62 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
66 test_nlmsg_flags(const int fd)
75 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
80 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
84 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
89 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc))
106 int fd = create_nl_socket(NETLINK_NETFILTER); local
    [all...]
nfnetlink_cttimeout.c 40 test_nlmsg_type(const int fd)
50 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
55 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
58 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
63 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
67 test_nlmsg_flags(const int fd)
77 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
82 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
87 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
92 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc))
110 int fd = create_nl_socket(NETLINK_NETFILTER); local
    [all...]
nfnetlink_nft_compat.c 40 test_nlmsg_type(const int fd)
49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
62 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
66 test_nlmsg_flags(const int fd)
75 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
80 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
86 skip_if_unavailable("/proc/self/fd/");
88 int fd = create_nl_socket(NETLINK_NETFILTER) local
    [all...]
nfnetlink_nftables.c 40 test_nlmsg_type(const int fd)
49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
62 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
66 test_nlmsg_flags(const int fd)
75 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
80 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
84 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
89 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc))
106 int fd = create_nl_socket(NETLINK_NETFILTER); local
    [all...]
so_linger.c 39 get_linger(int fd, void *val, socklen_t *len)
41 int rc = getsockopt(fd, SOL_SOCKET, SO_LINGER, val, len);
47 set_linger(int fd, void *val, socklen_t len)
49 int rc = setsockopt(fd, SOL_SOCKET, SO_LINGER, val, len);
59 int fd = socket(AF_UNIX, SOCK_STREAM, 0); local
60 if (fd < 0)
65 get_linger(fd, linger, len);
68 fd, linger->l_onoff, linger->l_linger, *len, errstr);
73 set_linger(fd, linger, sizeof(*linger));
76 fd, linger->l_onoff, linger->l_linger
    [all...]
so_peercred.c 42 get_peercred(int fd, void *val, socklen_t *len)
44 int rc = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, val, len);
68 int fd = socket(AF_UNIX, SOCK_STREAM, 0); local
69 if (fd < 0)
74 get_peercred(fd, peercred, len);
75 printf("getsockopt(%d, SOL_SOCKET, SO_PEERCRED", fd);
84 get_peercred(fd, peercred, len);
85 printf("getsockopt(%d, SOL_SOCKET, SO_PEERCRED", fd);
91 get_peercred(fd, peercred, len);
92 printf("getsockopt(%d, SOL_SOCKET, SO_PEERCRED", fd);
    [all...]
sync_file_range.c 41 const int fd = -1; local
46 int rc = sync_file_range(fd, offset, nbytes, flags);
50 "sync_file_range", fd,
sync_file_range2.c 41 const int fd = -1; local
46 int rc = sync_file_range(fd, offset, nbytes, flags);
50 "sync_file_range2", fd,
  /external/strace/tests-mx32/
ioctl_uffdio.c 54 int fd = syscall(__NR_userfaultfd, O_NONBLOCK); local
57 if (fd < 0)
63 /* With a bad fd */
69 rc = ioctl(fd, UFFDIO_API, NULL);
71 fd, rc, errno2name());
75 rc = ioctl(fd, UFFDIO_API, api_struct);
76 printf("ioctl(%d, UFFDIO_API, {api=0xaa, features=0", fd);
114 rc = ioctl(fd, UFFDIO_REGISTER, NULL);
116 fd, rc, errno2name());
121 rc = ioctl(fd, UFFDIO_REGISTER, register_struct)
    [all...]
netlink_generic.c 41 test_nlmsg_type(const int fd)
63 rc = sendto(fd, &req, sizeof(req), MSG_DONTWAIT, NULL, 0);
68 fd, req.nlh.nlmsg_len,
74 skip_if_unavailable("/proc/self/fd/");
76 int fd = create_nl_socket(NETLINK_GENERIC); local
78 test_nlmsg_type(fd);
netlink_xfrm.c 38 test_nlmsg_type(const int fd)
47 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0);
51 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc));
55 test_nlmsg_flags(const int fd)
64 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0);
68 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc));
72 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0);
76 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc));
80 rc = sendto(fd, &nlh, sizeof(nlh), MSG_DONTWAIT, NULL, 0);
84 fd, nlh.nlmsg_len, (unsigned) sizeof(nlh), sprintrc(rc))
100 int fd = create_nl_socket(NETLINK_XFRM); local
    [all...]
nfnetlink_acct.c 40 test_nlmsg_type(const int fd)
49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
62 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
66 test_nlmsg_flags(const int fd)
75 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
80 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
84 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
89 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc))
106 int fd = create_nl_socket(NETLINK_NETFILTER); local
    [all...]
nfnetlink_cthelper.c 40 test_nlmsg_type(const int fd)
49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
62 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
66 test_nlmsg_flags(const int fd)
75 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
80 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
84 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
89 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc))
106 int fd = create_nl_socket(NETLINK_NETFILTER); local
    [all...]
nfnetlink_ctnetlink.c 40 test_nlmsg_type(const int fd)
49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
62 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
66 test_nlmsg_flags(const int fd)
75 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
80 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
84 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
89 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc))
106 int fd = create_nl_socket(NETLINK_NETFILTER); local
    [all...]
nfnetlink_ctnetlink_exp.c 40 test_nlmsg_type(const int fd)
49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
62 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
66 test_nlmsg_flags(const int fd)
75 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
80 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
84 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
89 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc))
106 int fd = create_nl_socket(NETLINK_NETFILTER); local
    [all...]
nfnetlink_cttimeout.c 40 test_nlmsg_type(const int fd)
50 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
55 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
58 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
63 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
67 test_nlmsg_flags(const int fd)
77 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
82 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
87 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
92 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc))
110 int fd = create_nl_socket(NETLINK_NETFILTER); local
    [all...]
nfnetlink_nft_compat.c 40 test_nlmsg_type(const int fd)
49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
62 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
66 test_nlmsg_flags(const int fd)
75 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
80 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
86 skip_if_unavailable("/proc/self/fd/");
88 int fd = create_nl_socket(NETLINK_NETFILTER) local
    [all...]
nfnetlink_nftables.c 40 test_nlmsg_type(const int fd)
49 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
54 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
57 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
62 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
66 test_nlmsg_flags(const int fd)
75 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
80 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc));
84 rc = sendto(fd, &nlh, nlh.nlmsg_len, MSG_DONTWAIT, NULL, 0);
89 fd, nlh.nlmsg_len, nlh.nlmsg_len, sprintrc(rc))
106 int fd = create_nl_socket(NETLINK_NETFILTER); local
    [all...]
so_linger.c 39 get_linger(int fd, void *val, socklen_t *len)
41 int rc = getsockopt(fd, SOL_SOCKET, SO_LINGER, val, len);
47 set_linger(int fd, void *val, socklen_t len)
49 int rc = setsockopt(fd, SOL_SOCKET, SO_LINGER, val, len);
59 int fd = socket(AF_UNIX, SOCK_STREAM, 0); local
60 if (fd < 0)
65 get_linger(fd, linger, len);
68 fd, linger->l_onoff, linger->l_linger, *len, errstr);
73 set_linger(fd, linger, sizeof(*linger));
76 fd, linger->l_onoff, linger->l_linger
    [all...]
so_peercred.c 42 get_peercred(int fd, void *val, socklen_t *len)
44 int rc = getsockopt(fd, SOL_SOCKET, SO_PEERCRED, val, len);
68 int fd = socket(AF_UNIX, SOCK_STREAM, 0); local
69 if (fd < 0)
74 get_peercred(fd, peercred, len);
75 printf("getsockopt(%d, SOL_SOCKET, SO_PEERCRED", fd);
84 get_peercred(fd, peercred, len);
85 printf("getsockopt(%d, SOL_SOCKET, SO_PEERCRED", fd);
91 get_peercred(fd, peercred, len);
92 printf("getsockopt(%d, SOL_SOCKET, SO_PEERCRED", fd);
    [all...]

Completed in 163 milliseconds

<<11121314151617181920>>