Files
source/Y/ent.html
github-actions[bot] 08571174ab Deploy to GitHub Pages
2026-02-01 17:32:02 +00:00

116 lines
18 KiB
HTML

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>ent</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.6.11' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<pre>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L182'>ent</a> 182 lib/vfs/direntry.c struct vfs_s_entry *ent = NULL;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L199'>ent</a> 199 lib/vfs/direntry.c return ent;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L207'>ent</a> 207 lib/vfs/direntry.c ent = VFS_ENTRY (iter-&gt;data);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L208'>ent</a> 208 lib/vfs/direntry.c if (strlen (ent-&gt;name) == pseg &amp;&amp; strncmp (ent-&gt;name, path, pseg) == 0)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L213'>ent</a> 213 lib/vfs/direntry.c ent = iter != NULL ? VFS_ENTRY (iter-&gt;data) : NULL;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L215'>ent</a> 215 lib/vfs/direntry.c if (ent == NULL &amp;&amp; (flags &amp; (FL_MKFILE | FL_MKDIR)) != 0)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L216'>ent</a> 216 lib/vfs/direntry.c ent = vfs_s_automake (me, root, path, flags);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L217'>ent</a> 217 lib/vfs/direntry.c if (ent == NULL)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L226'>ent</a> 226 lib/vfs/direntry.c ent =</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L227'>ent</a> 227 lib/vfs/direntry.c vfs_s_resolve_symlink (me, ent, strchr (path, PATH_SEP) != NULL ? LINK_FOLLOW : follow);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L228'>ent</a> 228 lib/vfs/direntry.c if (ent == NULL)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L230'>ent</a> 230 lib/vfs/direntry.c root = ent-&gt;ino;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L243'>ent</a> 243 lib/vfs/direntry.c struct vfs_s_entry *ent = NULL;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L261'>ent</a> 261 lib/vfs/direntry.c ent = vfs_s_find_entry_tree (me, ino, name, follow, flags);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L265'>ent</a> 265 lib/vfs/direntry.c return ent;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L269'>ent</a> 269 lib/vfs/direntry.c ent = iter != NULL ? VFS_ENTRY (iter-&gt;data) : NULL;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L271'>ent</a> 271 lib/vfs/direntry.c if (ent != NULL &amp;&amp; !VFS_SUBCLASS (me)-&gt;dir_uptodate (me, ent-&gt;ino))</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L276'>ent</a> 276 lib/vfs/direntry.c vfs_s_free_entry (me, ent);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L277'>ent</a> 277 lib/vfs/direntry.c ent = NULL;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L280'>ent</a> 280 lib/vfs/direntry.c if (ent == NULL)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L285'>ent</a> 285 lib/vfs/direntry.c ent = vfs_s_new_entry (me, path, ino);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L288'>ent</a> 288 lib/vfs/direntry.c vfs_s_free_entry (me, ent);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L293'>ent</a> 293 lib/vfs/direntry.c vfs_s_insert_entry (me, root, ent);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L296'>ent</a> 296 lib/vfs/direntry.c ent = iter != NULL ? VFS_ENTRY (iter-&gt;data) : NULL;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L298'>ent</a> 298 lib/vfs/direntry.c if (ent == NULL)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L302'>ent</a> 302 lib/vfs/direntry.c if (vfs_s_resolve_symlink (me, ent, follow) == NULL)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L309'>ent</a> 309 lib/vfs/direntry.c return ent;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L949'>ent</a> 949 lib/vfs/direntry.c entry-&gt;ino-&gt;ent = entry;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L958'>ent</a> 958 lib/vfs/direntry.c vfs_s_free_entry (struct vfs_class *me, struct vfs_s_entry *ent)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L960'>ent</a> 960 lib/vfs/direntry.c if (ent-&gt;dir != NULL)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L961'>ent</a> 961 lib/vfs/direntry.c g_queue_remove (ent-&gt;dir-&gt;subdir, ent);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L963'>ent</a> 963 lib/vfs/direntry.c MC_PTR_FREE (ent-&gt;name);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L965'>ent</a> 965 lib/vfs/direntry.c if (ent-&gt;ino != NULL)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L967'>ent</a> 967 lib/vfs/direntry.c ent-&gt;ino-&gt;ent = NULL;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L968'>ent</a> 968 lib/vfs/direntry.c vfs_s_free_inode (me, ent-&gt;ino);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L971'>ent</a> 971 lib/vfs/direntry.c g_free (ent);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L977'>ent</a> 977 lib/vfs/direntry.c vfs_s_insert_entry (struct vfs_class *me, struct vfs_s_inode *dir, struct vfs_s_entry *ent)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L981'>ent</a> 981 lib/vfs/direntry.c ent-&gt;dir = dir;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L983'>ent</a> 983 lib/vfs/direntry.c ent-&gt;ino-&gt;st.st_nlink++;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L984'>ent</a> 984 lib/vfs/direntry.c g_queue_push_tail (dir-&gt;subdir, ent);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1087'>ent</a> 1087 lib/vfs/direntry.c struct vfs_s_entry *ent;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1092'>ent</a> 1092 lib/vfs/direntry.c ent = VFS_SUBCLASS (me)-&gt;find_entry (me, super-&gt;root, path, follow, flags);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1093'>ent</a> 1093 lib/vfs/direntry.c return (ent != NULL ? ent-&gt;ino : NULL);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1238'>ent</a> 1238 lib/vfs/direntry.c if (ino-&gt;ent == NULL)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1246'>ent</a> 1246 lib/vfs/direntry.c path = g_strdup (ino-&gt;ent-&gt;name);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1252'>ent</a> 1252 lib/vfs/direntry.c ino = ino-&gt;ent-&gt;dir;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1256'>ent</a> 1256 lib/vfs/direntry.c newpath = g_strconcat (ino-&gt;ent-&gt;name, PATH_SEP_STR, path, (char *) NULL);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1264'>ent</a> 1264 lib/vfs/direntry.c if (ino-&gt;ent-&gt;dir == NULL || ino-&gt;ent-&gt;dir-&gt;ent == NULL)</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1265'>ent</a> 1265 lib/vfs/direntry.c return g_strdup (ino-&gt;ent-&gt;name);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1267'>ent</a> 1267 lib/vfs/direntry.c return g_strconcat (ino-&gt;ent-&gt;dir-&gt;ent-&gt;name, PATH_SEP_STR, ino-&gt;ent-&gt;name, (char *) NULL);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1313'>ent</a> 1313 lib/vfs/direntry.c struct vfs_s_entry *ent;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1327'>ent</a> 1327 lib/vfs/direntry.c ent = vfs_s_generate_entry (me, name, dir, 0755);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1328'>ent</a> 1328 lib/vfs/direntry.c ino = ent-&gt;ino;</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1329'>ent</a> 1329 lib/vfs/direntry.c vfs_s_insert_entry (me, dir, ent);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1436'>ent</a> 1436 lib/vfs/direntry.c handle = vfs_mkstemps (&amp;tmp_vpath, me-&gt;name, ino-&gt;ent-&gt;name);</span>
<span class='curline'><a href='../S/lib--vfs--direntry.c.html#L1461'>ent</a> 1461 lib/vfs/direntry.c vfs_s_print_stats (me-&gt;name, _ ("Getting file"), ino-&gt;ent-&gt;name, total, stat_size);</span>
<span class='curline'><a href='../S/lib--vfs--xdirentry.h.html#L94'>ent</a> 94 lib/vfs/xdirentry.h struct vfs_s_entry *ent; /* Our entry in the parent directory -</span>
<span class='curline'><a href='../S/lib--vfs--xdirentry.h.html#L167'>ent</a> 167 lib/vfs/xdirentry.h void vfs_s_free_entry (struct vfs_class *me, struct vfs_s_entry *ent);</span>
<span class='curline'><a href='../S/lib--vfs--xdirentry.h.html#L168'>ent</a> 168 lib/vfs/xdirentry.h void vfs_s_insert_entry (struct vfs_class *me, struct vfs_s_inode *dir, struct vfs_s_entry *ent);</span>
<span class='curline'><a href='../S/src--vfs--extfs--extfs.c.html#L248'>ent</a> 248 src/vfs/extfs/extfs.c pent = dir-&gt;ent;</span>
<span class='curline'><a href='../S/src--vfs--extfs--extfs.c.html#L262'>ent</a> 262 src/vfs/extfs/extfs.c pent = pent-&gt;dir != NULL ? pent-&gt;dir-&gt;ent : NULL;</span>
<span class='curline'><a href='../S/src--vfs--extfs--extfs.c.html#L495'>ent</a> 495 src/vfs/extfs/extfs.c inode-&gt;ent = entry;</span>
<span class='curline'><a href='../S/src--vfs--extfs--extfs.c.html#L593'>ent</a> 593 src/vfs/extfs/extfs.c root_entry-&gt;ino-&gt;ent = root_entry;</span>
<span class='curline'><a href='../S/src--vfs--extfs--extfs.c.html#L837'>ent</a> 837 src/vfs/extfs/extfs.c for (e = entry; e-&gt;dir != NULL; e = e-&gt;dir-&gt;ent)</span>
<span class='curline'><a href='../S/src--vfs--extfs--extfs.c.html#L840'>ent</a> 840 src/vfs/extfs/extfs.c if (e-&gt;dir-&gt;ent-&gt;dir != NULL)</span>
<span class='curline'><a href='../S/src--vfs--extfs--extfs.c.html#L1148'>ent</a> 1148 src/vfs/extfs/extfs.c if (extfs_cmd (" copyin ", EXTFS_SUPER (VFS_FILE_HANDLER_SUPER (fh)), file-&gt;ino-&gt;ent,</span>
<span class='curline'><a href='../S/src--vfs--ftpfs--ftpfs.c.html#L2335'>ent</a> 2335 src/vfs/ftpfs/ftpfs.c handle = vfs_mkstemps (&amp;vpath, me-&gt;name, fh-&gt;ino-&gt;ent-&gt;name);</span>
<span class='curline'><a href='../S/src--vfs--sftpfs--sftpfs.c.html#L133'>ent</a> 133 src/vfs/sftpfs/sftpfs.c struct vfs_s_entry *ent;</span>
<span class='curline'><a href='../S/src--vfs--sftpfs--sftpfs.c.html#L143'>ent</a> 143 src/vfs/sftpfs/sftpfs.c ent = vfs_s_generate_entry (me, name, dir, 0755);</span>
<span class='curline'><a href='../S/src--vfs--sftpfs--sftpfs.c.html#L145'>ent</a> 145 src/vfs/sftpfs/sftpfs.c path_inode = ent-&gt;ino;</span>
<span class='curline'><a href='../S/src--vfs--sftpfs--sftpfs.c.html#L146'>ent</a> 146 src/vfs/sftpfs/sftpfs.c vfs_s_insert_entry (me, dir, ent);</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L737'>ent</a> 737 src/vfs/shell/shell.c shell_parse_ls (char *buffer, struct vfs_s_entry *ent)</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L739'>ent</a> 739 src/vfs/shell/shell.c #define ST ent-&gt;ino-&gt;st</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L787'>ent</a> 787 src/vfs/shell/shell.c ent-&gt;name = g_strndup (filename, filename_bound - filename);</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L788'>ent</a> 788 src/vfs/shell/shell.c temp = ent-&gt;name;</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L789'>ent</a> 789 src/vfs/shell/shell.c ent-&gt;name = str_shell_unescape (ent-&gt;name);</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L792'>ent</a> 792 src/vfs/shell/shell.c ent-&gt;ino-&gt;linkname = g_strndup (linkname, linkname_bound - linkname);</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L793'>ent</a> 793 src/vfs/shell/shell.c temp = ent-&gt;ino-&gt;linkname;</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L794'>ent</a> 794 src/vfs/shell/shell.c ent-&gt;ino-&gt;linkname = str_shell_unescape (ent-&gt;ino-&gt;linkname);</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L812'>ent</a> 812 src/vfs/shell/shell.c ent-&gt;name = g_strndup (filename, filename_bound - filename);</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L813'>ent</a> 813 src/vfs/shell/shell.c temp = ent-&gt;name;</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L814'>ent</a> 814 src/vfs/shell/shell.c ent-&gt;name = str_shell_unescape (ent-&gt;name);</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L892'>ent</a> 892 src/vfs/shell/shell.c struct vfs_s_entry *ent = NULL;</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L913'>ent</a> 913 src/vfs/shell/shell.c ent = vfs_s_generate_entry (me, NULL, dir, 0);</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L924'>ent</a> 924 src/vfs/shell/shell.c vfs_s_free_entry (me, ent);</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L938'>ent</a> 938 src/vfs/shell/shell.c shell_parse_ls (buffer, ent);</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L939'>ent</a> 939 src/vfs/shell/shell.c else if (ent-&gt;name != NULL)</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L941'>ent</a> 941 src/vfs/shell/shell.c vfs_s_insert_entry (me, dir, ent);</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L942'>ent</a> 942 src/vfs/shell/shell.c ent = vfs_s_generate_entry (me, NULL, dir, 0);</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L946'>ent</a> 946 src/vfs/shell/shell.c vfs_s_free_entry (me, ent);</span>
<span class='curline'><a href='../S/src--vfs--shell--shell.c.html#L1626'>ent</a> 1626 src/vfs/shell/shell.c tmp_handle = vfs_mkstemps (&amp;vpath, me-&gt;name, fh-&gt;ino-&gt;ent-&gt;name);</span>
<span class='curline'><a href='../S/tests--lib--vfs--vfs_parse_ls_lga.c.html#L349'>ent</a> 349 tests/lib/vfs/vfs_parse_ls_lga.c ent[ent_index] = vfs_s_generate_entry (vfs_test_ops1, NULL, vfs_root_inode, 0); \</span>
<span class='curline'><a href='../S/tests--lib--vfs--vfs_parse_ls_lga.c.html#L350'>ent</a> 350 tests/lib/vfs/vfs_parse_ls_lga.c if (!vfs_parse_ls_lga (ls_output, &amp;ent[ent_index]-&gt;ino-&gt;st, &amp;ent[ent_index]-&gt;name, \</span>
<span class='curline'><a href='../S/tests--lib--vfs--vfs_parse_ls_lga.c.html#L351'>ent</a> 351 tests/lib/vfs/vfs_parse_ls_lga.c &amp;ent[ent_index]-&gt;ino-&gt;linkname, &amp;filepos)) \</span>
<span class='curline'><a href='../S/tests--lib--vfs--vfs_parse_ls_lga.c.html#L356'>ent</a> 356 tests/lib/vfs/vfs_parse_ls_lga.c vfs_s_store_filename_leading_spaces (ent[ent_index], filepos); \</span>
<span class='curline'><a href='../S/tests--lib--vfs--vfs_parse_ls_lga.c.html#L357'>ent</a> 357 tests/lib/vfs/vfs_parse_ls_lga.c vfs_s_insert_entry (vfs_test_ops1, vfs_root_inode, ent[ent_index]); \</span>
<span class='curline'><a href='../S/tests--lib--vfs--vfs_parse_ls_lga.c.html#L365'>ent</a> 365 tests/lib/vfs/vfs_parse_ls_lga.c struct vfs_s_entry *ent[4];</span>
<span class='curline'><a href='../S/tests--lib--vfs--vfs_parse_ls_lga.c.html#L380'>ent</a> 380 tests/lib/vfs/vfs_parse_ls_lga.c mctest_assert_str_eq (ent[0]-&gt;name, "build_root1");</span>
<span class='curline'><a href='../S/tests--lib--vfs--vfs_parse_ls_lga.c.html#L381'>ent</a> 381 tests/lib/vfs/vfs_parse_ls_lga.c mctest_assert_str_eq (ent[0]-&gt;name, "build_root1");</span>
<span class='curline'><a href='../S/tests--lib--vfs--vfs_parse_ls_lga.c.html#L382'>ent</a> 382 tests/lib/vfs/vfs_parse_ls_lga.c mctest_assert_str_eq (ent[1]-&gt;name, " build_root2");</span>
<span class='curline'><a href='../S/tests--lib--vfs--vfs_parse_ls_lga.c.html#L383'>ent</a> 383 tests/lib/vfs/vfs_parse_ls_lga.c mctest_assert_str_eq (ent[3]-&gt;name, " build_root 0");</span>
</pre>
</body>
</html>