Home
last modified time | relevance | path

Searched refs:sd (Results 1 – 5 of 5) sorted by relevance

/tools/testing/selftests/net/
Dnettest.c210 static int tcp_md5sig(int sd, void *addr, socklen_t alen, struct sock_args *args) in tcp_md5sig() argument
236 rc = setsockopt(sd, IPPROTO_TCP, opt, &md5sig, sizeof(md5sig)); in tcp_md5sig()
248 static int tcp_md5_remote(int sd, struct sock_args *args) in tcp_md5_remote() argument
277 if (tcp_md5sig(sd, addr, alen, args)) in tcp_md5_remote()
286 int sd, rc; in get_ifidx() local
295 sd = socket(PF_INET, SOCK_DGRAM, IPPROTO_IP); in get_ifidx()
296 if (sd < 0) { in get_ifidx()
301 rc = ioctl(sd, SIOCGIFINDEX, (char *)&ifdata); in get_ifidx()
302 close(sd); in get_ifidx()
311 static int bind_to_device(int sd, const char *name) in bind_to_device() argument
[all …]
/tools/perf/util/
Dsort.c1907 __sort_dimension__alloc_hpp(struct sort_dimension *sd, int level) in __sort_dimension__alloc_hpp() argument
1917 hse->se = sd->entry; in __sort_dimension__alloc_hpp()
1918 hse->hpp.name = sd->entry->se_header; in __sort_dimension__alloc_hpp()
1991 static int __sort_dimension__add_hpp_sort(struct sort_dimension *sd, in __sort_dimension__add_hpp_sort() argument
1995 struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd, level); in __sort_dimension__add_hpp_sort()
2004 static int __sort_dimension__add_hpp_output(struct sort_dimension *sd, in __sort_dimension__add_hpp_output() argument
2007 struct hpp_sort_entry *hse = __sort_dimension__alloc_hpp(sd, 0); in __sort_dimension__add_hpp_output()
2528 static int __sort_dimension__add(struct sort_dimension *sd, in __sort_dimension__add() argument
2532 if (sd->taken) in __sort_dimension__add()
2535 if (__sort_dimension__add_hpp_sort(sd, list, level) < 0) in __sort_dimension__add()
[all …]
Dstat-display.c1111 double sd = stddev_stats(config->walltime_nsecs_stats) / NSEC_PER_SEC; in print_footer() local
1116 int precision = get_precision(sd) + 2; in print_footer()
1122 precision, avg, precision, sd); in print_footer()
1124 print_noise_pct(config, sd, avg); in print_footer()
/tools/accounting/
Dgetdelays.c119 static int send_cmd(int sd, __u16 nlmsg_type, __u32 nlmsg_pid, in send_cmd() argument
147 while ((r = sendto(sd, buf, buflen, 0, (struct sockaddr *) &nladdr, in send_cmd()
163 static int get_family_id(int sd) in get_family_id() argument
176 rc = send_cmd(sd, GENL_ID_CTRL, getpid(), CTRL_CMD_GETFAMILY, in get_family_id()
182 rep_len = recv(sd, &ans, sizeof(ans), 0); in get_family_id()
/tools/testing/selftests/net/forwarding/
Dethtool_extended_state.sh29 local ext_substate=$(echo $ext_state | cut -sd "," -f2 \