/illumos-gate/usr/src/cmd/ypcmd/yp2lscripts/ |
H A D | ypmap2src.sh | 38 echo "Usage: $PROG [-t] [[-c custom-map-name] ...] [-d domain] -o output-directory [[source-file] .… 40 echo " c - Name of the custom map for which source file needs to be generated." 71 for MAP in $CUST_LIST 73 CUST_MAP_LIST="$CUST_MAP_LIST ${N2LPREFIX}$MAP" 100 MAP=${N2LPREFIX}passwd.byuid 101 MAP_LIST="$MAP_LIST $MAP" 104 MAP=${N2LPREFIX}group.byname 105 MAP_LIST="$MAP_LIST $MAP" 108 MAP=${N2LPREFIX}hosts.byaddr 109 MAP_LIST="$MAP_LIST $MAP" [all …]
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | map.c | 21 SM_RCSID("@(#)$Id: map.c,v 8.705 2009/08/11 22:22:40 ca Exp $") 47 #include "map.h" 51 static bool db_map_open __P((MAP *, int, char *, DBTYPE, const void *)); 54 static bool db_map_open __P((MAP *, int, char *, DBTYPE, DB_INFO *)); 57 static bool db_map_open __P((MAP *, int, char *, DBTYPE, void **)); 83 /* default error message for trying to open a map in write mode */ 95 ** MAP.C -- implementations for various map classes. 97 ** Each map class implements a series of functions: 99 ** bool map_parse(MAP *map, char *args) 101 ** if they were ok, false otherwise. Fill in map with the [all …]
|
H A D | map.h | 9 * $Id: map.h,v 8.3 2006/12/19 19:49:51 ca Exp $ 15 extern char *arith_map_lookup __P((MAP *, char *, char **, int *)); 17 extern char *bestmx_map_lookup __P((MAP *, char *, char **, int *)); 19 extern char *bogus_map_lookup __P((MAP *, char *, char **, int *)); 21 extern bool bt_map_open __P((MAP *, int)); 23 extern char *db_map_lookup __P((MAP *, char *, char **, int *)); 25 extern void db_map_store __P((MAP *, char *, char *)); 26 extern void db_map_close __P((MAP *)); 28 extern bool dequote_init __P((MAP *, char *)); 29 extern char *dequote_map __P((MAP *, char *, char **, int *)); [all …]
|
/illumos-gate/usr/src/lib/libnisdb/yptol/ |
H A D | map_ctrl.c | 29 * specific to one NIS map. 32 * information about an individual map they are created (on the 33 * heap) when a map is opened and destroyed when it is closed. 37 * If two processes access the same map two map_ctrls will be 61 * map_id_list: hash table for map lists 63 * it is also used as the map ID for 79 * INPUTS: Fully qualified map name 89 map_ctrl *map; in create_map_ctrl() local 91 map = (map_ctrl *)am(myself, sizeof (map_ctrl)); in create_map_ctrl() 92 if (NULL == map) { in create_map_ctrl() [all …]
|
H A D | shim.c | 78 /* Number of times to try to update a map before giving up */ 93 map_ctrl *map; in shim_dbm_close() local 95 /* Lock the map */ in shim_dbm_close() 96 map = get_map_ctrl(db); in shim_dbm_close() 97 if (map == NULL) in shim_dbm_close() 100 free_map_ctrl(map); in shim_dbm_close() 119 map_ctrl *map; in shim_dbm_delete() local 121 /* Lock the map */ in shim_dbm_delete() 122 map = get_map_ctrl(db); in shim_dbm_delete() 123 if (map == NULL) in shim_dbm_delete() [all …]
|
H A D | update.c | 29 * DESCRIPTION: Contains the map update thread and related code. 71 * GIVEN : Pointer to the open map ctrl 81 update_entry_if_required(map_ctrl *map, datum *key) in update_entry_if_required() argument 84 /* Only update individual entries if entire map is */ in update_entry_if_required() 86 if (is_map_updating(map)) in update_entry_if_required() 91 * the map is in need of an update. If it is then fake a in update_entry_if_required() 92 * recent order. The client will then read the map, using in update_entry_if_required() 96 if (has_map_expired(map)) in update_entry_if_required() 97 update_timestamp(map->entries); in update_entry_if_required() 105 if (!has_entry_expired(map, key)) in update_entry_if_required() [all …]
|
H A D | ttl_utils.c | 58 * INPUTS: Map control structure for an open map 67 has_entry_expired(map_ctrl *map, datum *key) in has_entry_expired() argument 75 if ((map == NULL) || (map->ttl == NULL)) in has_entry_expired() 79 ttl = dbm_fetch(map->ttl, *key); in has_entry_expired() 83 * If we failed to get a map expiry key, which must always be in has_entry_expired() 85 * the map. in has_entry_expired() 90 "for map %s. Will attempt to recreate map", in has_entry_expired() 91 MAP_EXPIRY_KEY, map->map_name); in has_entry_expired() 98 * service other than NIS. Check if the entire map has expired. in has_entry_expired() 102 if (has_map_expired(map)) { in has_entry_expired() [all …]
|
H A D | dit_access.c | 106 * DESCRIPTION: Read (i.e. get and map) a single NIS entry from the LDAP DIT. 110 * INPUTS: Map name (unqualified) 120 read_from_dit(char *map, char *domain, datum *key, datum *value) in read_from_dit() argument 145 if (TRUE == singleReadFromDIT(map, domain, key, value, &res)) in read_from_dit() 182 * INPUTS: Pointer to (unqualified) map name 196 write_to_dit(char *map, char *domain, datum key, datum value, in write_to_dit() argument 222 res = singleWriteToDIT(map, domain, &key, &value, replace); in write_to_dit() 268 * GIVEN : Pointer to map 275 get_ttl_value(map_ctrl *map, TTL_TYPE type) in get_ttl_value() argument 281 /* Get the mapping structure corresponding to `map.domain' */ in get_ttl_value() [all …]
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/ |
H A D | cong.c | 86 * We maintain a global counter that is incremented each time a congestion map 105 * - on map changes to inform conns of a new map to send 117 struct rdsv3_cong_map *map; in rdsv3_cong_tree_walk() local 121 map = avl_find(&rdsv3_cong_tree, insert, &where); in rdsv3_cong_tree_walk() 122 if (map == NULL) { in rdsv3_cong_tree_walk() 129 map = avl_find(&rdsv3_cong_tree, &map1, &where); in rdsv3_cong_tree_walk() 132 return (map); in rdsv3_cong_tree_walk() 143 struct rdsv3_cong_map *map; in rdsv3_cong_from_addr() local 150 map = kmem_zalloc(sizeof (struct rdsv3_cong_map), KM_NOSLEEP); in rdsv3_cong_from_addr() 151 if (!map) in rdsv3_cong_from_addr() [all …]
|
/illumos-gate/usr/src/cmd/format/ |
H A D | modify_partition.c | 41 static void adj_cyl_offset(struct dk_map32 *map); 42 static int check_map(struct dk_map32 *map); 43 static void get_user_map(struct dk_map32 *map, int float_part); 44 static void get_user_map_efi(struct dk_gpt *map, int float_part); 60 struct dk_map32 *map = tmp_pinfo->pinfo_map; in p_modify() local 152 * Create partition map from existing map in p_modify() 156 map[i].dkl_nblk = in p_modify() 158 map[i].dkl_cylno = in p_modify() 163 * Make an empty partition map, with all the space in p_modify() 168 map[i].dkl_nblk = 0; in p_modify() [all …]
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | mapping.c | 92 open_mapper_library(KMF_MAPPER_RECORD *map) in open_mapper_library() argument 96 map->dldesc = dlopen(map->curpathname, RTLD_LAZY | RTLD_PARENT); in open_mapper_library() 97 if (map->dldesc == NULL) in open_mapper_library() 115 KMF_MAPPER_RECORD *map = NULL; in kmf_cert_to_name_mapping_initialize() local 127 map = &handle->policy->mapper; in kmf_cert_to_name_mapping_initialize() 128 old_curpathname = map->curpathname; in kmf_cert_to_name_mapping_initialize() 129 old_curoptions = map->curoptions; in kmf_cert_to_name_mapping_initialize() 156 } else if (map->pathname != NULL) { in kmf_cert_to_name_mapping_initialize() 157 tmppath = strdup(map->pathname); in kmf_cert_to_name_mapping_initialize() 160 opts = map->options; in kmf_cert_to_name_mapping_initialize() [all …]
|
/illumos-gate/usr/src/lib/iconv_modules/utf-8/common/binarytables/srcs/ |
H A D | IBM-1149+UTF-8.src | 72 } map { 80 } map { 85 } map { 90 } map { 95 } map { 100 } map { 107 } map { 120 } map { 126 } map { 131 } map { [all …]
|
H A D | IBM-1122+UTF-8.src | 67 } @map { 75 } @map { 80 } @map { 85 } @map { 90 } @map { 95 } @map { 102 } @map { 115 } @map { 121 } @map { 126 } @map { [all …]
|
H A D | IBM-1143+UTF-8.src | 72 } map { 80 } map { 85 } map { 90 } map { 95 } map { 100 } map { 107 } map { 120 } map { 126 } map { 131 } map { [all …]
|
H A D | IBM-871+UTF-8.src | 69 } map { 77 } map { 82 } map { 87 } map { 92 } map { 97 } map { 104 } map { 117 } map { 123 } map { 128 } map { [all …]
|
H A D | IBM-278+UTF-8.src | 67 } @map { 75 } @map { 80 } @map { 85 } @map { 90 } @map { 95 } @map { 102 } @map { 115 } @map { 121 } @map { 126 } @map { [all …]
|
H A D | IBM-1026+UTF-8.src | 66 } @map { 74 } @map { 79 } @map { 84 } @map { 89 } @map { 94 } @map { 101 } @map { 114 } @map { 120 } @map { 125 } @map { [all …]
|
H A D | IBM-1141+UTF-8.src | 72 } map { 80 } map { 85 } map { 90 } map { 95 } map { 100 } map { 107 } map { 120 } map { 126 } map { 131 } map { [all …]
|
H A D | IBM-1144+UTF-8.src | 72 } map { 80 } map { 85 } map { 90 } map { 95 } map { 100 } map { 107 } map { 120 } map { 126 } map { 131 } map { [all …]
|
H A D | IBM-1147+UTF-8.src | 72 } map { 80 } map { 85 } map { 90 } map { 95 } map { 100 } map { 107 } map { 120 } map { 126 } map { 131 } map { [all …]
|
H A D | IBM-273+UTF-8.src | 67 } @map { 75 } @map { 80 } @map { 85 } @map { 90 } @map { 95 } @map { 102 } @map { 115 } @map { 121 } @map { 126 } @map { [all …]
|
H A D | IBM-280+UTF-8.src | 67 } @map { 75 } @map { 80 } @map { 85 } @map { 90 } @map { 95 } @map { 102 } @map { 115 } @map { 121 } @map { 126 } @map { [all …]
|
H A D | IBM-297+UTF-8.src | 67 } @map { 75 } @map { 80 } @map { 85 } @map { 90 } @map { 95 } @map { 102 } @map { 115 } @map { 121 } @map { 126 } @map { [all …]
|
/illumos-gate/usr/src/man/man8/ |
H A D | automount.8 | 37 mount points and associates an automount map with each mount point. 47 The daemon uses the map to locate a file system, which it then mounts at the 51 A map can be assigned to an 55 map or a direct map. 70 # Master map for automounter 79 entry is a reference to an external NIS master map. 85 mount will be made followed by the automounter map to be associated with it. 88 These options are used for any entries in the map that do not specify mount 107 mounts from the master map. 110 mounts for new entries in the master map or the direct map, or to perform [all …]
|
/illumos-gate/usr/src/man/man9f/ |
H A D | rmalloc.9f | 8 rmalloc \- allocate space from a resource map 12 #include <sys/map.h> 17 \fBunsigned long\fR \fBrmalloc\fR(\fBstruct map *\fR\fImp\fR, \fBsize_t\fR \fIsize\fR); 31 Resource map from where the resource is drawn. 47 previously defined and initialized resource map. The map itself is allocated by 50 functions used for resource map management. The other functions include: 57 Allocate space from a resource map, wait if necessary. 66 Return previously allocated space to a map. 75 Allocate a resource map and initialize it. 84 Allocate a resource map and initialize it. Wait if necessary. [all …]
|