5 "@(#)inode.c 1.19 16/11/14 Copyright 2006-2015 J. Schilling";
78 comerrno(
EX_BAD,
_(
"Inode number overflow, too many files in file system.\n"));
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"),
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"),
292 for (s_entry = dpnt->
contents; s_entry; s_entry = s_entry->
next) {
312 _(
"Implementation botch: File '%s' not hashed.\n"),
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)
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') {
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) {
unsigned int starting_block
#define RELOCATED_DIRECTORY
EXPORT void do_dir_nlink(struct directory *dpnt)
unsigned int starting_block
LOCAL void assign_linkcount(struct directory *dpnt)
LOCAL void compute_linkcount(struct directory *dpnt)
LOCAL int update_dir_nlink(struct directory *dpnt)
LOCAL UInt32_t null_ino_high
struct directory * subdir
struct iso_directory_record isorec
EXPORT UInt32_t get_733(void *vp)
#define INHIBIT_ISO9660_ENTRY
struct directory_entry * contents
unsigned int total_rr_attr_size
struct directory * reloc_dir
unsigned char * parse_xa(unsigned char *pnt, int *lenp, struct directory_entry *dpnt)
static UConst char sccsid[]
LOCAL void update_nlink(struct directory_entry *s_entry, int value)
struct directory_entry * next
struct directory_entry * self
GLsizei const GLfloat * value
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
LOCAL void assign_inodes(struct directory *dpnt)
void add_hash(struct hash_table *table, unsigned char *name, int len, unsigned char *pointer)
EXPORT void do_inode(struct directory *dpnt)
EXPORT void comerrno(int err, char *msg, va_alist)
unsigned char * rr_attributes
EXPORT void do_inode __PR((struct directory *dpnt))
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)