Home
last modified time | relevance | path

Searched refs:domain (Results 1 – 25 of 336) sorted by relevance

12345678910>>...14

/dragonfly/lib/libc/rpc/
HDnetname.c100 user2netname(char *netname, const uid_t uid, const char *domain) in user2netname() argument
104 if (domain == NULL) { in user2netname()
108 domain = dfltdom; in user2netname()
110 … if (strlen(domain) + 1 + U_INT_STRLEN_MAXIMUM(u_long) + 1 + strlen(OPSYS) > MAXNETNAMELEN) { in user2netname()
113 sprintf(netname, "%s.%ld@%s", OPSYS, (u_long)uid, domain); in user2netname()
122 host2netname(char *netname, const char *host, const char *domain) in host2netname() argument
127 if (domain == NULL) { in host2netname()
131 domain = dfltdom; in host2netname()
137 if (strlen(domain) + 1 + strlen(host) + 1 + strlen(OPSYS) > MAXNETNAMELEN) { in host2netname()
140 sprintf(netname, "%s.%s@%s", OPSYS, host, domain); in host2netname()
HDnetnamer.c84 char *domain; in netname2user() local
125 err = __rpc_get_default_domain(&domain); /* change to rpc */ in netname2user()
129 if (strcmp(val2 + 1, domain)) in netname2user()
197 char *domain; in netname2host() local
221 err = __rpc_get_default_domain(&domain); /* change to rpc */ in netname2host()
225 if (strcmp(val2 + 1, domain)) in netname2host()
244 char *domain; in getnetid() local
272 err = yp_get_default_domain(&domain); in getnetid()
277 err = yp_match(domain, NETID, key, in getnetid()
/dragonfly/lib/libutil/
HDtrimdomain.c56 static char domain[MAXHOSTNAMELEN]; in trimdomain() local
63 if (gethostname(domain, sizeof(domain) - 1) == 0 && in trimdomain()
64 (s = strchr(domain, '.')) != NULL) in trimdomain()
65 memmove(domain, s + 1, strlen(s + 1) + 1); in trimdomain()
67 domain[0] = '\0'; in trimdomain()
68 dlen = strlen(domain); in trimdomain()
71 if (domain[0] == '\0') in trimdomain()
77 if (strncasecmp(s + 1, domain, dlen) == 0) { in trimdomain()
/dragonfly/sys/dev/drm/amd/amdgpu/
HDamdgpu_object.c143 void amdgpu_bo_placement_from_domain(struct amdgpu_bo *abo, u32 domain) in amdgpu_bo_placement_from_domain() argument
151 if (domain & AMDGPU_GEM_DOMAIN_VRAM) { in amdgpu_bo_placement_from_domain()
169 if (domain & AMDGPU_GEM_DOMAIN_GTT) { in amdgpu_bo_placement_from_domain()
184 if (domain & AMDGPU_GEM_DOMAIN_CPU) { in amdgpu_bo_placement_from_domain()
196 if (domain & AMDGPU_GEM_DOMAIN_GDS) { in amdgpu_bo_placement_from_domain()
203 if (domain & AMDGPU_GEM_DOMAIN_GWS) { in amdgpu_bo_placement_from_domain()
210 if (domain & AMDGPU_GEM_DOMAIN_OA) { in amdgpu_bo_placement_from_domain()
254 u32 domain, struct amdgpu_bo **bo_ptr, in amdgpu_bo_create_reserved() argument
264 bp.domain = domain; in amdgpu_bo_create_reserved()
286 r = amdgpu_bo_pin(*bo_ptr, domain); in amdgpu_bo_create_reserved()
[all …]
/dragonfly/contrib/gdb-7/gdb/
HDcp-namespace.c38 const domain_enum domain,
44 const domain_enum domain,
229 const domain_enum domain) in cp_lookup_symbol_nonlocal() argument
235 domain, scope, 0); in cp_lookup_symbol_nonlocal()
240 block, domain); in cp_lookup_symbol_nonlocal()
251 const domain_enum domain, int search) in cp_lookup_symbol_in_namespace() argument
255 return lookup_symbol_file (name, block, domain, 0, search); in cp_lookup_symbol_in_namespace()
265 return lookup_symbol_file (concatenated_name, block, domain, in cp_lookup_symbol_in_namespace()
309 const domain_enum domain, in cp_lookup_symbol_imports() argument
322 block, domain, 1); in cp_lookup_symbol_imports()
[all …]
HDcp-valprint.c724 struct type *domain; in cp_find_class_member() local
729 domain = *domain_p; in cp_find_class_member()
730 len = TYPE_NFIELDS (domain); in cp_find_class_member()
732 for (i = TYPE_N_BASECLASSES (domain); i < len; i++) in cp_find_class_member()
734 LONGEST bitpos = TYPE_FIELD_BITPOS (domain, i); in cp_find_class_member()
744 for (i = 0; i < TYPE_N_BASECLASSES (domain); i++) in cp_find_class_member()
746 LONGEST bitpos = TYPE_FIELD_BITPOS (domain, i); in cp_find_class_member()
747 LONGEST bitsize = 8 * TYPE_LENGTH (TYPE_FIELD_TYPE (domain, i)); in cp_find_class_member()
751 *domain_p = TYPE_FIELD_TYPE (domain, i); in cp_find_class_member()
769 struct type *domain = TYPE_DOMAIN_TYPE (type); in cp_print_class_member() local
[all …]
/dragonfly/usr.sbin/rpc.yppasswdd/
HDyppasswdd_server.c236 static char domain[YPMAXDOMAIN]; in find_domain() local
271 snprintf(domain, YPMAXDOMAIN, "%s", tmp); in find_domain()
281 return((char *)&domain); in find_domain()
299 update_inplace(struct passwd *pw, char *domain) in update_inplace() argument
342 if (yp_get_record(domain,maps[i],&key,&data,1) != YP_TRUE) { in update_inplace()
343 yp_error("couldn't read %s/%s: %s", domain, in update_inplace()
363 pw->pw_uid, maps[i], domain, in update_inplace()
379 in map %s@%s with wrong UID", pw->pw_name, maps[i], domain); in update_inplace()
401 if ((dbp = yp_open_db_rw(domain, maps[i], FLAGS)) == NULL) { in update_inplace()
402 yp_error("couldn't open %s/%s r/w: %s",domain, in update_inplace()
[all …]
/dragonfly/libexec/ypxfr/
HDypxfr_misc.c121 ypxfr_get_master(char *domain, char *map, char *source, const int yplib) in ypxfr_get_master() argument
130 if ((res = yp_master(domain, map, &master))) { in ypxfr_get_master()
162 req.domain = domain; in ypxfr_get_master()
193 ypxfr_get_order(char *domain, char *map, char *source, const int yplib) in ypxfr_get_order() argument
198 if ((res = yp_order(domain, map, (int *)&order))) { in ypxfr_get_order()
226 req.domain = domain; in ypxfr_get_order()
255 ypxfr_match(char *server, char *domain, char *map, char *key, in ypxfr_match() argument
271 ypkey.domain = domain; in ypxfr_match()
/dragonfly/usr.sbin/ypserv/
HDyp_server.c140 if (yp_access(argp->map, argp->domain, (struct svc_req *)rqstp)) {
148 if (argp->domain == NULL || argp->map == NULL) {
153 if (yp_select_map(argp->map, argp->domain, NULL, 1) != YP_TRUE) {
166 (yp_testflag(argp->map, argp->domain, YP_INTERDOMAIN) ||
210 if (yp_access(argp->map, argp->domain, (struct svc_req *)rqstp)) {
218 if (argp->domain == NULL) {
223 if (yp_select_map(argp->map, argp->domain, NULL, 0) != YP_TRUE) {
242 if (yp_access(argp->map, argp->domain, (struct svc_req *)rqstp)) {
250 if (argp->domain == NULL || argp->map == NULL) {
255 if (yp_select_map(argp->map, argp->domain, &argp->key, 0) != YP_TRUE) {
[all …]
HDyp_access.c204 yp_access(const char *map, const char *domain, const struct svc_req *rqstp) argument
251 if ((yp_testflag((char *)map, (char *)domain, YP_SECURE) ||
309 yp_validdomain(const char *domain) argument
314 if (domain == NULL || strstr(domain, "binding") ||
315 !strcmp(domain, ".") || !strcmp(domain, "..") ||
316 strchr(domain, '/') || strlen(domain) > YPMAXDOMAIN)
319 snprintf(dompath, sizeof(dompath), "%s/%s", yp_dir, domain);
HDyp_dblookup.c215 yp_testflag(char *map, char *domain, int flag) in yp_testflag() argument
220 if (map == NULL || domain == NULL) in yp_testflag()
223 strcpy(buf, domain); in yp_testflag()
236 if (yp_open_db_cache(domain, map, NULL, 0) == NULL) in yp_testflag()
343 yp_open_db_cache(const char *domain, const char *map, const char *key, in yp_open_db_cache() argument
353 strcpy(buf, domain); in yp_open_db_cache()
360 if ((dbp = yp_open_db(domain, map)) != NULL) { in yp_open_db_cache()
377 yp_open_db(const char *domain, const char *map) in yp_open_db() argument
390 if (yp_validdomain(domain)) { in yp_open_db()
395 snprintf(buf, sizeof(buf), "%s/%s/%s", yp_dir, domain, map); in yp_open_db()
[all …]
/dragonfly/lib/libc/resolv/
HDres_query.c214 const char *cp, * const *domain; in res_nsearch() local
261 for (domain = (const char * const *)statp->dnsrch; in res_nsearch()
262 *domain && !done; in res_nsearch()
263 domain++) { in res_nsearch()
266 if (domain[0][0] == '\0' || in res_nsearch()
267 (domain[0][0] == '.' && domain[0][1] == '\0')) in res_nsearch()
270 ret = res_nquerydomain(statp, name, *domain, in res_nsearch()
356 const char *domain, in res_nquerydomain() argument
368 name, domain?domain:"<Nil>", class, type); in res_nquerydomain()
370 if (domain == NULL) { in res_nquerydomain()
[all …]
/dragonfly/libexec/mknetid/
HDmknetid.c106 char *domain; in main() local
112 domain = NULL; in main()
128 domain = optarg; in main()
139 if (domain == NULL) { in main()
140 if (yp_get_default_domain(&domain)) in main()
216 pidptr, domain); in main()
221 OPSYS, pidptr, domain); in main()
226 printf("%s.%s@%s %s:%s", OPSYS, pidptr, domain, pidptr, gidptr); in main()
259 ptr, domain); in main()
268 printf ("%s.%s@%s 0:%s\n", OPSYS, ptr, domain, ptr); in main()
/dragonfly/contrib/xz/
HDCOPYING9 - liblzma is in the public domain.
12 domain unless GNU getopt_long had to be compiled and linked
22 are in the public domain.
24 - Translated messages are in the public domain.
26 - The build system contains public domain files, and files that
31 utilities in the debug directory are in the public domain.
33 - The extra directory may contain public domain files, and files
37 the public domain. If you find public domain legally problematic,
44 If you copy significant amounts of public domain code from XZ Utils
59 binary wouldn't actually be in the public domain in its entirety
/dragonfly/lib/libpam/modules/pam_login_access/
HDlogin_access.c142 char domain[1024]; in netgroup_match() local
145 if (getdomainname(domain, sizeof(domain)) != 0 || *domain == '\0') { in netgroup_match()
151 for (i = 0; i < sizeof(domain); ++i) in netgroup_match()
152 if (domain[i] == '\0') in netgroup_match()
154 if (i == sizeof(domain)) { in netgroup_match()
159 if (innetgr(group, machine, user, domain) == 1) in netgroup_match()
/dragonfly/sys/sys/
HDdomain.h48 SLIST_HEAD(domainlist, domain);
50 struct domain { struct
60 SLIST_ENTRY(domain) dom_next; argument
73 extern struct domain localdomain; argument
78 … SYSINIT(domain_ ## name, SI_SUB_PROTO_DOMAIN, SI_ORDER_SECOND, net_add_domain, & name ## domain)
/dragonfly/lib/libypclnt/
HDypclnt_new.c43 ypclnt_new(const char *domain, const char *map, const char *server) in ypclnt_new() argument
49 if (domain != NULL && (ypclnt->domain = strdup(domain)) == NULL) in ypclnt_new()
57 free(ypclnt->domain); in ypclnt_new()
HDypclnt_connect.c55 if (ypclnt->domain == NULL) { in ypclnt_connect()
56 if ((ypclnt->domain = malloc(MAXHOSTNAMELEN)) == NULL) { in ypclnt_connect()
61 if (getdomainname(ypclnt->domain, MAXHOSTNAMELEN) != 0) { in ypclnt_connect()
77 r = yp_master(ypclnt->domain, ypclnt->map, &ypclnt->server); in ypclnt_connect()
/dragonfly/contrib/gcc-4.7/gcc/
HDtree-call-cdce.c106 inp_domain domain; in get_domain() local
107 domain.lb = lb; in get_domain()
108 domain.has_lb = has_lb; in get_domain()
109 domain.is_lb_inclusive = lb_inclusive; in get_domain()
110 domain.ub = ub; in get_domain()
111 domain.has_ub = has_ub; in get_domain()
112 domain.is_ub_inclusive = ub_inclusive; in get_domain()
113 return domain; in get_domain()
368 gen_conditions_for_domain (tree arg, inp_domain domain, in gen_conditions_for_domain() argument
372 if (domain.has_lb) in gen_conditions_for_domain()
[all …]
/dragonfly/sys/kern/
HDuipc_domain.c61 SYSINIT(domain, SI_SUB_PROTO_DOMAIN, SI_ORDER_FIRST, domaininit, NULL);
79 net_init_domain(struct domain *dp) in net_init_domain()
135 struct domain *dp = data; in net_add_domain()
155 struct domain *dp; in pffindtype()
173 struct domain *dp; in pffindproto()
199 struct domain *dp; in kpfctlinput()
211 struct domain *dp; in kpfctlinput_direct()
223 struct domain *dp; in kpfctlinput2()
HDsubr_sleepqueue.c257 int domain; in sleepq_add() local
275 domain = PDOMAIN_FBSD0 + queue * PDOMAIN_FBSDINC; in sleepq_add()
276 tsleep_interlock(wchan, domain); in sleepq_add()
322 int domain; in _sleepq_wait_begin() local
327 domain = PDOMAIN_FBSD0 + td->td_sqqueue * PDOMAIN_FBSDINC; in _sleepq_wait_begin()
490 int domain; in sleepq_signal() local
492 domain = PDOMAIN_FBSD0 + queue * PDOMAIN_FBSDINC; in sleepq_signal()
493 wakeup_domain_one(wchan, domain); in sleepq_signal()
507 int domain; in sleepq_broadcast() local
509 domain = PDOMAIN_FBSD0 + queue * PDOMAIN_FBSDINC; in sleepq_broadcast()
[all …]
/dragonfly/contrib/dhcpcd/hooks/
HD20-resolv.conf36 domain=$(cd "$resolv_conf_dir"; \
40 set -- ${domain}
41 domain="$1"
44 [ "$domain" = "$search" ] && search=
45 [ -n "$domain" ] && domain="domain $domain$NL"
66 printf %s "$domain$search$servers" >> "$cf"
/dragonfly/etc/
HDhosts7 # share this file. Replace 'my.domain' below with the domainname of your
10 # In the presence of the domain name service or NIS, this file may
14 ::1 localhost localhost.my.domain
15 127.0.0.1 localhost localhost.my.domain
18 #10.0.0.2 myname.my.domain myname
19 #10.0.0.3 myfriend.my.domain myfriend
/dragonfly/contrib/gcc-8.0/gcc/
HDtree-call-cdce.c140 inp_domain domain; in get_domain() local
141 domain.lb = lb; in get_domain()
142 domain.has_lb = has_lb; in get_domain()
143 domain.is_lb_inclusive = lb_inclusive; in get_domain()
144 domain.ub = ub; in get_domain()
145 domain.has_ub = has_ub; in get_domain()
146 domain.is_ub_inclusive = ub_inclusive; in get_domain()
147 return domain; in get_domain()
421 gen_conditions_for_domain (tree arg, inp_domain domain, in gen_conditions_for_domain() argument
425 if (domain.has_lb) in gen_conditions_for_domain()
[all …]
/dragonfly/sys/dev/drm/radeon/
HDradeon_object.c95 void radeon_ttm_placement_from_domain(struct radeon_bo *rbo, u32 domain) in radeon_ttm_placement_from_domain() argument
101 if (domain & RADEON_GEM_DOMAIN_VRAM) { in radeon_ttm_placement_from_domain()
120 if (domain & RADEON_GEM_DOMAIN_GTT) { in radeon_ttm_placement_from_domain()
139 if (domain & RADEON_GEM_DOMAIN_CPU) { in radeon_ttm_placement_from_domain()
179 u32 domain, u32 flags, struct sg_table *sg, in radeon_bo_create() argument
215 bo->initial_domain = domain & (RADEON_GEM_DOMAIN_VRAM | in radeon_bo_create()
257 radeon_ttm_placement_from_domain(bo, domain); in radeon_bo_create()
329 int radeon_bo_pin_restricted(struct radeon_bo *bo, u32 domain, u64 max_offset, in radeon_bo_pin_restricted() argument
343 if (domain == RADEON_GEM_DOMAIN_VRAM) in radeon_bo_pin_restricted()
353 if (bo->prime_shared_count && domain == RADEON_GEM_DOMAIN_VRAM) { in radeon_bo_pin_restricted()
[all …]

12345678910>>...14