Lines Matching refs:ino

1181             e->ino = node->nodeid;
1192 set_stat(f, e->ino, &e->attr);
1194 fprintf(stderr, " NODEID: %lu\n", (unsigned long) e->ino);
1286 && (e->ino != 0))
1287 forget_node(f, e->ino, 1);
1290 forget_node(f, e->ino, 1);
1354 e.ino = 0;
1365 static void fuse_lib_forget(fuse_req_t req, fuse_ino_t ino,
1370 fprintf(stderr, "FORGET %llu/%lu\n", (unsigned long long)ino, nlookup);
1371 forget_node(f, ino, nlookup);
1375 static void fuse_lib_getattr(fuse_req_t req, fuse_ino_t ino,
1388 path = get_path(f, ino);
1401 update_stat(get_node(f, ino), &buf);
1405 set_stat(f, ino, &buf);
1420 static void fuse_lib_setattr(fuse_req_t req, fuse_ino_t ino, struct stat *attr,
1430 path = get_path(f, ino);
1492 update_stat(get_node(f, ino), &buf);
1496 set_stat(f, ino, &buf);
1502 static void fuse_lib_access(fuse_req_t req, fuse_ino_t ino, int mask)
1510 path = get_path(f, ino);
1524 static void fuse_lib_readlink(fuse_req_t req, fuse_ino_t ino)
1533 path = get_path(f, ino);
1730 static void fuse_lib_link(fuse_req_t req, fuse_ino_t ino, fuse_ino_t newparent,
1741 oldpath = get_path(f, ino);
1761 static void fuse_do_release(struct fuse *f, fuse_ino_t ino, const char *path,
1770 node = get_node(f, ino);
1806 forget_node(f, e.ino, 1);
1819 get_node(f, e.ino)->open_count++;
1824 fuse_do_release(f, e.ino, path, fi);
1826 forget_node(f, e.ino, 1);
1849 static void open_auto_cache(struct fuse *f, fuse_ino_t ino, const char *path,
1855 node = get_node(f, ino);
1881 static void fuse_lib_open(fuse_req_t req, fuse_ino_t ino,
1891 path = get_path(f, ino);
1903 open_auto_cache(f, ino, path, fi);
1910 get_node(f, ino)->open_count++;
1915 fuse_do_release(f, ino, path, fi);
1929 static void fuse_lib_read(fuse_req_t req, fuse_ino_t ino, size_t size,
1945 path = get_path(f, ino);
1973 static void fuse_lib_write(fuse_req_t req, fuse_ino_t ino, const char *buf,
1982 path = get_path(f, ino);
2009 static void fuse_lib_fsync(fuse_req_t req, fuse_ino_t ino, int datasync,
2018 path = get_path(f, ino);
2042 static void fuse_lib_opendir(fuse_req_t req, fuse_ino_t ino,
2062 dh->nodeid = ino;
2072 path = get_path(f, ino);
2175 static int readdir_fill(struct fuse *f, fuse_req_t req, fuse_ino_t ino,
2182 path = get_path(f, ino);
2205 static void fuse_lib_readdir(fuse_req_t req, fuse_ino_t ino, size_t size,
2219 int err = readdir_fill(f, req, ino, size, off, dh, &fi);
2240 static void fuse_lib_releasedir(fuse_req_t req, fuse_ino_t ino,
2250 path = get_path(f, ino);
2265 static void fuse_lib_fsyncdir(fuse_req_t req, fuse_ino_t ino, int datasync,
2277 path = get_path(f, ino);
2289 static void fuse_lib_statfs(fuse_req_t req, fuse_ino_t ino)
2298 if (!ino) {
2303 path = get_path(f, ino);
2320 static void fuse_lib_setxattr(fuse_req_t req, fuse_ino_t ino, const char *name,
2329 path = get_path(f, ino);
2341 static int common_getxattr(struct fuse *f, fuse_req_t req, fuse_ino_t ino,
2349 path = get_path(f, ino);
2361 static void fuse_lib_getxattr(fuse_req_t req, fuse_ino_t ino, const char *name,
2373 res = common_getxattr(f, req, ino, name, value, size);
2380 res = common_getxattr(f, req, ino, name, NULL, 0);
2388 static int common_listxattr(struct fuse *f, fuse_req_t req, fuse_ino_t ino,
2396 path = get_path(f, ino);
2408 static void fuse_lib_listxattr(fuse_req_t req, fuse_ino_t ino, size_t size)
2419 res = common_listxattr(f, req, ino, list, size);
2426 res = common_listxattr(f, req, ino, NULL, 0);
2434 static void fuse_lib_removexattr(fuse_req_t req, fuse_ino_t ino,
2443 path = get_path(f, ino);
2571 static int fuse_flush_common(struct fuse *f, fuse_req_t req, fuse_ino_t ino,
2592 locks_insert(get_node(f, ino), &l);
2602 static void fuse_lib_release(fuse_req_t req, fuse_ino_t ino,
2611 path = get_path(f, ino);
2618 err = fuse_flush_common(f, req, ino, path, fi);
2624 fuse_do_release(f, ino, path, fi);
2632 static void fuse_lib_flush(fuse_req_t req, fuse_ino_t ino,
2640 path = get_path(f, ino);
2643 err = fuse_flush_common(f, req, ino, path, fi);
2649 static int fuse_lock_common(fuse_req_t req, fuse_ino_t ino,
2659 path = get_path(f, ino);
2671 static void fuse_lib_getlk(fuse_req_t req, fuse_ino_t ino,
2682 conflict = locks_conflict(get_node(f, ino), &l);
2687 err = fuse_lock_common(req, ino, fi, lock, F_GETLK);
2697 static void fuse_lib_setlk(fuse_req_t req, fuse_ino_t ino,
2701 int err = fuse_lock_common(req, ino, fi, lock, should_sleep ? F_SETLKW : F_SETLK);
2708 locks_insert(get_node(f, ino), &l);
2714 static void fuse_lib_bmap(fuse_req_t req, fuse_ino_t ino, size_t blocksize,
2724 path = get_path(f, ino);
2738 static void fuse_lib_ioctl(fuse_req_t req, fuse_ino_t ino, int cmd, void *arg,
2769 path = get_path(f, ino); /* Should be get_path_nullok() */