Searched refs:fds_used (Results 1 – 2 of 2) sorted by relevance
34 static bpf_fd_t *fds_used[FD_USED_SIZE]; /* Currently being used */ variable62 assert(fds_used[bfd->fd] == NULL); in open()63 fds_used[bfd->fd] = bfd; in open()83 assert(fds_used[d] == NULL); in open()84 fds_used[d] = bfd; /* Lock-free is OK */ in open()94 if(fds_used[d]) { in close()98 fds_used[d]->next = fds_pool_head; in close()99 fds_pool_head = fds_used[d]; in close()100 fds_used[d] = NULL; in close()
409 int fds_used = 0; in handle_message() local432 fds_used += msg->n_fds; in handle_message()464 fds_used); in handle_message()468 &fds->data[fds->zone_start + fds_used], in handle_message()470 fds->zone_end -= fds_used; in handle_message()476 fds->zone_start += fds_used; in handle_message()482 if (fds_used >= 32 || meth >= 2048) { in handle_message()484 fds_used, meth); in handle_message()486 if (fds_used > 0) { in handle_message()488 fds_used); in handle_message()[all …]