Lines Matching +defs:tmp +defs:file
78 static int read_data(const char *file, void *buf, int buf_len) in read_data()
80 int fd, rd, tmp, tmp1; in read_data() local
133 static int read_major(const char *file, int *major, int *minor) in read_major()
168 char file[strlen(lib->mtd_dev) + 50]; in dev_get_major() local
186 char file[strlen(patt) + 100]; in dev_read_data() local
201 static int read_hex_ll(const char *file, long long *value) in read_hex_ll()
253 static int read_pos_ll(const char *file, long long *value) in read_pos_ll()
303 static int read_hex_int(const char *file, int *value) in read_hex_int()
330 static int read_pos_int(const char *file, int *value) in read_pos_int()
359 char file[strlen(patt) + 50]; in dev_read_hex_int() local
375 char file[strlen(patt) + 50]; in dev_read_pos_int() local
391 char file[strlen(patt) + 50]; in dev_read_pos_ll() local
497 char file[strlen(lib->mtd_name) + 10]; in sysfs_is_supported() local
655 char file[strlen(lib->mtd) + 10]; in mtd_dev_present() local
1288 int tmp, ret, in_fd, len, written = 0; in mtd_write_img() local