/drivers/mtd/ubi/ |
D | vmt.c | 79 if (!ubi->volumes[vol->vol_id]) { in vol_attribute_show() 220 if (!ubi->volumes[i]) { in ubi_create_volume() 239 if (ubi->volumes[vol_id]) { in ubi_create_volume() 246 if (ubi->volumes[i] && in ubi_create_volume() 247 ubi->volumes[i]->name_len == req->name_len && in ubi_create_volume() 248 !strcmp(ubi->volumes[i]->name, req->name)) { in ubi_create_volume() 354 ubi->volumes[vol_id] = vol; in ubi_create_volume() 411 ubi_assert(vol == ubi->volumes[vol_id]); in ubi_remove_volume() 425 ubi->volumes[vol_id] = NULL; in ubi_remove_volume() 459 ubi->volumes[vol_id] = vol; in ubi_remove_volume() [all …]
|
D | vtbl.c | 88 layout_vol = ubi->volumes[vol_id2idx(ubi, UBI_LAYOUT_VOLUME_ID)]; in ubi_change_vtbl_record() 149 layout_vol = ubi->volumes[vol_id2idx(ubi, UBI_LAYOUT_VOLUME_ID)]; in ubi_vtbl_rename_volumes() 574 ubi_assert(!ubi->volumes[i]); in init_volumes() 575 ubi->volumes[i] = vol; in init_volumes() 642 ubi_assert(!ubi->volumes[i]); in init_volumes() 643 ubi->volumes[vol_id2idx(ubi, vol->vol_id)] = vol; in init_volumes() 736 vol = ubi->volumes[i]; in check_attaching_info() 849 kfree(ubi->volumes[i]); in ubi_read_volume_table() 850 ubi->volumes[i] = NULL; in ubi_read_volume_table()
|
D | build.c | 200 if (!ubi->volumes[i]) in ubi_notify_all() 203 ubi_do_get_volume_info(ubi, ubi->volumes[i], &nt.vi); in ubi_notify_all() 478 if (ubi->volumes[i]) in kill_volumes() 479 ubi_free_volume(ubi, ubi->volumes[i]); in kill_volumes() 538 if (ubi->volumes[i]) { in uif_init() 539 err = ubi_add_volume(ubi, ubi->volumes[i]); in uif_init() 587 kfree(ubi->volumes[i]->eba_tbl); in ubi_free_internal_volumes() 588 kfree(ubi->volumes[i]); in ubi_free_internal_volumes() 806 struct ubi_volume *vol = ubi->volumes[vol_id]; in autoresize()
|
D | attach.c | 261 struct rb_node **p = &ai->volumes.rb_node, *parent = NULL; in add_volume() 296 rb_insert_color(&av->rb, &ai->volumes); in add_volume() 607 struct rb_node *p = ai->volumes.rb_node; in ubi_find_av() 642 rb_erase(&av->rb, &ai->volumes); in ubi_remove_av() 1188 rb = ai->volumes.rb_node; in destroy_ai() 1266 ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) { in scan_all() 1374 ai->volumes = RB_ROOT; in alloc_ai() 1507 ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) { in self_check_ai() 1621 ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) { in self_check_ai() 1707 ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) in self_check_ai()
|
D | eba.c | 503 struct ubi_volume *vol = ubi->volumes[idx]; in recover_peb() 1016 vol = ubi->volumes[idx]; in ubi_eba_copy_leb() 1249 vol = ubi->volumes[i]; in self_check_eba() 1300 if (!ubi->volumes[i]) in self_check_eba() 1338 vol = ubi->volumes[i]; in ubi_eba_init() 1400 if (!ubi->volumes[i]) in ubi_eba_init() 1402 kfree(ubi->volumes[i]->eba_tbl); in ubi_eba_init() 1403 ubi->volumes[i]->eba_tbl = NULL; in ubi_eba_init()
|
D | Kconfig | 6 logical volumes on top of MTD devices, hides some complexities of 84 devices on top of UBI volumes: for each UBI volumes an MTD device is
|
D | fastmap.c | 122 struct rb_node **p = &ai->volumes.rb_node, *parent = NULL; in add_vol() 150 rb_insert_color(&av->rb, &ai->volumes); in add_vol() 168 struct rb_node **p = &ai->volumes.rb_node, *parent = NULL; in assign_aeb_to_av() 304 struct rb_node **p = &ai->volumes.rb_node, *parent = NULL; in process_pool_aeb() 355 for (node = rb_first(&ai->volumes); node; node = rb_next(node)) { in unmap_peb() 517 ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) in count_fastmap_pebs() 559 ai->volumes = RB_ROOT; in ubi_attach_fastmap() 1196 vol = ubi->volumes[i]; in ubi_write_fastmap()
|
D | misc.c | 65 struct ubi_volume *vol = ubi->volumes[vol_id]; in ubi_check_volume()
|
D | ubi.h | 498 struct ubi_volume *volumes[UBI_MAX_VOLUMES+UBI_INT_VOL_COUNT]; member 685 struct rb_root volumes; member
|
D | kapi.c | 166 vol = ubi->volumes[vol_id]; in ubi_open_volume() 264 struct ubi_volume *vol = ubi->volumes[i]; in ubi_open_volume_nm()
|
D | wl.c | 1936 ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) {
|
/drivers/block/drbd/ |
D | drbd_state.c | 73 idr_for_each_entry(&tconn->volumes, mdev, vnr) { in conn_all_vols_unconf() 112 idr_for_each_entry(&tconn->volumes, mdev, vnr) in conn_highest_role() 126 idr_for_each_entry(&tconn->volumes, mdev, vnr) in conn_highest_peer() 140 idr_for_each_entry(&tconn->volumes, mdev, vnr) in conn_highest_disk() 154 idr_for_each_entry(&tconn->volumes, mdev, vnr) in conn_lowest_disk() 168 idr_for_each_entry(&tconn->volumes, mdev, vnr) in conn_highest_pdsk() 182 idr_for_each_entry(&tconn->volumes, mdev, vnr) in conn_lowest_conn() 196 idr_for_each_entry(&tconn->volumes, mdev, vnr) in no_peer_wf_report_params() 1262 idr_for_each_entry(&tconn->volumes, odev, vnr) in after_state_ch() 1560 idr_for_each_entry(&tconn->volumes, mdev, vnr) { in w_after_conn_state_ch() [all …]
|
D | drbd_nl.c | 406 idr_for_each_entry(&tconn->volumes, mdev, vnr) { in highest_fencing_policy() 1803 idr_for_each_entry(&tconn->volumes, mdev, vnr) { in conn_resync_running() 1824 idr_for_each_entry(&tconn->volumes, mdev, vnr) { in conn_ov_running() 1862 idr_for_each_entry(&tconn->volumes, mdev, i) { in _check_net_options() 1891 idr_for_each_entry(&tconn->volumes, mdev, i) { in check_net_options() 2171 idr_for_each_entry(&tconn->volumes, mdev, i) { in drbd_adm_connect() 2840 mdev = idr_get_next(&tconn->volumes, &volume); in get_one_status() 3210 idr_remove(&mdev->tconn->volumes, mdev->vnr); in adm_delete_minor() 3255 idr_for_each_entry(&adm_ctx.tconn->volumes, mdev, i) { in drbd_adm_down() 3270 idr_for_each_entry(&adm_ctx.tconn->volumes, mdev, i) { in drbd_adm_down() [all …]
|
D | drbd_main.c | 503 mdev = idr_get_next(&tconn->volumes, &vnr); in conn_lowest_minor() 2301 idr_remove(&mdev->tconn->volumes, mdev->vnr); in drbd_cleanup() 2547 idr_init(&tconn->volumes); in conn_create() 2581 idr_destroy(&tconn->volumes); in conn_destroy() 2687 vnr_got = idr_alloc(&tconn->volumes, mdev, vnr, vnr + 1, GFP_KERNEL); in conn_new_minor() 2713 idr_remove(&tconn->volumes, vnr_got); in conn_new_minor() 2851 idr_for_each_entry(&tconn->volumes, mdev, vnr) { in conn_md_sync()
|
D | drbd_receiver.c | 1040 idr_for_each_entry(&tconn->volumes, mdev, vnr) { in conn_connect() 1152 idr_for_each_entry(&tconn->volumes, mdev, vnr) { in drbd_flush() 1274 idr_for_each_entry(&tconn->volumes, mdev, vnr) { in drbd_bump_write_ordering() 1407 idr_for_each_entry(&tconn->volumes, mdev, vnr) { in conn_wait_active_ee_empty() 4458 idr_for_each_entry(&tconn->volumes, mdev, vnr) { in conn_disconnect() 5120 idr_for_each_entry(&tconn->volumes, mdev, vnr) { in got_BarrierAck() 5198 idr_for_each_entry(&tconn->volumes, mdev, vnr) { in tconn_finish_peer_reqs() 5211 idr_for_each_entry(&tconn->volumes, mdev, vnr) { in tconn_finish_peer_reqs()
|
D | drbd_int.h | 829 struct idr volumes; /* <tconn, vnr> to mdev mapping */ member 1063 return (struct drbd_conf *)idr_find(&tconn->volumes, vnr); in vnr_to_mdev()
|
D | drbd_worker.c | 1932 idr_for_each_entry(&tconn->volumes, mdev, vnr) { in drbd_worker()
|
/drivers/md/ |
D | Kconfig | 301 Allow volume managers to mirror logical volumes, also
|