Go to the source code of this file.
◆ __PR() [1/2]
◆ __PR() [2/2]
◆ assign_inodes()
Definition at line 113 of file inode.c.
121 for (s_entry = dpnt->
contents; s_entry; s_entry = s_entry->
next) {
133 _(
"Implementation botch, fetching extend %d for %s from dir entry.\n"),
144 if (s_entry->
size != 0)
172 _(
"Implementation botch: Hashed file '%s' has illegal inode %u.\n"),
unsigned int starting_block
unsigned int starting_block
struct directory * subdir
struct iso_directory_record isorec
EXPORT UInt32_t get_733(void *vp)
struct directory_entry * contents
struct directory_entry * next
LOCAL void assign_inodes(struct directory *dpnt)
void add_hash(struct hash_table *table, unsigned char *name, int len, unsigned char *pointer)
EXPORT void comerrno(int err, char *msg, va_alist)
LOCAL void update_inode(struct directory_entry *s_entry, int value)
EXPORT void set_733(void *vp, UInt32_t i)
EXPORT int errmsgno(int err, char *msg, va_alist)
Referenced by do_inode().
◆ assign_linkcount()
Definition at line 284 of file inode.c.
292 for (s_entry = dpnt->
contents; s_entry; s_entry = s_entry->
next) {
312 _(
"Implementation botch: File '%s' not hashed.\n"),
#define RELOCATED_DIRECTORY
LOCAL void assign_linkcount(struct directory *dpnt)
struct directory * subdir
struct iso_directory_record isorec
struct directory_entry * contents
LOCAL void update_nlink(struct directory_entry *s_entry, int value)
struct directory_entry * next
EXPORT void comerrno(int err, char *msg, va_alist)
Referenced by do_inode().
◆ compute_linkcount()
Definition at line 198 of file inode.c.
206 for (s_entry = dpnt->
contents; s_entry; s_entry = s_entry->
next) {
245 _(
"Implementation botch: Unhashed file '%s'.\n"),
256 if (s_hash ==
NULL) {
262 _(
"Implementation botch: File '%s' not hashed (dev/ino %llX/%llX).\n"),
#define RELOCATED_DIRECTORY
unsigned int starting_block
LOCAL void compute_linkcount(struct directory *dpnt)
struct directory * subdir
struct iso_directory_record isorec
struct directory_entry * contents
struct directory_entry * next
void add_hash(struct hash_table *table, unsigned char *name, int len, unsigned char *pointer)
EXPORT void comerrno(int err, char *msg, va_alist)
Referenced by do_inode().
◆ do_dir_nlink()
Definition at line 85 of file inode.c.
LOCAL int update_dir_nlink(struct directory *dpnt)
struct directory_entry * contents
struct directory * reloc_dir
LOCAL void update_nlink(struct directory_entry *s_entry, int value)
Referenced by dirtree_fixup().
◆ do_inode()
Definition at line 55 of file inode.c.
78 comerrno(
EX_BAD,
_(
"Inode number overflow, too many files in file system.\n"));
LOCAL void assign_linkcount(struct directory *dpnt)
LOCAL void compute_linkcount(struct directory *dpnt)
LOCAL UInt32_t null_ino_high
LOCAL void assign_inodes(struct directory *dpnt)
EXPORT void comerrno(int err, char *msg, va_alist)
Referenced by file_gen(), and read_bitmaps().
◆ update_dir_nlink()
Definition at line 405 of file inode.c.
420 for (
i = 0, xpnt = dpnt->
subdir; xpnt; xpnt = xpnt->
next)
430 for (s_entry = dpnt->
contents; s_entry;
431 s_entry = s_entry->
next) {
451 for (xpnt = dpnt->
subdir; xpnt; xpnt = xpnt->
next) {
#define RELOCATED_DIRECTORY
LOCAL int update_dir_nlink(struct directory *dpnt)
struct directory * subdir
#define INHIBIT_ISO9660_ENTRY
struct directory_entry * contents
LOCAL void update_nlink(struct directory_entry *s_entry, int value)
struct directory_entry * next
struct directory_entry * self
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
Referenced by do_dir_nlink().
◆ update_inode()
Definition at line 329 of file inode.c.
343 if (pnt[3] != 1 && pnt[3] != 2) {
345 _(
"**BAD RRVERSION (%d) in '%c%c' field (%2.2X %2.2X).\n"),
346 pnt[3], pnt[0], pnt[1], pnt[0], pnt[1]);
350 _(
"**BAD RRLEN (%d) in '%2.2s' field %2.2X %2.2X.\n"),
351 pnt[2], pnt, pnt[0], pnt[1]);
354 if (pnt[0] ==
'P' && pnt[1] ==
'X') {
355 if ((pnt[2] & 0xFF) < 44)
unsigned int total_rr_attr_size
unsigned char * parse_xa(unsigned char *pnt, int *lenp, struct directory_entry *dpnt)
unsigned char * rr_attributes
EXPORT void set_733(void *vp, UInt32_t i)
EXPORT int errmsgno(int err, char *msg, va_alist)
Referenced by assign_inodes().
◆ update_nlink()
Definition at line 369 of file inode.c.
380 if (pnt[3] != 1 && pnt[3] != 2) {
382 _(
"**BAD RRVERSION (%d) in '%c%c' field (%2.2X %2.2X).\n"),
383 pnt[3], pnt[0], pnt[1], pnt[0], pnt[1]);
387 _(
"**BAD RRLEN (%d) in '%2.2s' field %2.2X %2.2X.\n"),
388 pnt[2], pnt, pnt[0], pnt[1]);
391 if (pnt[0] ==
'P' && pnt[1] ==
'X') {
unsigned int total_rr_attr_size
unsigned char * parse_xa(unsigned char *pnt, int *lenp, struct directory_entry *dpnt)
unsigned char * rr_attributes
EXPORT void set_733(void *vp, UInt32_t i)
EXPORT int errmsgno(int err, char *msg, va_alist)
Referenced by assign_linkcount(), do_dir_nlink(), and update_dir_nlink().
◆ null_ino_high
LOCAL UInt32_t null_ino_high |
◆ sccsid
Initial value:=
"@(#)inode.c 1.19 16/11/14 Copyright 2006-2015 J. Schilling"
Definition at line 4 of file inode.c.