Lines Matching refs:file_info
37 struct file_info { struct
51 struct file_info *fi = data; in print_info() argument
84 free(((struct file_info *)data)->name); in free_info()
88 static void fill_flags(struct file_info *fi) in fill_flags()
128 static struct file_info *add_socket(ino_t inode, const char *type) in add_socket()
130 struct file_info *fi = xzalloc(sizeof(struct file_info)); in add_socket()
144 struct file_info *fi = add_socket(inode, "unix"); in scan_unix()
165 struct file_info *fi = add_socket(inode, "netlink"); in scan_netlink()
200 struct file_info *fi = add_socket(inode, af == 4 ? "IPv4" : "IPv6"); in scan_ip()
217 static int find_socket(struct file_info *fi, long inode) in find_socket()
234 struct file_info *s = (struct file_info*) llist_pop(&list); in find_socket()
247 static void fill_stat(struct file_info *fi, const char *path) in fill_stat()
289 struct file_info *new_file_info(struct proc_info *pi, const char *fd) in new_file_info()
291 struct file_info *fi = xzalloc(sizeof(struct file_info)); in new_file_info()
307 struct file_info *fi = new_file_info(pi, ""); in visit_symlink()
347 struct file_info *fi; in visit_maps()
370 struct file_info *fi = new_file_info(pi, "NOFD"); in visit_fds()