Home
last modified time | relevance | path

Searched refs:maptype (Results 1 – 7 of 7) sorted by relevance

/freebsd-head/sys/contrib/openzfs/module/zfs/
HDspace_map.c423 space_map_load_length(space_map_t *sm, zfs_range_tree_t *rt, maptype_t maptype, in space_map_load_length() argument
430 if (maptype == SM_FREE) in space_map_load_length()
435 smla.smla_type = maptype; in space_map_load_length()
450 space_map_load(space_map_t *sm, zfs_range_tree_t *rt, maptype_t maptype) in space_map_load() argument
452 return (space_map_load_length(sm, rt, maptype, space_map_length(sm))); in space_map_load()
530 space_map_write_intro_debug(space_map_t *sm, maptype_t maptype, dmu_tx_t *tx) in space_map_write_intro_debug() argument
535 SM_DEBUG_ACTION_ENCODE(maptype) | in space_map_write_intro_debug()
554 maptype_t maptype, uint64_t vdev_id, uint8_t words, dmu_buf_t **dbp, in space_map_write_seg() argument
637 SM_TYPE_ENCODE(maptype) | in space_map_write_seg()
650 *block_cursor = SM2_TYPE_ENCODE(maptype) | in space_map_write_seg()
[all …]
/freebsd-head/sys/contrib/openzfs/include/sys/
HDspace_map.h211 int space_map_load(space_map_t *sm, zfs_range_tree_t *rt, maptype_t maptype);
213 maptype_t maptype, uint64_t length);
230 void space_map_write(space_map_t *sm, zfs_range_tree_t *rt, maptype_t maptype,
/freebsd-head/contrib/sendmail/src/
HDconf.c778 char *maptype[MAXMAPSTACK]; in inithostmaps() local
801 nmaps = switch_map_find("aliases", maptype, mapreturn); in inithostmaps()
804 if (strcmp(maptype[i], "files") == 0 && in inithostmaps()
812 else if (strcmp(maptype[i], "cdb") == 0 && in inithostmaps()
820 else if (strcmp(maptype[i], "nisplus") == 0 && in inithostmaps()
829 else if (strcmp(maptype[i], "nis") == 0 && in inithostmaps()
838 else if (strcmp(maptype[i], "netinfo") == 0 && in inithostmaps()
847 else if (strcmp(maptype[i], "hesiod") == 0 && in inithostmaps()
857 else if (strcmp(maptype[i], "ldap") == 0 && in inithostmaps()
916 switch_map_find(service, maptype, mapreturn) in switch_map_find() argument
[all …]
HDreadcf.c828 char *maptype[MAXMAPSTACK]; local
831 nmaps = switch_map_find("hosts", maptype, mapreturn);
840 if (strcmp(maptype[mapno], "dns") == 0)
1288 char *maptype, *spec; local
1315 maptype = p;
1317 if ((spec = strchr(maptype, ':')) == NULL)
1325 mapclass = stab(maptype, ST_MAPCLASS, ST_FIND);
1329 mn, maptype);
1335 mn, maptype, tag, spec);
HDmap.c981 char *maptype[MAXMAPSTACK]; local
989 nmaps = switch_map_find("hosts", maptype, mapreturn);
998 host, maptype[mapno]);
999 if (strcmp("files", maptype[mapno]) == 0)
1004 else if (strcmp("nis", maptype[mapno]) == 0)
1014 else if (strcmp("nisplus", maptype[mapno]) == 0)
1024 else if (strcmp("dns", maptype[mapno]) == 0)
1035 else if (strcmp("netinfo", maptype[mapno]) == 0)
7251 char *maptype[MAXMAPSTACK]; local
7258 nmaps = switch_map_find(map->map_file, maptype, map->map_return);
[all …]
/freebsd-head/sys/geom/union/
HDg_union.c1114 bool first, maptype, retval; in g_union_getmap() local
1130 maptype = false; in g_union_getmap()
1139 maptype = false; in g_union_getmap()
1142 if (maptype) in g_union_getmap()
1155 maptype = false; in g_union_getmap()
1157 maptype = true; in g_union_getmap()
1160 if ((word == 0 && maptype) || in g_union_getmap()
1161 (word == ~0 && !maptype)) in g_union_getmap()
1170 maptype = retval; in g_union_getmap()
1173 if (maptype == retval) { in g_union_getmap()
[all …]
/freebsd-head/sys/contrib/openzfs/cmd/zdb/
HDzdb.c6593 load_unflushed_to_ms_allocatables(spa_t *spa, maptype_t maptype) in load_unflushed_to_ms_allocatables() argument
6595 iterate_through_spacemap_logs(spa, load_unflushed_cb, &maptype); in load_unflushed_to_ms_allocatables()
6599 load_concrete_ms_allocatable_trees(spa_t *spa, maptype_t maptype) in load_concrete_ms_allocatable_trees() argument
6631 msp->ms_allocatable, maptype)); in load_concrete_ms_allocatable_trees()
6639 load_unflushed_to_ms_allocatables(spa, maptype); in load_concrete_ms_allocatable_trees()