/freebsd/sys/contrib/openzfs/module/zfs/ |
H A D | space_map.c | 420 space_map_load_length(space_map_t *sm, range_tree_t *rt, maptype_t maptype, in space_map_load_length() argument 427 if (maptype == SM_FREE) in space_map_load_length() 432 smla.smla_type = maptype; in space_map_load_length() 447 space_map_load(space_map_t *sm, range_tree_t *rt, maptype_t maptype) in space_map_load() argument 449 return (space_map_load_length(sm, rt, maptype, space_map_length(sm))); in space_map_load() 527 space_map_write_intro_debug(space_map_t *sm, maptype_t maptype, dmu_tx_t *tx) in space_map_write_intro_debug() argument 532 SM_DEBUG_ACTION_ENCODE(maptype) | in space_map_write_intro_debug() 551 maptype_t maptype, uint64_t vdev_id, uint8_t words, dmu_buf_t **dbp, in space_map_write_seg() argument 634 SM_TYPE_ENCODE(maptype) | in space_map_write_seg() 647 *block_cursor = SM2_TYPE_ENCODE(maptype) | in space_map_write_seg() [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | space_map.h | 210 int space_map_load(space_map_t *sm, range_tree_t *rt, maptype_t maptype); 211 int space_map_load_length(space_map_t *sm, range_tree_t *rt, maptype_t maptype, 229 void space_map_write(space_map_t *sm, range_tree_t *rt, maptype_t maptype,
|
/freebsd/contrib/sendmail/src/ |
H A D | conf.c | 778 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 …]
|
H A D | readcf.c | 828 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);
|
H A D | map.c | 981 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/sys/geom/union/ |
H A D | g_union.c | 1114 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/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 6528 load_unflushed_to_ms_allocatables(spa_t *spa, maptype_t maptype) in load_unflushed_to_ms_allocatables() argument 6530 iterate_through_spacemap_logs(spa, load_unflushed_cb, &maptype); in load_unflushed_to_ms_allocatables() 6534 load_concrete_ms_allocatable_trees(spa_t *spa, maptype_t maptype) in load_concrete_ms_allocatable_trees() argument 6566 msp->ms_allocatable, maptype)); in load_concrete_ms_allocatable_trees() 6574 load_unflushed_to_ms_allocatables(spa, maptype); in load_concrete_ms_allocatable_trees()
|