Home
last modified time | relevance | path

Searched refs:pwa (Results 1 – 4 of 4) sorted by relevance

/titanic_44/usr/src/uts/common/os/
H A Dwatchpoint.c525 register struct watched_area *pwa; in pr_is_watchpoint() local
569 for (pwa = pr_find_watched_area(p, &twa, NULL); in pr_is_watchpoint()
570 pwa != NULL && eaddr > pwa->wa_vaddr && addr < pwa->wa_eaddr; in pr_is_watchpoint()
571 pwa = AVL_NEXT(&p->p_warea, pwa)) { in pr_is_watchpoint()
575 if (pwa->wa_flags & WA_READ) in pr_is_watchpoint()
579 if (pwa->wa_flags & WA_WRITE) in pr_is_watchpoint()
583 if (pwa->wa_flags & WA_EXEC) in pr_is_watchpoint()
596 if (addr < pwa->wa_vaddr) in pr_is_watchpoint()
597 addr = pwa->wa_vaddr; in pr_is_watchpoint()
598 len = pwa->wa_eaddr - addr; in pr_is_watchpoint()
[all …]
/titanic_44/usr/src/uts/common/fs/proc/
H A Dprcontrol.c1850 struct watched_area *pwa; in pr_watch() local
1939 pwa = kmem_alloc(sizeof (struct watched_area), KM_SLEEP); in pr_watch()
1940 pwa->wa_vaddr = (caddr_t)vaddr; in pr_watch()
1941 pwa->wa_eaddr = (caddr_t)vaddr + size; in pr_watch()
1942 pwa->wa_flags = (ulong_t)wflags; in pr_watch()
1944 error = ((pwa->wa_flags & ~WA_TRAPAFTER) == 0)? in pr_watch()
1945 clear_watched_area(p, pwa) : set_watched_area(p, pwa); in pr_watch()
H A Dprsubr.c3178 set_watched_area(proc_t *p, struct watched_area *pwa) in set_watched_area() argument
3180 caddr_t vaddr = pwa->wa_vaddr; in set_watched_area()
3181 caddr_t eaddr = pwa->wa_eaddr; in set_watched_area()
3182 ulong_t flags = pwa->wa_flags; in set_watched_area()
3206 target = pr_find_watched_area(p, pwa, &where); in set_watched_area()
3220 kmem_free(pwa, sizeof (struct watched_area)); in set_watched_area()
3222 avl_insert(&p->p_warea, pwa, where); in set_watched_area()
3235 clear_watched_area(proc_t *p, struct watched_area *pwa) in clear_watched_area() argument
3245 kmem_free(pwa, sizeof (struct watched_area)); in clear_watched_area()
3254 if ((found = pr_find_watched_area(p, pwa, NULL)) != NULL && in clear_watched_area()
[all …]
/titanic_44/usr/src/uts/common/io/
H A Ddevinfo.c1522 phci_walk_arg_t pwa; in build_vhci_list() local
1551 pwa.off = off; in build_vhci_list()
1552 pwa.st = st; in build_vhci_list()
1553 mdi_vhci_walk_phcis(vh_devinfo, build_phci_list, &pwa); in build_vhci_list()
1566 phci_walk_arg_t *pwa; in build_phci_list() local
1569 pwa = (phci_walk_arg_t *)arg; in build_phci_list()
1572 pwa->off)); in build_phci_list()
1574 vh_di_node = DI_NODE(di_mem_addr(pwa->st, pwa->off)); in build_phci_list()
1575 if (di_dip_find(pwa->st, ph_devinfo, &off) != 0) { in build_phci_list()
1588 me = DI_NODE(di_mem_addr(pwa->st, vh_di_node->top_phci)); in build_phci_list()
[all …]