Searched refs:min_fd (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl02.c | 54 int min_fd = min_fds[n]; in verify_fcntl() local 56 TEST(fcntl(fd, F_DUPFD, min_fd)); in verify_fcntl() 60 fname, min_fd); in verify_fcntl() 64 if (TST_RET < min_fd) { in verify_fcntl() 66 fname, min_fd, TST_RET, min_fd); in verify_fcntl() 70 fname, min_fd, TST_RET); in verify_fcntl()
|
/external/iproute2/lib/ |
D | bpf.c | 2554 int *cmsg_buf, min_fd; in bpf_map_set_send() local 2564 for (i = 0; i < entries; i += min_fd) { in bpf_map_set_send() 2567 min_fd = min(BPF_SCM_MAX_FDS * 1U, entries - i); in bpf_map_set_send() 2568 bpf_map_set_init_single(&msg, min_fd); in bpf_map_set_send() 2570 memcpy(cmsg_buf, &aux->fds[i], sizeof(aux->fds[0]) * min_fd); in bpf_map_set_send() 2571 memcpy(amsg_buf, &aux->ent[i], sizeof(aux->ent[0]) * min_fd); in bpf_map_set_send() 2586 int *cmsg_buf, min_fd; in bpf_map_set_recv() local 2595 for (i = 0; i < min(entries, needed); i += min_fd) { in bpf_map_set_recv() 2599 min_fd = min(entries, entries - i); in bpf_map_set_recv() 2600 bpf_map_set_init_single(&msg, min_fd); in bpf_map_set_recv() [all …]
|