Home
last modified time | relevance | path

Searched refs:big_buf (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsockopt_sk.c25 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()
49 memset(big_buf, 0, optlen); in getsetsockopt()
57 if (*big_buf != 0x08) { in getsetsockopt()
59 (int)*big_buf); in getsetsockopt()
101 memset(big_buf, 0, optlen); in getsetsockopt()
117 optlen, *(__u8 *)big_buf); in getsetsockopt()
214 free(big_buf); in getsetsockopt()
[all …]
/openbmc/qemu/linux-user/
H A Dsyscall.c4993 void *big_buf = NULL; in do_ioctl_dm() local
5007 big_buf = g_malloc0(((struct dm_ioctl*)buf_temp)->data_size * 2); in do_ioctl_dm()
5008 memcpy(big_buf, buf_temp, target_size); in do_ioctl_dm()
5009 buf_temp = big_buf; in do_ioctl_dm()
5010 host_dm = big_buf; in do_ioctl_dm()
5209 g_free(big_buf); in do_ioctl_dm()