Searched refs:fds (Results 1 – 10 of 10) sorted by relevance
/hal_espressif-3.6.0/components/newlib/ |
D | poll.c | 21 int poll(struct pollfd *fds, nfds_t nfds, int timeout) in poll() argument 35 if (fds == NULL) { in poll() 45 fds[i].revents = 0; in poll() 47 if (fds[i].fd < 0) { in poll() 52 if (fds[i].fd >= FD_SETSIZE) { in poll() 53 fds[i].revents |= POLLNVAL; in poll() 58 if (fds[i].events & (POLLIN | POLLRDNORM | POLLRDBAND | POLLPRI)) { in poll() 59 FD_SET(fds[i].fd, &readfds); in poll() 60 FD_SET(fds[i].fd, &errorfds); in poll() 61 max_fd = MAX(max_fd, fds[i].fd); in poll() [all …]
|
/hal_espressif-3.6.0/components/esp_http_server/src/ |
D | httpd_main.c | 102 esp_err_t httpd_get_client_list(httpd_handle_t handle, size_t *fds, int *client_fds) in httpd_get_client_list() argument 105 if (hd == NULL || fds == NULL || *fds == 0 || client_fds == NULL) { in httpd_get_client_list() 108 size_t max_fds = *fds; in httpd_get_client_list() 109 *fds = 0; in httpd_get_client_list() 112 if (*fds < max_fds) { in httpd_get_client_list() 113 client_fds[(*fds)++] = hd->hd_sd[i].fd; in httpd_get_client_list()
|
/hal_espressif-3.6.0/components/spiffs/test_spiffs_host/ |
D | test_spiffs.cpp | 47 uint8_t *fds = (uint8_t*) malloc(fds_sz); in init_spiffs() local 60 spiffs_res = SPIFFS_mount(fs, &cfg, work, fds, fds_sz, in init_spiffs() 67 spiffs_res = SPIFFS_mount(fs, &cfg, work, fds, fds_sz, in init_spiffs()
|
/hal_espressif-3.6.0/components/spiffs/ |
D | esp_spiffs.c | 111 free(e->fds); in esp_spiffs_free() 208 efs->fds = malloc(efs->fds_sz); in esp_spiffs_init() 209 if (efs->fds == NULL) { in esp_spiffs_init() 214 memset(efs->fds, 0, efs->fds_sz); in esp_spiffs_init() 248 s32_t res = SPIFFS_mount(efs->fs, &efs->cfg, efs->work, efs->fds, efs->fds_sz, in esp_spiffs_init() 261 res = SPIFFS_mount(efs->fs, &efs->cfg, efs->work, efs->fds, efs->fds_sz, in esp_spiffs_init() 336 _efs[index]->fds, _efs[index]->fds_sz, _efs[index]->cache, in esp_spiffs_format()
|
D | spiffs_api.h | 41 uint8_t *fds; /*!< File Descriptor Buffer */ member
|
/hal_espressif-3.6.0/components/newlib/platform_include/sys/ |
D | poll.h | 42 int poll(struct pollfd *fds, nfds_t nfds, int timeout);
|
/hal_espressif-3.6.0/components/vfs/ |
D | vfs.c | 808 static inline bool esp_vfs_safe_fd_isset(int fd, const fd_set *fds) in esp_vfs_safe_fd_isset() argument 810 return fds && FD_ISSET(fd, fds); in esp_vfs_safe_fd_isset() 846 static void esp_vfs_log_fd_set(const char *fds_name, const fd_set *fds) in esp_vfs_log_fd_set() argument 848 if (fds_name && fds) { in esp_vfs_log_fd_set() 851 if (esp_vfs_safe_fd_isset(i, fds)) { in esp_vfs_log_fd_set()
|
/hal_espressif-3.6.0/examples/system/eventfd/ |
D | README.md | 7 3. The second task collects the event from two fds with a `select()` loop.
|
/hal_espressif-3.6.0/components/esp_http_server/include/ |
D | esp_http_server.h | 1517 esp_err_t httpd_get_client_list(httpd_handle_t handle, size_t *fds, int *client_fds);
|
/hal_espressif-3.6.0/docs/en/api-reference/storage/ |
D | vfs.rst | 239 Event fds
|