Lines Matching refs:fn
43 void yaffs_bug_fn(const char *fn, int n) in yaffs_bug_fn() argument
45 printf("yaffs bug at %s:%d\n", fn, n); in yaffs_bug_fn()
311 void read_a_file(char *fn) in read_a_file() argument
317 h = yaffs_open(fn, O_RDWR, 0); in read_a_file()
357 void cmd_yaffs_read_file(char *fn) in cmd_yaffs_read_file() argument
359 read_a_file(fn); in cmd_yaffs_read_file()
363 void cmd_yaffs_mread_file(char *fn, char *addr) in cmd_yaffs_mread_file() argument
368 yaffs_stat(fn, &s); in cmd_yaffs_mread_file()
370 printf("Copy %s to 0x%p... ", fn, addr); in cmd_yaffs_mread_file()
371 h = yaffs_open(fn, O_RDWR, 0); in cmd_yaffs_mread_file()
384 void cmd_yaffs_mwrite_file(char *fn, char *addr, int size) in cmd_yaffs_mwrite_file() argument
388 outh = yaffs_open(fn, O_CREAT | O_RDWR | O_TRUNC, S_IREAD | S_IWRITE); in cmd_yaffs_mwrite_file()