Home
last modified time | relevance | path

Searched refs:s (Results 1 – 8 of 8) sorted by relevance

/samples/connector/
Ducon.c46 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/
Dmtty.c164 struct serial_port s[2]; member
373 if (mdev_state->s[index].dlab) { in handle_bar_write()
374 mdev_state->s[index].divisor |= data; in handle_bar_write()
381 if (mdev_state->s[index].rxtx.count < in handle_bar_write()
382 mdev_state->s[index].max_fifo_size) { in handle_bar_write()
383 mdev_state->s[index].rxtx.fifo[ in handle_bar_write()
384 mdev_state->s[index].rxtx.head] = data; in handle_bar_write()
385 mdev_state->s[index].rxtx.count++; in handle_bar_write()
386 CIRCULAR_BUF_INC_IDX(mdev_state->s[index].rxtx.head); in handle_bar_write()
387 mdev_state->s[index].overrun = false; in handle_bar_write()
[all …]
DREADME.rst58 # lspci -s 00:05.0 -xxvv
/samples/vfs/
Dtest-fsmount.c50 void mount_error(int fd, const char *s) in mount_error() argument
53 fprintf(stderr, "%s: %m\n", s); in mount_error()
/samples/landlock/
Dsandboxer.c300 #define XSTR(s) #s argument
301 #define STR(s) XSTR(s) argument
/samples/bpf/
DREADME.rst22 version numbers required and how to update them. Note that LLVM's tool
76 use the Ninja build system, you can find it in your system's package
111 Pointing LLC and CLANG is not necessarily if it's installed on HOST and have
DMakefile274 $(obj)/syscall_nrs.h: $(obj)/syscall_nrs.s FORCE
277 targets += syscall_nrs.s
/samples/pktgen/
DREADME.rst20 -s : ($PKT_SIZE) packet size
33 -a : ($APPEND) Script will not reset generator's state, but will append its config