/dragonfly/contrib/lvm2/dist/lib/filters/ |
H A D | filter.c | 59 if (MAJOR(dev->dev) == -1) in dev_subsystem_part_major() 62 if (MAJOR(dev->dev) == _md_major) in dev_subsystem_part_major() 65 if (MAJOR(dev->dev) == _drbd_major) in dev_subsystem_part_major() 73 if (MAJOR(dev->dev) == _md_major) in dev_subsystem_name() 76 if (MAJOR(dev->dev) == _drbd_major) in dev_subsystem_name() 129 if (!_max_partitions_by_major[MAJOR(dev->dev)]) { in _passes_lvm_type_device_filter() 131 PRIu64, name, (uint64_t) MAJOR(dev->dev)); in _passes_lvm_type_device_filter() 136 if (MAJOR(dev->dev) == _device_mapper_major && in _passes_lvm_type_device_filter()
|
H A D | filter.h | 26 # define MAJOR(dev) ((dev & 0xfff00) >> 8) macro 30 # define MAJOR(x) major((x)) macro
|
H A D | filter_netbsd.c | 99 if (_char_device_major[MAJOR(dev->dev)] == -1 ){ in _passes_lvm_type_device_filter() 101 PRIu64, name, (uint64_t) MAJOR(dev->dev)); in _passes_lvm_type_device_filter() 106 if (MAJOR(dev->dev) == _device_mapper_major && in _passes_lvm_type_device_filter()
|
H A D | filter_dragonfly.c | 103 if (MAJOR(dev->dev) == _device_mapper_major && in _passes_lvm_type_device_filter()
|
/dragonfly/contrib/lvm2/dist/lib/device/ |
H A D | device.c | 47 int parts = max_partitions(MAJOR(dev->dev)); in _is_partitionable() 50 if (MAJOR(dev->dev) == md_major()) in _is_partitionable() 304 sysfs_dir, (int)MAJOR(dev->dev), (int)MINOR(dev->dev)) < 0) { in get_primary_dev() 386 (int)MAJOR(dev->dev), (int)MINOR(dev->dev), in _dev_topology_attribute() 407 (int)MAJOR(primary), (int)MINOR(primary), in _dev_topology_attribute()
|
H A D | dev-md.c | 142 if (MAJOR(dev) == blkext_major()) { in _md_sysfs_attribute_snprintf() 148 if (MAJOR(dev) != md_major()) in _md_sysfs_attribute_snprintf() 152 (int)MAJOR(dev), (int)MINOR(dev), attribute); in _md_sysfs_attribute_snprintf()
|
H A D | dev-cache.c | 448 if (nbsd_check_dev(MAJOR(info.st_rdev),path) < 0) { in _insert() 453 if (dragonfly_check_dev(MAJOR(info.st_rdev),path) < 0) { in _insert() 703 name, (int) MAJOR(dev->dev), in dev_name_confirmed() 707 name, (int) MAJOR(dev->dev), in dev_name_confirmed()
|
/dragonfly/contrib/lvm2/dist/include/ |
H A D | filter.h | 26 # define MAJOR(dev) ((dev & 0xfff00) >> 8) macro 30 # define MAJOR(x) major((x)) macro
|
H A D | kdev_t.h | 20 #define MAJOR(dev) ((dev & 0xfff00) >> 8) macro
|
/dragonfly/contrib/lvm2/dist/scripts/lvm2create_initrd/ |
H A D | lvm2create_initrd | 151 MAJOR=$(sed -n 's/^ *\([0-9]\+\) \+misc$/\1/p' /proc/devices) 153 if test -n "$MAJOR" -a -n "$MINOR" ; then 155 mknod -m 600 /dev/mapper/control c $MAJOR $MINOR 158 echo "($MAJOR,$MINOR)"
|
/dragonfly/contrib/lvm2/dist/libdm/misc/ |
H A D | kdev_t.h | 20 #define MAJOR(dev) ((dev & 0xfff00) >> 8) macro
|
/dragonfly/contrib/lvm2/dist/libdm/ioctl/ |
H A D | libdm-netbsd.h | 38 # define MAJOR(x) major((x)) macro
|
H A D | libdm-iface.c | 36 # define MAJOR(x) major((x)) macro 220 MAJOR(buf.st_mode), MINOR(buf.st_mode), in _control_exists() 463 info->major = MAJOR(dmt->dmi.v1->dev); in _dm_task_get_info_v1() 735 add_dev_node(dmt->dev_name, MAJOR(dmi->dev), MINOR(dmi->dev), in _dm_task_run_v1() 749 add_dev_node(dmt->dev_name, MAJOR(dmi->dev), in _dm_task_run_v1() 963 info->major = MAJOR(dmt->dmi.v4->dev); in dm_task_get_info() 1855 add_dev_node(dmt->dev_name, MAJOR(dmi->dev), in dm_task_run() 1880 add_dev_node(dmi->name, MAJOR(dmi->dev), in dm_task_run()
|
H A D | libdm-nbsd-iface.c | 137 MAJOR(buf.st_mode), MINOR(buf.st_mode), in _control_exists() 1167 add_dev_node(dmt->dev_name, MAJOR(dmi->dev), MINOR(dmi->dev), 1191 add_dev_node(dmi->name, MAJOR(dmi->dev),
|
H A D | libdm_dragonfly.c | 444 dmtd->dev[j] = MKDEV(MAJOR(dev_tmp),MINOR(dev_tmp)); in dm_dev_deps()
|
H A D | libdm_netbsd.c | 488 if (kd[i].d_bmajor == MAJOR(dev_tmp)) { in dm_dev_deps()
|
/dragonfly/bin/pax/ |
H A D | pax.h | 229 #define MAJOR(x) major(x) macro
|
H A D | gen_subs.c | 120 fprintf(fp, "%4lu,%4lu ", (unsigned long)MAJOR(sbp->st_rdev), in ls_list()
|
H A D | cpio.c | 752 ul_asc((u_long)MAJOR(arcn->sb.st_dev),hd->c_maj, sizeof(hd->c_maj), in vcpio_wr() 756 ul_asc((u_long)MAJOR(arcn->sb.st_rdev),hd->c_rmaj,sizeof(hd->c_maj), in vcpio_wr()
|
/dragonfly/contrib/bmake/mk/ |
H A D | sys.vars.mk | 113 M_M.M.P_VERSION = L:@v@$${MAJOR MINOR PATCH:L:@t@$${$$v_$$t_VERSION:U0}@}@:ts.
|
/dragonfly/contrib/lvm2/dist/lib/cache/ |
H A D | lvmcache.c | 1199 } else if (dm_is_dm_major(MAJOR(existing->dev->dev)) && in lvmcache_add() 1200 !dm_is_dm_major(MAJOR(dev->dev))) { in lvmcache_add() 1213 else if (!dm_is_dm_major(MAJOR(existing->dev->dev)) && in lvmcache_add() 1214 dm_is_dm_major(MAJOR(dev->dev))) in lvmcache_add()
|
/dragonfly/sys/dev/drm/amd/display/dc/ |
H A D | dc_dp_types.h | 111 uint8_t MAJOR:4; member
|
/dragonfly/contrib/lvm2/dist/lib/activate/ |
H A D | dev_manager.c | 174 if (!dm_task_set_major_minor(dmt, MAJOR(dev), MINOR(dev), 1)) in device_is_usable() 1343 if (!dm_tree_add_dev(dtree, (uint32_t) MAJOR(dev->dev), (uint32_t) MINOR(dev->dev))) { in dev_manager_device_uses_vg() 1345 dev_name(dev), (uint32_t) MAJOR(dev->dev), (uint32_t) MINOR(dev->dev)); in dev_manager_device_uses_vg()
|
/dragonfly/contrib/lvm2/dist/tools/ |
H A D | dmsetup.c | 92 # define MAJOR(x) major((x)) macro 1580 (int) MAJOR(deps->device[i]), in _deps() 1599 (int) MAJOR(names->dev), (int) MINOR(names->dev)); in _display_name() 1913 if (!dm_tree_add_dev(_dtree, (unsigned) MAJOR(names->dev), (unsigned) MINOR(names->dev))) in _add_dep() 2254 (int) MAJOR(deps->device[i]), in _dm_deps_disp()
|
/dragonfly/contrib/lvm2/dist/libdm/ |
H A D | libdm-deptree.c | 501 if (!_add_dev(dtree, node, MAJOR(deps->device[i]), in _add_dev() 1961 if (!(dev_node = _add_dev(node->dtree, node, MAJOR(info.st_rdev), MINOR(info.st_rdev)))) in dm_tree_node_add_target_area()
|