Searched refs:fd64 (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/tools/testing/selftests/bpf/ |
D | test_maps.c | 1181 __s64 fd64; in prepare_reuseport_grp() local 1191 fd64 = socket(AF_INET6, type, 0); in prepare_reuseport_grp() 1192 CHECK(fd64 == -1, "socket()", in prepare_reuseport_grp() 1194 type, fd64, errno); in prepare_reuseport_grp() 1196 err = setsockopt(fd64, SOL_SOCKET, SO_REUSEPORT, in prepare_reuseport_grp() 1202 err = bpf_map_update_elem(map_fd, &index0, &fd64, in prepare_reuseport_grp() 1209 err = bind(fd64, (struct sockaddr *)&s6, sizeof(s6)); in prepare_reuseport_grp() 1214 err = getsockname(fd64, (struct sockaddr *)&s6, in prepare_reuseport_grp() 1221 err = getsockopt(fd64, SOL_SOCKET, SO_COOKIE, &sk_cookie, in prepare_reuseport_grp() 1231 err = bpf_map_update_elem(map_fd, &index0, &fd64, in prepare_reuseport_grp() [all …]
|
/Linux-v4.19/kernel/bpf/ |
D | reuseport_array.c | 268 u64 fd64 = *(u64 *)value; in bpf_fd_reuseport_array_update_elem() local 270 if (fd64 > S32_MAX) in bpf_fd_reuseport_array_update_elem() 272 fd = fd64; in bpf_fd_reuseport_array_update_elem()
|