Searched refs:big_buf (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt_sk.c | 25 char *big_buf = NULL; in getsetsockopt() local 36 big_buf = calloc(1, optlen); in getsetsockopt() 37 if (!big_buf) { in getsetsockopt() 42 *(int *)big_buf = 0x08; in getsetsockopt() 43 err = setsockopt(fd, SOL_IP, IP_TOS, big_buf, optlen); in getsetsockopt() 49 memset(big_buf, 0, optlen); in getsetsockopt() 51 err = getsockopt(fd, SOL_IP, IP_TOS, big_buf, &optlen); in getsetsockopt() 57 if (*big_buf != 0x08) { in getsetsockopt() 59 (int)*big_buf); in getsetsockopt() 101 memset(big_buf, 0, optlen); in getsetsockopt() [all …]
|
/openbmc/qemu/linux-user/ |
H A D | syscall.c | 5017 void *big_buf = NULL; in do_ioctl_dm() local 5031 big_buf = g_malloc0(((struct dm_ioctl*)buf_temp)->data_size * 2); in do_ioctl_dm() 5032 memcpy(big_buf, buf_temp, target_size); in do_ioctl_dm() 5033 buf_temp = big_buf; in do_ioctl_dm() 5034 host_dm = big_buf; in do_ioctl_dm() 5233 g_free(big_buf); in do_ioctl_dm()
|