You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
488 B
20 lines
488 B
/*
|
|
* linux/include/update.h
|
|
*
|
|
* (C) 2021 Huan
|
|
*/
|
|
|
|
/* update begin */
|
|
#define NAME_LEN 14 /* max of file name */
|
|
#define DIRBUF 8192 /* buffer size for fs-indep. dirs */
|
|
/* must in general be larger than the filesystem buffer size */
|
|
#define MAX_ARG_PAGES 32
|
|
|
|
|
|
struct linux_dirent {
|
|
long d_ino; /* i_node */
|
|
off_t d_off; /* */
|
|
unsigned short d_reclen; /* size of struct */
|
|
char d_name[NAME_LEN]; /* name */
|
|
};
|
|
/* update end */ |