Lines Matching refs:n
1288 uint32_t n; in uv__epoll_ctl_flush() local
1297 n = *ctl->sqtail - *ctl->sqhead; in uv__epoll_ctl_flush()
1299 rc = uv__io_uring_enter(ctl->ringfd, n, n, UV__IORING_ENTER_GETEVENTS); in uv__epoll_ctl_flush()
1305 if (rc != (int) n) in uv__epoll_ctl_flush()
1756 int n; in uv_cpu_info() local
1794 n = fscanf(fp, "cpu%u %llu %llu %llu %llu %llu %llu", in uv_cpu_info()
1797 if (n != 7) in uv_cpu_info()
1832 n = (int) strcspn(p, "\n"); in uv_cpu_info()
1836 p = memmem(parts, sizeof(parts) - 1, p, n + 1); in uv_cpu_info()
1840 p += n + 1; in uv_cpu_info()
1841 n = (int) strcspn(p, "\n"); in uv_cpu_info()
1852 snprintf(*model, sizeof(*model), "%.*s", n, p); in uv_cpu_info()
1868 n = 0; in uv_cpu_info()
1873 n++; in uv_cpu_info()
1887 size = n * sizeof(**ci) + sizeof(models); in uv_cpu_info()
1896 *count = n; in uv_cpu_info()
1897 p = memcpy(*ci + n, models, sizeof(models)); in uv_cpu_info()
2116 int* n) { in uv__cgroup1_find_memory_controller() argument
2130 *n = (int) strcspn(p, "\n"); in uv__cgroup1_find_memory_controller()
2140 int n; in uv__get_cgroup1_memory_limits() local
2144 p = uv__cgroup1_find_memory_controller(buf, &n); in uv__get_cgroup1_memory_limits()
2147 "/sys/fs/cgroup/memory/%.*s/memory.soft_limit_in_bytes", n, p); in uv__get_cgroup1_memory_limits()
2151 "/sys/fs/cgroup/memory/%.*s/memory.limit_in_bytes", n, p); in uv__get_cgroup1_memory_limits()
2180 int n; in uv__get_cgroup2_memory_limits() local
2184 n = (int) strcspn(p, "\n"); in uv__get_cgroup2_memory_limits()
2187 snprintf(filename, sizeof(filename), "/sys/fs/cgroup/%.*s/memory.max", n, p); in uv__get_cgroup2_memory_limits()
2189 snprintf(filename, sizeof(filename), "/sys/fs/cgroup/%.*s/memory.high", n, p); in uv__get_cgroup2_memory_limits()
2223 int n; in uv__get_cgroup1_current_memory() local
2226 p = uv__cgroup1_find_memory_controller(buf, &n); in uv__get_cgroup1_current_memory()
2229 "/sys/fs/cgroup/memory/%.*s/memory.usage_in_bytes", n, p); in uv__get_cgroup1_current_memory()
2246 int n; in uv__get_cgroup2_current_memory() local
2250 n = (int) strcspn(p, "\n"); in uv__get_cgroup2_current_memory()
2253 "/sys/fs/cgroup/%.*s/memory.current", n, p); in uv__get_cgroup2_current_memory()