| /freebsd-14.2/sys/amd64/vmm/intel/ |
| H A D | vtd.c | 159 struct domain *dom; in domain_id() local 164 if (dom->id == id) in domain_id() 167 if (dom == NULL) in domain_id() 466 ctxp[idx + 1] = dom->addrwidth | (dom->id << 8); in vtd_add_device() 523 dom = arg; in vtd_update_mapping() 561 ptp = dom->ptp; in vtd_update_mapping() 716 dom->spsmask = ~0; in vtd_create_domain() 726 return (dom); in vtd_create_domain() 755 dom = arg; in vtd_destroy_domain() 758 vtd_free_ptp(dom->ptp, dom->pt_levels); in vtd_destroy_domain() [all …]
|
| /freebsd-14.2/tools/regression/sockets/so_setfib/ |
| H A D | so_setfib.c | 96 so_setfib(int s, int i, u_int dom, u_int type) in so_setfib() argument 103 printf("ok %d %s_%s_%d\n", testno, t_dom[dom].name, in so_setfib() 108 t_dom[dom].name, t_type[type].name, i, s, i); in so_setfib() 110 printf("ok %d %s_%s_%d\n", testno, t_dom[dom].name, in so_setfib() 115 t_dom[dom].name, t_type[type].name, i, s, i, in so_setfib() 118 printf("not ok %d %s_%s_%d\n", testno, t_dom[dom].name, in so_setfib() 130 t(u_int dom, u_int type) in t() argument 141 s = socket(t_dom[dom].domain, t_type[type].type, 0); in t() 144 t_dom[dom].name, t_type[type].name, strerror(errno)); in t() 151 so_setfib(s, i, dom, type); in t() [all …]
|
| /freebsd-14.2/sys/amd64/vmm/io/ |
| H A D | iommu.h | 43 typedef void (*iommu_remove_device_t)(void *dom, uint16_t rid); 44 typedef void (*iommu_invalidate_tlb_t)(void *dom); 67 void iommu_destroy_domain(void *dom); 68 void iommu_create_mapping(void *dom, vm_paddr_t gpa, vm_paddr_t hpa, 70 void iommu_remove_mapping(void *dom, vm_paddr_t gpa, size_t len); 71 void iommu_add_device(void *dom, uint16_t rid); 72 void iommu_remove_device(void *dom, uint16_t rid);
|
| H A D | iommu.c | 89 IOMMU_DESTROY_DOMAIN(void *dom) in IOMMU_DESTROY_DOMAIN() argument 93 (*ops->destroy_domain)(dom); in IOMMU_DESTROY_DOMAIN() 278 iommu_destroy_domain(void *dom) in iommu_destroy_domain() argument 281 IOMMU_DESTROY_DOMAIN(dom); in iommu_destroy_domain() 292 mapped = IOMMU_CREATE_MAPPING(dom, gpa, hpa, remaining); in iommu_create_mapping() 300 iommu_remove_mapping(void *dom, vm_paddr_t gpa, size_t len) in iommu_remove_mapping() argument 307 unmapped = IOMMU_REMOVE_MAPPING(dom, gpa, remaining); in iommu_remove_mapping() 321 iommu_add_device(void *dom, uint16_t rid) in iommu_add_device() argument 324 IOMMU_ADD_DEVICE(dom, rid); in iommu_add_device() 328 iommu_remove_device(void *dom, uint16_t rid) in iommu_remove_device() argument [all …]
|
| /freebsd-14.2/sys/net/route/ |
| H A D | route_tables.c | 222 struct domain *dom; in grow_rtables() local 256 SLIST_FOREACH(dom, &domains, dom_next) { in grow_rtables() 257 if (dom->dom_rtattach == NULL) in grow_rtables() 259 family = dom->dom_family; in grow_rtables() 264 rh = dom->dom_rtattach(i); in grow_rtables() 267 dom->dom_family, i); in grow_rtables() 293 if (dom->dom_rtattach != NULL) in grow_rtables() 332 struct domain *dom; in rtables_destroy() local 337 if (dom->dom_rtdetach == NULL) in rtables_destroy() 339 family = dom->dom_family; in rtables_destroy() [all …]
|
| /freebsd-14.2/sys/dev/xen/privcmd/ |
| H A D | privcmd.c | 103 domid_t dom; member 285 if (u->dom != DOMID_INVALID) { in privcmd_ioctl() 326 if (u->dom != DOMID_INVALID && u->dom != mmap->dom) { in privcmd_ioctl() 412 if (u->dom != DOMID_INVALID && u->dom != mmap->dom) { in privcmd_ioctl() 419 adq.domid = mmap->dom; in privcmd_ioctl() 467 if (u->dom != DOMID_INVALID && u->dom != dmop->dom) { in privcmd_ioctl() 514 domid_t dom; in privcmd_ioctl() local 516 dom = *(domid_t *)arg; in privcmd_ioctl() 522 if (u->dom != DOMID_INVALID && u->dom != dom) { in privcmd_ioctl() 526 u->dom = dom; in privcmd_ioctl() [all …]
|
| /freebsd-14.2/sys/x86/iommu/ |
| H A D | intel_dmar.h | 77 #define DMAR_DOMAIN_PGLOCK(dom) VM_OBJECT_WLOCK((dom)->pgtbl_obj) argument 78 #define DMAR_DOMAIN_PGTRYLOCK(dom) VM_OBJECT_TRYWLOCK((dom)->pgtbl_obj) argument 79 #define DMAR_DOMAIN_PGUNLOCK(dom) VM_OBJECT_WUNLOCK((dom)->pgtbl_obj) argument 80 #define DMAR_DOMAIN_ASSERT_PGLOCKED(dom) \ argument 81 VM_OBJECT_ASSERT_WLOCKED((dom)->pgtbl_obj) 83 #define DMAR_DOMAIN_LOCK(dom) mtx_lock(&(dom)->iodom.lock) argument 84 #define DMAR_DOMAIN_UNLOCK(dom) mtx_unlock(&(dom)->iodom.lock) argument 85 #define DMAR_DOMAIN_ASSERT_LOCKED(dom) mtx_assert(&(dom)->iodom.lock, MA_OWNED) argument
|
| /freebsd-14.2/contrib/ntp/util/ |
| H A D | lsf-times.c | 49 unsigned int dom = 0; in main() local 81 dom = 28; in main() 127 scount = sscanf(argv[3], "%u", &dom); in main() 129 if (28 == dom) { in main() 132 printf("3 arg, but #3 is not 28: <%d>\n", dom); in main() 155 cal.monthday = dom; in main()
|
| /freebsd-14.2/sys/contrib/xen/ |
| H A D | event_channel.h | 95 domid_t dom, remote_dom; member 211 domid_t dom; member 224 domid_t dom; member 227 domid_t dom; member 277 domid_t dom; member
|
| H A D | grant_table.h | 348 domid_t dom; member 390 domid_t dom; member 409 domid_t dom; member 487 domid_t dom; member 548 domid_t dom; member 562 domid_t dom; member
|
| /freebsd-14.2/lib/libc/gen/ |
| H A D | getnetgrent.c | 479 const char* dom, const char* group) argument 490 dom ? dom : lookupdom); 497 dom ? dom : lookupdom); 536 const char *group, *host, *user, *dom; local 541 dom = va_arg(ap, const char *); 580 host?host:user, dom, group); 584 } else if (ret == 0 && dom != NULL) { 596 const char *user, const char *dom) argument 642 (dom == NULL || d == NULL || strcmp(dom, d) == 0)) { 658 const char *group, *host, *user, *dom; local [all …]
|
| /freebsd-14.2/sys/arm64/arm64/ |
| H A D | mp_machdep.c | 357 struct cpu_group *dom, *root; in cpu_topo() local 361 dom = smp_topo_alloc(vm_ndomains); in cpu_topo() 364 root->cg_child = dom; in cpu_topo() 375 for (i = 0; i < vm_ndomains; i++, dom++) { in cpu_topo() 376 dom->cg_parent = root; in cpu_topo() 377 dom->cg_child = NULL; in cpu_topo() 378 CPU_COPY(&cpuset_domain[i], &dom->cg_mask); in cpu_topo() 379 dom->cg_count = CPU_COUNT(&dom->cg_mask); in cpu_topo() 380 dom->cg_children = 0; in cpu_topo() 381 dom->cg_level = CG_SHARE_L3; in cpu_topo() [all …]
|
| /freebsd-14.2/sys/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | sid.h | 41 ksid_lookupdomain(const char *dom) in ksid_lookupdomain() argument 44 int len = strlen(dom); in ksid_lookupdomain() 48 memcpy(kd->kd_name, dom, len); in ksid_lookupdomain()
|
| /freebsd-14.2/sys/xen/ |
| H A D | privcmd.h | 45 domid_t dom; /* target domain */ member 52 domid_t dom; /* target domain */ member 70 domid_t dom; /* target domain */ member
|
| /freebsd-14.2/sys/dev/iommu/ |
| H A D | iommu.h | 156 #define IOMMU_DOMAIN_LOCK(dom) mtx_lock(&(dom)->lock) argument 157 #define IOMMU_DOMAIN_UNLOCK(dom) mtx_unlock(&(dom)->lock) argument 158 #define IOMMU_DOMAIN_ASSERT_LOCKED(dom) mtx_assert(&(dom)->lock, MA_OWNED) argument
|
| /freebsd-14.2/lib/libc/yp/ |
| H A D | yplib.c | 298 if (strchr(dom, '/') != NULL) in _yp_dobind() 318 if (dom == NULL || strlen(dom) == 0) in _yp_dobind() 598 yp_bind_locked(char *dom) in yp_bind_locked() argument 604 yp_bind(char *dom) in yp_bind() argument 609 r = yp_bind_locked(dom); in yp_bind() 615 yp_unbind_locked(char *dom) in yp_unbind_locked() argument 636 yp_unbind(char *dom) in yp_unbind() argument 639 yp_unbind_locked(dom); in yp_unbind() 1216 _yp_check(char **dom) in _yp_check() argument 1227 if (dom) in _yp_check() [all …]
|
| /freebsd-14.2/crypto/heimdal/lib/krb5/ |
| H A D | get_host_realm.c | 96 char dom[MAXHOSTNAMELEN]; in dns_find_realm() local 111 ret = snprintf(dom, sizeof(dom), "%s.%s.", labels[i], domain); in dns_find_realm() 112 if(ret < 0 || (size_t)ret >= sizeof(dom)) { in dns_find_realm() 117 r = rk_dns_lookup(dom, "TXT"); in dns_find_realm()
|
| /freebsd-14.2/include/rpcsvc/ |
| H A D | ypclnt.h | 73 int yp_bind(char *dom); 74 int _yp_dobind(char *dom, struct dom_binding **ypdb); 75 void yp_unbind(char *dom);
|
| /freebsd-14.2/usr.sbin/cron/cron/ |
| H A D | cron.c | 218 int second, minute, hour, dom, month, dow; local 227 dom = tm->tm_mday -FIRST_DOM; 232 getpid(), second, minute, hour, dom, month, dow)) 319 ? (bit_test(e->dow,otzdow) && bit_test(e->dom,otzdom)) 320 : (bit_test(e->dow,otzdow) || bit_test(e->dom,otzdom)) 339 ? (bit_test(e->dow,dow) && bit_test(e->dom,dom)) 340 : (bit_test(e->dow,dow) || bit_test(e->dom,dom))
|
| /freebsd-14.2/usr.sbin/ypset/ |
| H A D | ypset.c | 58 bind_tohost(struct sockaddr_in *sin, char *dom, char *server) in bind_tohost() argument 80 ypsd.ypsetdom_domain = dom; in bind_tohost() 102 " - make sure ypbind was started with -ypset or -ypsetme", dom, in bind_tohost()
|
| /freebsd-14.2/usr.sbin/cron/lib/ |
| H A D | entry.c | 163 bit_set(e->dom, 0); in load_entry() 172 bit_set(e->dom, 0); in load_entry() 181 bit_nset(e->dom, 0, (LAST_DOM-FIRST_DOM+1)); in load_entry() 190 bit_nset(e->dom, 0, (LAST_DOM-FIRST_DOM+1)); in load_entry() 198 bit_nset(e->dom, 0, (LAST_DOM-FIRST_DOM+1)); in load_entry() 206 bit_nset(e->dom, 0, (LAST_DOM-FIRST_DOM+1)); in load_entry() 215 bit_nset(e->dom, 0, (LAST_DOM-FIRST_DOM+1)); in load_entry() 263 ch = get_list(e->dom, FIRST_DOM, LAST_DOM, in load_entry()
|
| /freebsd-14.2/sys/vm/ |
| H A D | vm_phys.c | 265 int dom, error, flind, oind, pind; in sysctl_vm_phys_free() local 271 for (dom = 0; dom < vm_ndomains; dom++) { in sysctl_vm_phys_free() 272 sbuf_printf(&sbuf,"\nDOMAIN %d:\n", dom); in sysctl_vm_phys_free() 287 fl = vm_phys_free_queues[dom][flind][pind]; in sysctl_vm_phys_free() 499 int dom, flind, freelist, oind, pind, segind; in vm_phys_init() local 613 for (dom = 0; dom < vm_ndomains; dom++) { in vm_phys_init() 616 fl = vm_phys_free_queues[dom][flind][pind]; in vm_phys_init() 1848 int flind, oind, pind, dom; in DB_SHOW_COMMAND_FLAGS() local 1850 for (dom = 0; dom < vm_ndomains; dom++) { in DB_SHOW_COMMAND_FLAGS() 1851 db_printf("DOMAIN: %d\n", dom); in DB_SHOW_COMMAND_FLAGS() [all …]
|
| H A D | uma_core.c | 1636 uma_domain_t dom; in keg_drain_domain() local 1653 partial = dom->ud_free_items - dom->ud_free_slabs * keg->uk_ipers; in keg_drain_domain() 1756 uma_domain_t dom; in keg_alloc_slab() local 2590 uma_domain_t dom; in zone_alloc_sysctl() local 3913 uma_domain_t dom; in keg_first_slab() local 4045 uma_domain_t dom; in slab_alloc_item() local 4056 dom->ud_free_items--; in slab_alloc_item() 4074 uma_domain_t dom; in zone_import() local 4802 uma_domain_t dom; in slab_free_item() local 4825 dom->ud_free_items++; in slab_free_item() [all …]
|
| /freebsd-14.2/sys/arm64/acpica/ |
| H A D | acpi_iort.c | 477 int i, matches, dom; in srat_resolve_its_pxm() local 485 dom = acpi_map_pxm_to_vm_domainid(gicits->ProximityDomain); in srat_resolve_its_pxm() 492 if (dom == -1) in srat_resolve_its_pxm() 498 i = ++map_counts[dom + 1]; in srat_resolve_its_pxm() 501 if (dom != -1) in srat_resolve_its_pxm() 503 " same NUMA domain %d!\n", dom); in srat_resolve_its_pxm() 513 its_entry->pxm = dom; in srat_resolve_its_pxm()
|
| /freebsd-14.2/crypto/openssl/crypto/ec/curve448/ |
| H A D | eddsa.c | 70 uint8_t dom[2]; in hash_init_with_dom() local 76 dom[0] = (uint8_t)(2 - (prehashed == 0 ? 1 : 0) in hash_init_with_dom() 78 dom[1] = (uint8_t)context_len; in hash_init_with_dom() 86 || !EVP_DigestUpdate(hashctx, dom, sizeof(dom)) in hash_init_with_dom()
|