/u-boot/drivers/mtd/ubi/ |
A D | kapi.c | 34 di->ubi_num = ubi->ubi_num; in ubi_do_get_device_info() 58 if (ubi_num < 0 || ubi_num >= UBI_MAX_DEVICES) in ubi_get_device_info() 60 ubi = ubi_get_device(ubi_num); in ubi_get_device_info() 79 vi->ubi_num = ubi->ubi_num; in ubi_do_get_volume_info() 131 if (ubi_num < 0 || ubi_num >= UBI_MAX_DEVICES) in ubi_open_volume() 141 ubi = ubi_get_device(ubi_num); in ubi_open_volume() 210 vol_id, ubi->ubi_num); in ubi_open_volume() 227 ubi_num, vol_id, err); in ubi_open_volume() 256 if (ubi_num < 0 || ubi_num >= UBI_MAX_DEVICES) in ubi_open_volume_nm() 259 ubi = ubi_get_device(ubi_num); in ubi_open_volume_nm() [all …]
|
A D | build.c | 71 int ubi_num; member 293 ubi = ubi_devices[ubi_num]; in ubi_get_device() 354 int i, ubi_num = -ENODEV; in ubi_major2num() local 361 ubi_num = ubi->ubi_num; in ubi_major2num() 367 return ubi_num; in ubi_major2num() 924 for (ubi_num = 0; ubi_num < UBI_MAX_DEVICES; ubi_num++) in ubi_attach_mtd_dev() 948 ubi->ubi_num = ubi_num; in ubi_attach_mtd_dev() 1069 ubi_devices[ubi_num] = ubi; in ubi_attach_mtd_dev() 1071 return ubi_num; in ubi_attach_mtd_dev() 1110 if (ubi_num < 0 || ubi_num >= UBI_MAX_DEVICES) in ubi_detach_mtd_dev() [all …]
|
A D | debug.c | 256 unsigned long ubi_num = (unsigned long)file->private_data; in dfs_file_read() local 263 ubi = ubi_get_device(ubi_num); in dfs_file_read() 319 unsigned long ubi_num = (unsigned long)file->private_data; in dfs_file_write() local 327 ubi = ubi_get_device(ubi_num); in dfs_file_write() 401 unsigned long ubi_num = ubi->ubi_num; in ubi_debugfs_init_dev() local 410 ubi->ubi_num); in ubi_debugfs_init_dev() 425 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev() 432 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev() 439 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev() 446 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev() [all …]
|
A D | ubi.h | 48 ubi->ubi_num, ##__VA_ARGS__) 53 ubi->ubi_num, __func__, ##__VA_ARGS__) 56 ubi->ubi_num, __func__, ##__VA_ARGS__) 536 int ubi_num; member 903 int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, 905 int ubi_detach_mtd_dev(int ubi_num, int anyway); 906 struct ubi_device *ubi_get_device(int ubi_num);
|
A D | vmt.c | 70 ubi = ubi_get_device(vol->ubi->ubi_num); in vol_attribute_show() 189 ubi->ubi_num, vol_id, (unsigned long long)req->bytes, in ubi_create_volume() 369 dbg_gen("remove device %d, volume %d", ubi->ubi_num, vol_id); in ubi_remove_volume() 446 ubi->ubi_num, vol_id, vol->reserved_pebs, reserved_pebs); in ubi_resize_volume()
|
A D | wl.c | 1544 sprintf(ubi->bgt_name, UBI_BGT_NAME_PATTERN, ubi->ubi_num);
|
/u-boot/include/linux/mtd/ |
A D | ubi.h | 102 int ubi_num; member 181 int ubi_num; member 230 int ubi_get_device_info(int ubi_num, struct ubi_device_info *di); 233 struct ubi_volume_desc *ubi_open_volume(int ubi_num, int vol_id, int mode); 234 struct ubi_volume_desc *ubi_open_volume_nm(int ubi_num, const char *name, 267 int ubi_sync(int ubi_num); 268 int ubi_flush(int ubi_num, int vol_id, int lnum);
|
/u-boot/include/mtd/ |
A D | ubi-user.h | 267 __s32 ubi_num; member
|
/u-boot/fs/ubifs/ |
A D | ubifs.c | 584 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READONLY); in ubifs_ls() 627 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READONLY); in ubifs_exists() 641 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READONLY); in ubifs_size() 853 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READONLY); in ubifs_read()
|
A D | super.c | 669 return ubi_sync(c->vi.ubi_num); in ubifs_sync_fs() 1454 sprintf(c->bgt_name, BGT_NAME_PATTERN, c->vi.ubi_num, c->vi.vol_id); in mount_ubifs() 1619 c->vi.ubi_num, c->vi.vol_id, c->vi.name, in mount_ubifs() 1732 dbg_gen("un-mounting UBI device %d, volume %d", c->vi.ubi_num, in ubifs_umount() 1991 ubifs_msg(c, "un-mount UBI device %d", c->vi.ubi_num); in ubifs_put_super() 2239 ubi_get_device_info(c->vi.ubi_num, &c->di); in alloc_ubifs_info() 2253 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READWRITE); in ubifs_fill_super() 2256 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READONLY); in ubifs_fill_super() 2279 c->vi.ubi_num, c->vi.vol_id); in ubifs_fill_super() 2479 dbg_gen("opened ubi%d_%d", c->vi.ubi_num, c->vi.vol_id); in ubifs_mount()
|
A D | ubifs.h | 625 (c)->vi.ubi_num, (c)->vi.vol_id, ##__VA_ARGS__) 631 (c)->vi.ubi_num, (c)->vi.vol_id, current->pid, \ 636 (c)->vi.ubi_num, (c)->vi.vol_id, current->pid, \ 641 (c)->vi.ubi_num, (c)->vi.vol_id, 0, \ 646 (c)->vi.ubi_num, (c)->vi.vol_id, 0, \
|
A D | debug.c | 2871 c->vi.ubi_num, c->vi.vol_id); in dbg_debugfs_init_fs()
|
/u-boot/cmd/ |
A D | ubi.c | 316 vol->vol_id, ubi->ubi_num); in ubi_volume_continue_write() 559 ubi->ubi_num, ubi->ubi_name, ubi->mtd->name); in do_ubi()
|