disk_conf 111 drivers/block/drbd/drbd_actlog.c dt = rcu_dereference(bdev->disk_conf)->disk_timeout; disk_conf 386 drivers/block/drbd/drbd_actlog.c write_al_updates = rcu_dereference(device->ldev->disk_conf)->al_updates; disk_conf 457 drivers/block/drbd/drbd_actlog.c write_al_updates = rcu_dereference(device->ldev->disk_conf)->al_updates; disk_conf 597 drivers/block/drbd/drbd_int.h struct disk_conf *disk_conf; /* RCU, for updates: resource->conf_update */ disk_conf 1753 drivers/block/drbd/drbd_int.h ep = rcu_dereference(device->ldev->disk_conf)->on_io_error; disk_conf 726 drivers/block/drbd/drbd_main.c struct disk_conf *dc; disk_conf 748 drivers/block/drbd/drbd_main.c dc = rcu_dereference(peer_device->device->ldev->disk_conf); disk_conf 964 drivers/block/drbd/drbd_main.c u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; disk_conf 3323 drivers/block/drbd/drbd_main.c bdev->md.meta_dev_idx = bdev->disk_conf->meta_dev_idx; disk_conf 454 drivers/block/drbd/drbd_nl.c struct disk_conf *disk_conf = disk_conf 455 drivers/block/drbd/drbd_nl.c rcu_dereference(peer_device->device->ldev->disk_conf); disk_conf 456 drivers/block/drbd/drbd_nl.c fp = max_t(enum drbd_fencing_p, fp, disk_conf->fencing); disk_conf 981 drivers/block/drbd/drbd_nl.c u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; disk_conf 1146 drivers/block/drbd/drbd_nl.c static int drbd_check_al_size(struct drbd_device *device, struct disk_conf *dc) disk_conf 1339 drivers/block/drbd/drbd_nl.c struct disk_conf *dc; disk_conf 1348 drivers/block/drbd/drbd_nl.c dc = rcu_dereference(device->ldev->disk_conf); disk_conf 1505 drivers/block/drbd/drbd_nl.c static bool write_ordering_changed(struct disk_conf *a, struct disk_conf *b) disk_conf 1512 drivers/block/drbd/drbd_nl.c static void sanitize_disk_conf(struct drbd_device *device, struct disk_conf *disk_conf, disk_conf 1517 drivers/block/drbd/drbd_nl.c if (disk_conf->al_extents < DRBD_AL_EXTENTS_MIN) disk_conf 1518 drivers/block/drbd/drbd_nl.c disk_conf->al_extents = DRBD_AL_EXTENTS_MIN; disk_conf 1519 drivers/block/drbd/drbd_nl.c if (disk_conf->al_extents > drbd_al_extents_max(nbc)) disk_conf 1520 drivers/block/drbd/drbd_nl.c disk_conf->al_extents = drbd_al_extents_max(nbc); disk_conf 1523 drivers/block/drbd/drbd_nl.c if (disk_conf->rs_discard_granularity) { disk_conf 1524 drivers/block/drbd/drbd_nl.c disk_conf->rs_discard_granularity = 0; /* disable feature */ disk_conf 1529 drivers/block/drbd/drbd_nl.c if (disk_conf->rs_discard_granularity) { disk_conf 1530 drivers/block/drbd/drbd_nl.c int orig_value = disk_conf->rs_discard_granularity; disk_conf 1533 drivers/block/drbd/drbd_nl.c if (q->limits.discard_granularity > disk_conf->rs_discard_granularity) disk_conf 1534 drivers/block/drbd/drbd_nl.c disk_conf->rs_discard_granularity = q->limits.discard_granularity; disk_conf 1536 drivers/block/drbd/drbd_nl.c remainder = disk_conf->rs_discard_granularity % q->limits.discard_granularity; disk_conf 1537 drivers/block/drbd/drbd_nl.c disk_conf->rs_discard_granularity += remainder; disk_conf 1539 drivers/block/drbd/drbd_nl.c if (disk_conf->rs_discard_granularity > q->limits.max_discard_sectors << 9) disk_conf 1540 drivers/block/drbd/drbd_nl.c disk_conf->rs_discard_granularity = q->limits.max_discard_sectors << 9; disk_conf 1542 drivers/block/drbd/drbd_nl.c if (disk_conf->rs_discard_granularity != orig_value) disk_conf 1544 drivers/block/drbd/drbd_nl.c disk_conf->rs_discard_granularity); disk_conf 1548 drivers/block/drbd/drbd_nl.c static int disk_opts_check_al_size(struct drbd_device *device, struct disk_conf *dc) disk_conf 1577 drivers/block/drbd/drbd_nl.c struct disk_conf *new_disk_conf, *old_disk_conf; disk_conf 1597 drivers/block/drbd/drbd_nl.c new_disk_conf = kmalloc(sizeof(struct disk_conf), GFP_KERNEL); disk_conf 1604 drivers/block/drbd/drbd_nl.c old_disk_conf = device->ldev->disk_conf; disk_conf 1647 drivers/block/drbd/drbd_nl.c rcu_assign_pointer(device->ldev->disk_conf, new_disk_conf); disk_conf 1736 drivers/block/drbd/drbd_nl.c struct disk_conf *new_disk_conf, disk_conf 1786 drivers/block/drbd/drbd_nl.c kfree(ldev->disk_conf); disk_conf 1802 drivers/block/drbd/drbd_nl.c struct disk_conf *new_disk_conf = NULL; disk_conf 1850 drivers/block/drbd/drbd_nl.c new_disk_conf = kzalloc(sizeof(struct disk_conf), GFP_KERNEL); disk_conf 1855 drivers/block/drbd/drbd_nl.c nbc->disk_conf = new_disk_conf; disk_conf 2006 drivers/block/drbd/drbd_nl.c unsigned long long nsz = drbd_new_dev_size(device, nbc, nbc->disk_conf->disk_size, 0); disk_conf 2009 drivers/block/drbd/drbd_nl.c if (nsz == nbc->disk_conf->disk_size) { disk_conf 2139 drivers/block/drbd/drbd_nl.c (ns.pdsk == D_OUTDATED || rcu_dereference(device->ldev->disk_conf)->fencing == FP_DONT_CARE)) disk_conf 2147 drivers/block/drbd/drbd_nl.c if (rcu_dereference(device->ldev->disk_conf)->al_updates) disk_conf 2329 drivers/block/drbd/drbd_nl.c enum drbd_fencing_p fp = rcu_dereference(device->ldev->disk_conf)->fencing; disk_conf 2840 drivers/block/drbd/drbd_nl.c struct disk_conf *old_disk_conf, *new_disk_conf = NULL; disk_conf 2892 drivers/block/drbd/drbd_nl.c u_size = rcu_dereference(device->ldev->disk_conf)->disk_size; disk_conf 2895 drivers/block/drbd/drbd_nl.c new_disk_conf = kmalloc(sizeof(struct disk_conf), GFP_KERNEL); disk_conf 2929 drivers/block/drbd/drbd_nl.c old_disk_conf = device->ldev->disk_conf; disk_conf 2932 drivers/block/drbd/drbd_nl.c rcu_assign_pointer(device->ldev->disk_conf, new_disk_conf); disk_conf 3475 drivers/block/drbd/drbd_nl.c struct disk_conf *disk_conf = disk_conf 3476 drivers/block/drbd/drbd_nl.c rcu_dereference(device->ldev->disk_conf); disk_conf 3478 drivers/block/drbd/drbd_nl.c err = disk_conf_to_skb(skb, disk_conf, !capable(CAP_SYS_ADMIN)); disk_conf 3812 drivers/block/drbd/drbd_nl.c struct disk_conf *disk_conf; disk_conf 3814 drivers/block/drbd/drbd_nl.c disk_conf = rcu_dereference(device->ldev->disk_conf); disk_conf 3815 drivers/block/drbd/drbd_nl.c err = disk_conf_to_skb(skb, disk_conf, exclude_sensitive); disk_conf 1429 drivers/block/drbd/drbd_receiver.c struct disk_conf *dc; disk_conf 1431 drivers/block/drbd/drbd_receiver.c dc = rcu_dereference(bdev->disk_conf); disk_conf 1579 drivers/block/drbd/drbd_receiver.c struct disk_conf *dc; disk_conf 1586 drivers/block/drbd/drbd_receiver.c dc = rcu_dereference(device->ldev->disk_conf); disk_conf 2797 drivers/block/drbd/drbd_receiver.c c_min_rate = rcu_dereference(device->ldev->disk_conf)->c_min_rate; disk_conf 3887 drivers/block/drbd/drbd_receiver.c struct disk_conf *old_disk_conf = NULL, *new_disk_conf = NULL; disk_conf 3934 drivers/block/drbd/drbd_receiver.c new_disk_conf = kzalloc(sizeof(struct disk_conf), GFP_KERNEL); disk_conf 3942 drivers/block/drbd/drbd_receiver.c old_disk_conf = device->ldev->disk_conf; disk_conf 4048 drivers/block/drbd/drbd_receiver.c rcu_assign_pointer(device->ldev->disk_conf, new_disk_conf); disk_conf 4131 drivers/block/drbd/drbd_receiver.c my_usize = rcu_dereference(device->ldev->disk_conf)->disk_size; disk_conf 4159 drivers/block/drbd/drbd_receiver.c struct disk_conf *old_disk_conf, *new_disk_conf = NULL; disk_conf 4161 drivers/block/drbd/drbd_receiver.c new_disk_conf = kzalloc(sizeof(struct disk_conf), GFP_KERNEL); disk_conf 4169 drivers/block/drbd/drbd_receiver.c old_disk_conf = device->ldev->disk_conf; disk_conf 4173 drivers/block/drbd/drbd_receiver.c rcu_assign_pointer(device->ldev->disk_conf, new_disk_conf); disk_conf 1071 drivers/block/drbd/drbd_req.c rbm = rcu_dereference(device->ldev->disk_conf)->read_balancing; disk_conf 1725 drivers/block/drbd/drbd_req.c dt = rcu_dereference(device->ldev->disk_conf)->disk_timeout * HZ / 10; disk_conf 834 drivers/block/drbd/drbd_state.c fp = rcu_dereference(device->ldev->disk_conf)->fencing; disk_conf 1064 drivers/block/drbd/drbd_state.c fp = rcu_dereference(device->ldev->disk_conf)->fencing; disk_conf 1903 drivers/block/drbd/drbd_state.c eh = rcu_dereference(device->ldev->disk_conf)->on_io_error; disk_conf 502 drivers/block/drbd/drbd_worker.c struct disk_conf *dc; disk_conf 512 drivers/block/drbd/drbd_worker.c dc = rcu_dereference(device->ldev->disk_conf); disk_conf 566 drivers/block/drbd/drbd_worker.c device->c_sync_rate = rcu_dereference(device->ldev->disk_conf)->resync_rate; disk_conf 620 drivers/block/drbd/drbd_worker.c discard_granularity = rcu_dereference(device->ldev->disk_conf)->rs_discard_granularity; disk_conf 999 drivers/block/drbd/drbd_worker.c fp = rcu_dereference(device->ldev->disk_conf)->fencing; disk_conf 1541 drivers/block/drbd/drbd_worker.c resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; disk_conf 1650 drivers/block/drbd/drbd_worker.c resync_after = rcu_dereference(odev->ldev->disk_conf)->resync_after; disk_conf 105 include/linux/drbd_genl.h GENL_struct(DRBD_NLA_DISK_CONF, 3, disk_conf,