Lines Matching defs:ref
217 get_attribute_dir_path(NodeRef ref, const char *path, int fd)
232 get_attribute_dir_path_needed(NodeRef ref, const char *path, int fd,
258 get_attribute_dir_path(NodeRef ref, const char *path, int fd)
262 sprintf(buffer, "/%" B_PRIdINO, ref.node);
269 get_attribute_dir_path_needed(NodeRef ref, const char *path, int fd,
272 _attrDirPath = get_attribute_dir_path(ref, path, fd);
282 ensure_attribute_dir_exists(NodeRef ref, const char *path, int fd)
290 error = get_attribute_dir_path_needed(ref, path, fd, attrDirPath);
301 (long long)ref.node);
317 open_attr_dir(NodeRef ref, const char *path, int fd)
320 status_t error = ensure_attribute_dir_exists(ref, path, fd);
327 string dirPath(get_attribute_dir_path(ref, path, fd));
333 get_attribute_path(NodeRef ref, const char *path, int fd,
340 status_t error = ensure_attribute_dir_exists(ref, path, fd);
347 attrPath = get_attribute_dir_path(ref, path, fd) + '/';
366 NodeRef ref(st);
374 return get_attribute_path(ref, (pathValid ? path.c_str() : NULL),
397 NodeRef ref(st);
399 return get_attribute_path(ref, NULL, fd, attribute, attrPath, typePath);
682 // get node ref for the node
690 NodeRef ref(st);
701 DIR *dir = open_attr_dir(ref, (path ? realPath.c_str() : NULL),
707 AttrDirDescriptor *descriptor = new AttrDirDescriptor(dir, ref);
781 NodeRef ref(*st);
782 string dirPath = get_attribute_dir_path(ref, path, -1);