Lines Matching refs:ref_count
263 file->ref_count = 1; in dfs_file_create()
358 if (file && file->ref_count == 1) in fdt_fd_release()
364 rt_atomic_sub(&(file->ref_count), 1); in fdt_fd_release()
442 rt_atomic_add(&(file->ref_count), 1); in fdt_fd_associate_file()
615 rt_atomic_add(&(fdt_dst->fds[newfd]->vnode->ref_count), 1); in dfs_fdtable_dup()
697 rt_atomic_add(&(fdt->fds[newfd]->ref_count), 1); in dfs_dup()
744 rt_atomic_add(&(fdtab->fds[newfd]->ref_count), 1); in dfs_dup_to()
897 rt_atomic_add(&(fdt->fds[newfd]->ref_count), 1); in sys_dup2()
1132 rt_kprintf("%3d ", file->ref_count); in list_fd()
1178 fullpath, (size_t)rt_atomic_load(&(file->ref_count))); in dfs_fd_dump()
1184 file->dentry->pathname, (size_t)rt_atomic_load(&(file->ref_count))); in dfs_fd_dump()