Searched defs:map (Results 1 - 25 of 94) sorted by relevance

1234

/osnet-11/usr/src/lib/libnisdb/yptol/
H A Dshim_lockmap.c30 * DESCRIPTION: Contains a front end to the map locking code. These are called
31 * when a map, or its map_ctrl structure, needs to be locked
36 * held for a relatively long period when a map is being update
60 lock_map_ctrl(map_ctrl *map) argument
64 ret = lock_core(map->hash_val);
80 unlock_map_ctrl(map_ctrl *map) argument
84 ret = unlock_core(map->hash_val);
H A Dupdate.c30 * DESCRIPTION: Contains the map update thread and related code.
72 * GIVEN : Pointer to the open map ctrl
82 update_entry_if_required(map_ctrl *map, datum *key) argument
85 /* Only update individual entries if entire map is */
87 if (is_map_updating(map))
92 * the map is in need of an update. If it is then fake a
93 * recent order. The client will then read the map, using
97 if (has_map_expired(map))
98 update_timestamp(map->entries);
106 if (!has_entry_expired(map, ke
128 update_from_dit(map_ctrl *map, datum *key) argument
206 update_map_if_required(map_ctrl *map, bool_t wait) argument
345 map_ctrl *map; local
[all...]
H A Dlock_update.c32 * These locks are held while a map is being updated from the
119 * create/rewrite the file, m-map it into memory and initialize the
122 * good file, and m-map the lock structure directly to it.
222 lock_map_update(map_ctrl *map) argument
224 int hashval = map->hash_val;
278 unlock_map_update(map_ctrl *map) argument
280 int hashval = map->hash_val;
304 * DESCRIPTION: Determines if a map is currently locked for update
312 is_map_updating(map_ctrl *map) argument
317 ret = mutex_trylock(&(shmupdatearray->updatenode[map
341 try_lock_map_update(map_ctrl *map) argument
[all...]
H A Dmap_conv.c63 * existing map files.
120 "Could not get map list for %s", dom_name);
136 * DESCRIPTION: Dump a OLD STYLE NIS map into the DIT.
138 * GIVEN : Name of map (not fully qualified)
152 char *map_path; /* Qualified map name */
156 printf("Copying map \"%s\", domain \"%s\", to LDAP.\n",
173 /* Make up fully qualified map name */
195 * This map probably didn't exist. No problem, user may be
308 /* A normal map update will initialize it. */
337 * DESCRIPTION: Dumps the contents of the DIT into one NEW STYLE NIS map
355 map_ctrl map; local
[all...]
H A Dttl_utils.c56 * INPUTS: Map control structure for an open map
65 has_entry_expired(map_ctrl *map, datum *key) argument
73 if ((map == NULL) || (map->ttl == NULL))
77 ttl = dbm_fetch(map->ttl, *key);
81 * If we failed to get a map expiry key, which must always be
83 * the map.
88 "for map %s. Will attempt to recreate map",
89 MAP_EXPIRY_KEY, map
159 has_map_expired(map_ctrl *map) argument
186 update_entry_ttl(map_ctrl *map, datum *key, TTL_TYPE type) argument
234 update_map_ttl(map_ctrl *map) argument
[all...]
H A Dshim.c75 /* Number of times to try to update a map before giving up */
90 map_ctrl *map; local
92 /* Lock the map */
93 map = get_map_ctrl(db);
94 if (map == NULL)
97 free_map_ctrl(map);
116 map_ctrl *map; local
118 /* Lock the map */
119 map = get_map_ctrl(db);
120 if (map
152 map_ctrl *map; local
191 map_ctrl *map; local
223 map_ctrl *map; local
310 map_ctrl *map; local
351 map_ctrl *map; local
382 map_ctrl *map; local
454 map_ctrl *map; local
561 check_old_map_date(map_ctrl *map) argument
[all...]
/osnet-11/usr/src/lib/libast/common/features/
H A Dmap.c551 static const char map[] = _API_ast_MAP; local
554 t = map;
/osnet-11/usr/src/lib/libpp/i386/
H A Dppdebug.h4 struct map struct
9 static struct map pplexmap[] =
107 static struct map ppstatemap[] =
142 static struct map ppmodemap[] =
165 static struct map ppoptionmap[] =
198 static struct map ppinmap[] =
/osnet-11/usr/src/lib/libpp/sparc/
H A Dppdebug.h4 struct map struct
9 static struct map pplexmap[] =
107 static struct map ppstatemap[] =
142 static struct map ppmodemap[] =
165 static struct map ppoptionmap[] =
198 static struct map ppinmap[] =
/osnet-11/usr/src/lib/libnsl/yp/
H A Dyp_master.c54 yp_master(char *domain, char *map, char **master) argument
61 if ((map == NULL) || (domain == NULL))
65 maplen = strlen(map);
79 reason = domaster(domain, map, pdomb, _ypserv_timeout,
97 * Lookup could be for a secure map; fail over to retry
102 rsvdreason = __yp_master_rsvdport(domain, map, master);
116 __yp_master_rsvdport(char *domain, char *map, char **master) argument
123 if ((map == NULL) || (domain == NULL))
127 maplen = strlen(map);
141 reason = domaster(domain, map, pdom
173 domaster(char *domain, char *map, struct dom_binding *pdomb, struct timeval timeout, char **master) argument
[all...]
H A Dyp_order.c54 yp_order(char *domain, char *map, unsigned long *order) argument
61 if ((map == NULL) || (domain == NULL))
65 maplen = strlen(map);
79 reason = doorder(domain, map, pdomb, _ypserv_timeout,
102 doorder(char *domain, char *map, struct dom_binding *pdomb, argument
110 req.map = map;
H A Dyp_all.c59 __yp_all_cflookup(char *domain, char *map, struct ypall_callback *callback, argument
72 if ((map == NULL) || (domain == NULL))
76 maplen = strlen(map);
133 - transport level create failure for domain %s / map %s", domain, map);
139 req.map = map;
174 yp_all(char *domain, char *map, struct ypall_callback *callback) argument
176 return (__yp_all_cflookup(domain, map, callback, 1));
185 __yp_all_rsvdport(char *domain, char *map, struc argument
[all...]
H A Dyp_update.c60 yp_update(char *domain, char *map, unsigned op, char *key, int keylen, argument
88 if (yp_master(domain, map, &ypmaster) != 0) {
119 args.mapname = map;
H A Dyp_enum.c55 * first key/value pair from the map data base. The returned key should be
62 char *map,
74 if ((map == NULL) || (domain == NULL))
78 maplen = strlen(map);
91 reason = dofirst(domain, map, pdomb, _ypserv_timeout,
115 char *map,
122 return (__yp_first_cflookup(domain, map, key, keylen, val, vallen, 1));
130 dofirst(domain, map, pdomb, timeout, key, keylen, val, vallen)
132 char *map;
146 req.map
60 __yp_first_cflookup( char *domain, char *map, char **key, int *keylen, char **val, int *vallen, int hardlookup) argument
113 yp_first( char *domain, char *map, char **key, int *keylen, char **val, int *vallen) argument
222 __yp_next_cflookup( char *domain, char *map, char *inkey, int inkeylen, char **outkey, int *outkeylen, char **val, int *vallen, int hardlookup) argument
279 yp_next( char *domain, char *map, char *inkey, int inkeylen, char **outkey, int *outkeylen, char **val, int *vallen) argument
[all...]
/osnet-11/usr/src/lib/libast/common/comp/
H A Dfnmatch.c39 static const Map_t map[] = variable
60 for (mp = map; mp < &map[elementsof(map)]; mp++)
/osnet-11/usr/src/lib/storage/liba5k/common/hdrs/
H A Da_state.h70 gfc_map_t map; member in struct:gfc_map_mp
/osnet-11/usr/src/lib/libsec/common/
H A Daclsort.c49 * entry type with this map.
54 struct map { struct
59 static struct map map_to_sort[] = {
/osnet-11/usr/src/lib/libdevinfo/
H A Ddevinfo_profile.c162 char *map[2]; local
164 map[0] = (char *)source; /* 1st entry must be the source */
165 map[1] = (char *)target; /* 2nd entry must be the target */
166 if (nvlist_add_string_array(nvl, SDEV_NVNAME_MAP, map, 2))
/osnet-11/usr/src/lib/libdll/common/
H A Ddllnext.c180 register struct link_map* map; local
195 for (map = _DYNAMIC.ld_un.ld_1->ld_loaded; map; map = map->lm_next)
198 s = map->lm_name;
204 path = map->lm_name;
/osnet-11/usr/src/lib/libast/common/regex/
H A Dregsubcomp.c43 regsubflags(regex_t* p, register const char* s, char** e, int delim, register const regflags_t* map, int* pm, regflags_t* pf) argument
53 if (!map)
54 map = submap;
76 for (m = map; *m; m++)
109 regsubcomp(regex_t* p, register const char* s, const regflags_t* map, int minmatch, regflags_t flags) argument
185 if (n = regsubflags(p, s, &e, d, map, &minmatch, &flags))
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dmapping.c92 open_mapper_library(KMF_MAPPER_RECORD *map) argument
96 map->dldesc = dlopen(map->curpathname, RTLD_LAZY | RTLD_PARENT);
97 if (map->dldesc == NULL)
115 KMF_MAPPER_RECORD *map = NULL; local
127 map = &handle->policy->mapper;
128 old_curpathname = map->curpathname;
129 old_curoptions = map->curoptions;
156 } else if (map->pathname != NULL) {
157 tmppath = strdup(map
313 KMF_MAPPER_RECORD *map = NULL; local
339 KMF_MAPPER_RECORD *map = NULL; local
367 KMF_MAPPER_RECORD *map = NULL; local
[all...]
/osnet-11/usr/src/lib/libnsctl/common/
H A Dmachdep.c147 * map - optional array of nsc_release_t defining
162 nsc_check_release(const char *build_rel, nsc_release_t *map, char **reqd) argument
189 if (map == NULL)
195 for (mp = map; mp->build != NULL && mp->runtime != NULL; mp++) {
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_xlator.c101 dt_xlator_t **map; local
113 if ((map = dt_alloc(dtp, sizeof (void *) * (dxp->dx_id + 1))) == NULL) {
119 bcopy(dtp->dt_xlatormap, map, sizeof (void *) * dxp->dx_id);
121 dtp->dt_xlatormap = map;
/osnet-11/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/
H A DAggregate.java69 private transient Map <String, Aggregation> map; field in class:Aggregate
79 map = new HashMap <String, Aggregation> ();
103 // assumes map is not yet created
109 map = new HashMap <String, Aggregation> (capacity, 1.0f);
111 map.put(a.getName(), a);
122 for (Aggregation a : map.values()) {
170 List <Aggregation> list = new ArrayList <Aggregation> (map.size());
171 list.addAll(map.values());
203 return map.get(name);
220 for (Aggregation a : map
[all...]
H A DAggregation.java103 private transient Map <Tuple, AggregationRecord> map; field in class:Aggregation
112 map = new HashMap <Tuple, AggregationRecord> ();
143 // assumes map is not yet created
149 map = new HashMap <Tuple, AggregationRecord> (capacity, 1.0f);
151 map.put(record.getTuple(), record);
161 for (AggregationRecord r : map.values()) {
162 if ((r.getTuple().size() == 0) && (map.size() > 1)) {
210 new ArrayList <AggregationRecord> (map.values());
224 if (map.put(key, record) != null) {
238 return Collections. <Tuple, AggregationRecord> unmodifiableMap(map);
[all...]

Completed in 31 milliseconds

1234