/third_party/uboot/u-boot-2020.01/drivers/mtd/ubi/ |
D | kapi.c | 33 di->ubi_num = ubi->ubi_num; in ubi_do_get_device_info() 53 int ubi_get_device_info(int ubi_num, struct ubi_device_info *di) in ubi_get_device_info() argument 57 if (ubi_num < 0 || ubi_num >= UBI_MAX_DEVICES) in ubi_get_device_info() 59 ubi = ubi_get_device(ubi_num); in ubi_get_device_info() 78 vi->ubi_num = ubi->ubi_num; in ubi_do_get_volume_info() 121 struct ubi_volume_desc *ubi_open_volume(int ubi_num, int vol_id, int mode) in ubi_open_volume() argument 128 dbg_gen("open device %d, volume %d, mode %d", ubi_num, vol_id, mode); in ubi_open_volume() 130 if (ubi_num < 0 || ubi_num >= UBI_MAX_DEVICES) in ubi_open_volume() 140 ubi = ubi_get_device(ubi_num); in ubi_open_volume() 209 vol_id, ubi->ubi_num); in ubi_open_volume() [all …]
|
D | build.c | 69 int ubi_num; member 286 struct ubi_device *ubi_get_device(int ubi_num) in ubi_get_device() argument 291 ubi = ubi_devices[ubi_num]; in ubi_get_device() 352 int i, ubi_num = -ENODEV; in ubi_major2num() local 359 ubi_num = ubi->ubi_num; in ubi_major2num() 365 return ubi_num; in ubi_major2num() 387 ubi = ubi_get_device(ubi->ubi_num); in dev_attribute_show() 460 dev_set_name(&ubi->dev, UBI_NAME_STR"%d", ubi->ubi_num); in ubi_sysfs_init() 518 sprintf(ubi->ubi_name, UBI_NAME_STR "%d", ubi->ubi_num); in uif_init() 879 int ubi_attach_mtd_dev(struct mtd_info *mtd, int ubi_num, in ubi_attach_mtd_dev() argument [all …]
|
D | debug.c | 254 unsigned long ubi_num = (unsigned long)file->private_data; in dfs_file_read() local 261 ubi = ubi_get_device(ubi_num); in dfs_file_read() 317 unsigned long ubi_num = (unsigned long)file->private_data; in dfs_file_write() local 325 ubi = ubi_get_device(ubi_num); in dfs_file_write() 399 unsigned long ubi_num = ubi->ubi_num; in ubi_debugfs_init_dev() local 408 ubi->ubi_num); in ubi_debugfs_init_dev() 423 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev() 430 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev() 437 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev() 444 dent = debugfs_create_file(fname, S_IWUSR, d->dfs_dir, (void *)ubi_num, in ubi_debugfs_init_dev() [all …]
|
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);
|
D | vmt.c | 68 ubi = ubi_get_device(vol->ubi->ubi_num); in vol_attribute_show() 187 ubi->ubi_num, vol_id, (unsigned long long)req->bytes, in ubi_create_volume() 367 dbg_gen("remove device %d, volume %d", ubi->ubi_num, vol_id); in ubi_remove_volume() 444 ubi->ubi_num, vol_id, vol->reserved_pebs, reserved_pebs); in ubi_resize_volume()
|
D | wl.c | 1542 sprintf(ubi->bgt_name, UBI_BGT_NAME_PATTERN, ubi->ubi_num);
|
/third_party/uboot/u-boot-2020.01/include/linux/mtd/ |
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);
|
/third_party/uboot/u-boot-2020.01/include/mtd/ |
D | ubi-user.h | 267 __s32 ubi_num; member
|
/third_party/uboot/u-boot-2020.01/fs/ubifs/ |
D | ubifs.c | 579 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READONLY); in ubifs_ls() 622 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READONLY); in ubifs_exists() 636 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READONLY); in ubifs_size() 848 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READONLY); in ubifs_read()
|
D | super.c | 665 return ubi_sync(c->vi.ubi_num); in ubifs_sync_fs() 1450 sprintf(c->bgt_name, BGT_NAME_PATTERN, c->vi.ubi_num, c->vi.vol_id); in mount_ubifs() 1615 c->vi.ubi_num, c->vi.vol_id, c->vi.name, in mount_ubifs() 1728 dbg_gen("un-mounting UBI device %d, volume %d", c->vi.ubi_num, in ubifs_umount() 1987 ubifs_msg(c, "un-mount UBI device %d", c->vi.ubi_num); in ubifs_put_super() 2235 ubi_get_device_info(c->vi.ubi_num, &c->di); in alloc_ubifs_info() 2249 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READWRITE); in ubifs_fill_super() 2252 c->ubi = ubi_open_volume(c->vi.ubi_num, c->vi.vol_id, UBI_READONLY); in ubifs_fill_super() 2275 c->vi.ubi_num, c->vi.vol_id); in ubifs_fill_super() 2475 dbg_gen("opened ubi%d_%d", c->vi.ubi_num, c->vi.vol_id); in ubifs_mount()
|
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, \
|
D | debug.c | 2869 c->vi.ubi_num, c->vi.vol_id); in dbg_debugfs_init_fs()
|
/third_party/uboot/u-boot-2020.01/cmd/ |
D | ubi.c | 276 vol->vol_id, ubi->ubi_num); in ubi_volume_continue_write() 519 ubi->ubi_num, ubi->ubi_name, ubi->mtd->name); in do_ubi()
|