Searched refs:max_fds (Results 1 – 12 of 12) sorted by relevance
/third_party/node/deps/uvwasi/src/ |
D | poll_oneoff.c | 37 uvwasi_size_t max_fds in uvwasi__poll_oneoff_state_init() argument 50 state->max_fds = 0; in uvwasi__poll_oneoff_state_init() 59 if (max_fds > 0) { in uvwasi__poll_oneoff_state_init() 61 max_fds, in uvwasi__poll_oneoff_state_init() 69 max_fds, in uvwasi__poll_oneoff_state_init() 79 state->max_fds = max_fds; in uvwasi__poll_oneoff_state_init() 119 state->max_fds = 0; in uvwasi__poll_oneoff_state_cleanup()
|
D | poll_oneoff.h | 27 uvwasi_size_t max_fds; member 38 uvwasi_size_t max_fds
|
/third_party/libwebsockets/lib/plat/unix/ |
D | unix-fds.c | 41 done = &p[context->max_fds]; in wsi_from_fd() 65 done = &p[context->max_fds]; in sanity_assert_no_wsi_traces() 105 done = &p[context->max_fds]; in sanity_assert_no_sockfd_traces() 144 done = &p[context->max_fds]; in insert_wsi() 188 done = &p[context->max_fds]; in delete_from_fd() 224 done = &p[context->max_fds]; in delete_from_fdwsi()
|
D | unix-init.c | 131 context->max_fds, "lws_lookup"); in lws_plat_init() 135 context->max_fds); in lws_plat_init() 167 (unsigned long)(sizeof(struct lws *) * context->max_fds)); in lws_plat_init()
|
/third_party/libwebsockets/lib/plat/freertos/ |
D | freertos-init.c | 95 context->max_fds, "esp32 lws_lookup"); in lws_plat_init() 98 context->max_fds); in lws_plat_init() 103 (unsigned long)(sizeof(struct lws *) * context->max_fds)); in lws_plat_init()
|
/third_party/python/Lib/test/libregrtest/ |
D | setup.py | 147 fd_limit, max_fds = resource.getrlimit(RLIMIT_NOFILE) 152 if fd_limit < desired_fds and fd_limit < max_fds: 153 new_fd_limit = min(desired_fds, max_fds) 155 resource.setrlimit(RLIMIT_NOFILE, (new_fd_limit, max_fds))
|
/third_party/libwebsockets/lib/plat/optee/ |
D | lws-plat-optee.c | 203 context->max_fds, "lws_lookup"); in lws_plat_init() 206 context->max_fds); in lws_plat_init() 211 (long)sizeof(struct lws *) * context->max_fds); in lws_plat_init()
|
/third_party/NuttX/fs/inode/ |
D | fs_files.c | 676 sz = new_fdt->max_fds * sizeof(struct file_table_s); in copy_fds() 688 for (int i = 0; i < new_fdt->max_fds; i++) in copy_fd_table() 724 fdt->max_fds = numbers; in alloc_fd_table() 799 if((old_files == NULL) || (old_files->fdt == NULL) || (old_files->fdt->max_fds == 0)) in dup_fd() 818 new_fdt = alloc_fd_table(old_fdt->max_fds); in dup_fd() 851 for (int i = 0; i < files->fdt->max_fds; i++) in delete_files() 875 if ((old_files == NULL) || (old_files->fdt == NULL) || (old_files->fdt->max_fds == 0)) in create_files_snapshot() 894 new_fdt = alloc_fd_table(old_fdt->max_fds); in create_files_snapshot()
|
/third_party/libwebsockets/lib/core-net/ |
D | pollfd.c | 284 lwsl_cx_err(context, "Too many fds (%d vs %d)", context->max_fds, in __insert_wsi_socket_into_fds() 291 wsi->desc.sockfd - lws_plat_socket_offset() >= (int)context->max_fds) { in __insert_wsi_socket_into_fds() 293 wsi->desc.sockfd, context->max_fds, in __insert_wsi_socket_into_fds() 374 wsi->desc.sockfd - lws_plat_socket_offset() > (int)context->max_fds) { in __remove_wsi_socket_from_fds() 377 context->max_fds); in __remove_wsi_socket_from_fds()
|
/third_party/libwebsockets/lib/core/ |
D | context.c | 953 context->max_fds = (unsigned int)rt.rlim_cur; in lws_create_context() 956 context->max_fds = getdtablesize(); in lws_create_context() 961 context->max_fds = 2560; in lws_create_context() 967 context->max_fds = (unsigned int)l; in lws_create_context() 970 if ((int)context->max_fds < 0 || in lws_create_context() 986 if (mf < context->max_fds) { in lws_create_context() 988 context->max_fds = mf; in lws_create_context() 1044 context->max_http_header_pool = context->max_fds; in lws_create_context() 1051 context->fd_limit_per_thread = context->max_fds / in lws_create_context() 1173 lwsl_cx_err(context, "OOM allocating %d fds\n", context->max_fds); in lws_create_context()
|
D | private-lib-core.h | 686 unsigned int max_fds; member
|
/third_party/libwebsockets/lib/plat/windows/ |
D | windows-init.c | 109 lws_zalloc(sizeof(struct lws*) * context->max_fds, in lws_plat_init()
|