Searched refs:filename (Results 1 - 13 of 13) sorted by relevance

/broadcom-cfe-1.4.2/cfe/main/
H A Dcfe_savedata.c58 * cfe_savedata(fsname,filename,start,end)
64 * filename - name of file within file system
71 int cfe_savedata(char *fsname,char *devname,char *filename,hsaddr_t start,hsaddr_t end) argument
90 res = fs_open(fsctx,&ref,filename,FILE_MODE_WRITE);
H A Dcfe_boot.c76 * splitpath(path,devname,filename)
78 * Split a path name (a boot path, in the form device:filename)
84 * filename - receives pointer to file name
90 void splitpath(char *path,char **devname,char **filename) argument
95 *filename = NULL;
101 *filename = path;
105 *filename = x;
H A Dcfe_autoboot.c125 * filename - canonical name of file to load
133 char *filename,
138 la->la_filename = filename;
232 * is 'hostname:filename'
234 * If the method's filename includes a hostname, ignore
236 * filename. This way we can provide the name here
290 char *filename; local
296 filename = buffer;
299 filename = env_getenv("BOOT_FILE");
300 if (filename) strcp
132 cfe_tryauto_common(cfe_autoboot_method_t *method, char *filename, cfe_loadargs_t *la) argument
[all...]
H A Dcfe_rawfs.c87 static int raw_fileop_open(void **ref,void *fsctx,char *filename,int mode);
143 static int raw_fileop_open(void **ref,void *fsctx_arg,char *filename,int mode) argument
167 * If a filename was specified, it will be in the form
173 if (filename) {
174 lib_trimleading(filename);
175 strncpy(temp,filename,sizeof(temp));
H A Dcfe_filesys.c236 * fs_open(fsctx,ref,filename,mode)
243 * filename - name of file to open
250 int fs_open(fileio_ctx_t *fsctx,void **ref,char *filename,int mode) argument
252 return BDOPEN2(fsctx->ops,ref,fsctx->fsctx,filename,mode);
H A Dcfe_httpfs.c91 static int http_fileop_open(void **ref,void *fsctx,char *filename,int mode);
131 static int http_fileop_open(void **ref,void *fsctx_arg,char *filename,int mode) argument
156 file->http_filename = lib_strdup(filename);
H A Dcfe_zlibfs.c98 static int zlibfs_fileop_open(void **ref,void *fsctx,char *filename,int mode);
236 static int zlibfs_fileop_open(void **ref,void *fsctx_arg,char *filename,int mode) argument
258 fsctx->zlibfsctx_subfsctx,filename);
H A Dcfe_xmodem.c131 static int xmodem_fileop_open(void **ref,void *fsctx,char *filename,int mode);
609 static int xmodem_fileop_open(void **ref,void *fsctx_arg,char *filename,int mode) argument
H A Dcfe_fatfs.c240 static int fatfs_fileop_xinit(void **fsctx,void *filename);
241 static int fatfs_fileop_pinit(void **fsctx,void *filename);
242 static int fatfs_fileop_open(void **ref,void *fsctx,char *filename,int mode);
625 * Calculate the "long filename" checksum for a given short name.
954 * Read the short filename from a directory entry, converting
1076 * Collect the chars from the filename. Note we
/broadcom-cfe-1.4.2/cfe/include/
H A Dcfe_loader.h81 void splitpath(char *path,char **devname,char **filename);
84 int cfe_savedata(char *fsname,char *devname,char *filename,hsaddr_t start,hsaddr_t end);
H A Dcfe_fileops.h85 int (*open)(void **ref,void *fsctx,char *filename,int mode);
102 int fs_open(fileio_ctx_t *,void **ref,char *filename,int mode);
/broadcom-cfe-1.4.2/cfe/ui/
H A Dui_vxboot.c231 * bootdev(unit,proc)host:filename
519 char filename[256]; local
583 sprintf(filename,"%s:%s",f,vxboot_getval(&info,"!fn",""));
596 sprintf(filename,"%s",vxboot_getval(&info,"!fn",""));
603 sprintf(filename,"%s",vxboot_getval(&info,"!fn",""));
610 la->la_filename = filename;
612 if (strlen(filename) > 3 &&
613 strcmp(&filename[strlen(filename)-3], ".gz") == 0) {
624 if (res < 0) ui_showerror(res,"Could not load image %s",filename);
[all...]
/broadcom-cfe-1.4.2/cfe/net/
H A Dnet_tftp.c108 static int tftp_fileop_open(void **ref,void *fsctx,char *filename,int mode);
141 * _tftp_open(info,hostname,filename,mode)
148 * filename - name of file on remote system
156 static int _tftp_open(tftp_info_t *info,char *hostname,char *filename,int mode) argument
195 ebuf_append_bytes(buf,filename,strlen(filename)+1);
554 * tftp_fileop_open(ref,fsctx,filename,mode)
563 * filename - name of remote file to open
571 static int tftp_fileop_open(void **ref,void *fsctx,char *filename,int mode) argument
591 info->tftp_filename = lib_strdup(filename);
[all...]

Completed in 66 milliseconds