Searched refs:s (Results 1 – 7 of 7) sorted by relevance
/samples/connector/ |
D | ucon.c | 46 static int netlink_send(int s, struct cn_msg *msg) in netlink_send() argument 70 err = send(s, nlh, size, 0); in netlink_send() 99 int s; in main() local 110 while ((s = getopt(argc, argv, "hs")) != -1) { in main() 111 switch (s) { in main() 139 s = socket(PF_NETLINK, SOCK_DGRAM, NETLINK_CONNECTOR); in main() 140 if (s == -1) { in main() 151 if (bind(s, (struct sockaddr *)&l_local, sizeof(struct sockaddr_nl)) == -1) { in main() 153 close(s); in main() 160 setsockopt(s, SOL_NETLINK, NETLINK_ADD_MEMBERSHIP, &on, sizeof(on)); in main() [all …]
|
/samples/vfio-mdev/ |
D | mtty.c | 141 struct serial_port s[2]; member 302 if (mdev_state->s[index].dlab) { in handle_bar_write() 303 mdev_state->s[index].divisor |= data; in handle_bar_write() 310 if (mdev_state->s[index].rxtx.count < in handle_bar_write() 311 mdev_state->s[index].max_fifo_size) { in handle_bar_write() 312 mdev_state->s[index].rxtx.fifo[ in handle_bar_write() 313 mdev_state->s[index].rxtx.head] = data; in handle_bar_write() 314 mdev_state->s[index].rxtx.count++; in handle_bar_write() 315 CIRCULAR_BUF_INC_IDX(mdev_state->s[index].rxtx.head); in handle_bar_write() 316 mdev_state->s[index].overrun = false; in handle_bar_write() [all …]
|
/samples/vfs/ |
D | test-fsmount.c | 50 void mount_error(int fd, const char *s) in mount_error() argument 53 fprintf(stderr, "%s: %m\n", s); in mount_error()
|
/samples/bpf/ |
D | README.rst | 14 Note that LLVM's tool 'llc' must support target 'bpf', list version 66 use the Ninja build system, you can find it in your system's package 101 Pointing LLC and CLANG is not necessarily if it's installed on HOST and have
|
D | xdpsock_user.c | 702 unsigned long long s = (u32)sum; in csum_tcpudp_nofold() local 704 s += (u32)saddr; in csum_tcpudp_nofold() 705 s += (u32)daddr; in csum_tcpudp_nofold() 707 s += proto + len; in csum_tcpudp_nofold() 709 s += (proto + len) << 8; in csum_tcpudp_nofold() 711 return (__wsum)from64to32(s); in csum_tcpudp_nofold()
|
D | Makefile | 302 $(obj)/syscall_nrs.h: $(obj)/syscall_nrs.s FORCE 305 targets += syscall_nrs.s
|
/samples/pktgen/ |
D | README.rst | 20 -s : ($PKT_SIZE) packet size 33 -a : ($APPEND) Script will not reset generator's state, but will append its config
|