filelist
struct filelist fhead;
struct filelist fhead;
for (fileindex = 0; filelist[fileindex].name[0] != '\0';
if (!filelist[fileindex].quiet)
printf("> boot %s\n", filelist[fileindex].name);
fd = loadfile(filelist[fileindex].name, marks,
if (!filelist[fileindex].quiet)
filelist[fileindex].name, strerror(errno));
} filelist[] = {
struct filelist filehead __cacheline_aligned;
struct filelist flist;
LIST_HEAD(filelist, file);
extern struct filelist filehead; /* head of list of open files */
TAILQ_HEAD(filelist, files);
struct filelist m_files;
extern struct filelist allfiles; /* list of all kernel source files */
extern struct filelist allcfiles; /* list of all .c files */
extern struct filelist allsfiles; /* list of all .S files */
extern struct filelist allofiles; /* list of all .o files */
struct filelist allfiles; /* list of all kernel source files */
struct filelist allcfiles; /* list of all .c files */
struct filelist allsfiles; /* list of all .S files */
struct filelist allofiles; /* list of all .o files */
mksubdirs(struct filelist *fl)
fp = fopen(filelist->names[0], "r");
err(2, "%s", filelist->names[0]);
fp = fopen(filelist->names[file_no], "r");
err(2, "%s", filelist->names[file_no]);
fsort(struct filelist *filelist, int nfiles, FILE *outfp, struct field *ftbl)
fmerge(struct filelist *filelist, int nfiles, FILE *outfp, struct field *ftbl)
fp = fopen(filelist->names[i], "r");
err(2, "%s", filelist->names[i]);
order(struct filelist *filelist, struct field *ftbl, int quiet)
fp = fopen(filelist->names[0], "r");
err(2, "%s", filelist->names[0]);
struct filelist filelist;
filelist.names = names;
filelist.names = (const char * const *) &argv[optind];
order(&filelist, fldtab, mode == 'C');
fmerge(&filelist, num_input_files, outfp, fldtab);
fsort(&filelist, num_input_files, outfp, fldtab);
void fmerge(struct filelist *, int, FILE *, struct field *);
void fsort(struct filelist *, int, FILE *, struct field *);
__dead void order(struct filelist *, struct field *, int);
SendFileNo(struct rmp_packet *req, RMPCONN *rconn, char *filelist[])
if (i < C_MAXFILE && filelist[i] != NULL) {
src = filelist[i];
SendBootRepl(struct rmp_packet *req, RMPCONN *rconn, char *filelist[])
src = filelist[0];
for (i = 0; i < C_MAXFILE && filelist[i] != NULL; i++)
if (STREQN(filename, filelist[i]))