Lines Matching refs:path
261 char* path; member
397 const char* path, in uv__statx() argument
406 rc = syscall(__NR_statx, dirfd, path, flags, mask, statxbuf); in uv__statx()
924 sqe->addr = (uintptr_t) req->path; in uv__iou_fs_link()
948 sqe->addr = (uintptr_t) req->path; in uv__iou_fs_mkdir()
969 sqe->addr = (uintptr_t) req->path; in uv__iou_fs_open()
991 sqe->addr = (uintptr_t) req->path; in uv__iou_fs_rename()
1015 sqe->addr = (uintptr_t) req->path; in uv__iou_fs_symlink()
1036 sqe->addr = (uintptr_t) req->path; in uv__iou_fs_unlink()
1101 sqe->addr = (uintptr_t) req->path; in uv__iou_fs_statx()
2290 char path[256]; in uv__get_cgroupv2_constrained_cpu() local
2305 snprintf(path, sizeof(path), "/sys/fs/cgroup/%.*s/cpu.max", cgroup_size, in uv__get_cgroupv2_constrained_cpu()
2309 if (uv__slurp(path, buf, sizeof(buf)) < 0) in uv__get_cgroupv2_constrained_cpu()
2321 snprintf(path, sizeof(path), "/sys/fs/cgroup/%.*s/cpu.weight", cgroup_size, in uv__get_cgroupv2_constrained_cpu()
2325 if (uv__slurp(path, buf, sizeof(buf)) < 0) in uv__get_cgroupv2_constrained_cpu()
2353 char path[256]; in uv__get_cgroupv1_constrained_cpu() local
2365 snprintf(path, sizeof(path), "/sys/fs/cgroup/%.*s/cpu.cfs_quota_us", in uv__get_cgroupv1_constrained_cpu()
2368 if (uv__slurp(path, buf, sizeof(buf)) < 0) in uv__get_cgroupv1_constrained_cpu()
2375 snprintf(path, sizeof(path), "/sys/fs/cgroup/%.*s/cpu.cfs_period_us", in uv__get_cgroupv1_constrained_cpu()
2379 if (uv__slurp(path, buf, sizeof(buf)) < 0) in uv__get_cgroupv1_constrained_cpu()
2386 snprintf(path, sizeof(path), "/sys/fs/cgroup/%.*s/cpu.shares", cgroup_size, in uv__get_cgroupv1_constrained_cpu()
2390 if (uv__slurp(path, buf, sizeof(buf)) < 0) in uv__get_cgroupv1_constrained_cpu()
2497 tmp_path = uv__strdup(handle->path); in uv__inotify_fork()
2504 handle->path = tmp_path; in uv__inotify_fork()
2515 tmp_path = handle->path; in uv__inotify_fork()
2516 handle->path = NULL; in uv__inotify_fork()
2553 const char* path; in uv__inotify_read() local
2589 path = e->len ? (const char*) (e + 1) : uv__basename_r(w->path); in uv__inotify_read()
2611 h->cb(h, path, events, 0); in uv__inotify_read()
2629 const char* path, in uv_fs_event_start() argument
2656 wd = inotify_add_watch(loop->inotify_fd, path, events); in uv_fs_event_start()
2664 len = strlen(path) + 1; in uv_fs_event_start()
2670 w->path = memcpy(w + 1, path, len); in uv_fs_event_start()
2678 handle->path = w->path; in uv_fs_event_start()
2696 handle->path = NULL; in uv_fs_event_stop()