/freebsd-12-stable/sys/kern/ |
H A D | uipc_usrreq.c | 230 * unp->unp_conn->unp_socket, you need to hold a lock on unp_conn to guarantee 273 #define UNP_PCB_LOCK_INIT(unp) mtx_init(&(unp)->unp_mtx, \ 274 "unp", "unp", \ 276 #define UNP_PCB_LOCK_DESTROY(unp) mtx_destroy(&(unp)->unp_mtx) 277 #define UNP_PCB_LOCKPTR(unp) (&(unp)->unp_mtx) 278 #define UNP_PCB_LOCK(unp) mtx_loc 311 unp_pcb_hold(struct unpcb *unp) argument 317 unp_pcb_rele(struct unpcb *unp) argument 332 unp_pcb_rele_notlast(struct unpcb *unp) argument 341 unp_pcb_lock_pair(struct unpcb *unp, struct unpcb *unp2) argument 358 unp_pcb_unlock_pair(struct unpcb *unp, struct unpcb *unp2) argument 372 unp_pcb_lock_peer(struct unpcb *unp) argument 466 struct unpcb *unp, *unp2; local 485 struct unpcb *unp, *unp2; local 514 struct unpcb *unp; local 588 struct unpcb *unp; local 724 struct unpcb *unp, *unp2; local 759 struct unpcb *unp, *unp2; local 775 struct unpcb *unp, *unp2; local 859 struct unpcb *unp, *unp2; local 875 struct unpcb *unp; local 906 struct unpcb *unp, *unp2; local 939 struct unpcb *unp, *unp2; local 990 struct unpcb *unp, *unp2; local 1208 struct unpcb *unp, *unp2; local 1255 struct unpcb *unp; local 1269 struct unpcb *unp; local 1284 struct unpcb *unp; local 1371 struct unpcb *unp; local 1477 struct unpcb *unp, *unp2, *unp3; local 1654 struct unpcb *unp; local 1700 unp_disconnect(struct unpcb *unp, struct unpcb *unp2) argument 1768 struct unpcb *unp, **unp_list; local 1915 unp_shutdown(struct unpcb *unp) argument 1932 unp_drop(struct unpcb *unp) argument 2094 struct unpcb *unp; local 2469 struct unpcb *unp; local 2483 struct unpcb *unp; local 2508 struct unpcb *unp; local 2525 unp_gc_process(struct unpcb *unp) argument 2589 struct unpcb *unp; local 2682 struct unpcb *unp; local 2744 struct unpcb *unp; local 2830 struct unpcb *unp; local 2848 struct unpcb *unp; local [all...] |
H A D | uipc_syscalls.c | 620 struct unpcb *unp, *unp2; local 621 unp = sotounpcb(so1); 627 unp_copy_peercred(td, unp, unp2, unp);
|
/freebsd-12-stable/sys/fs/unionfs/ |
H A D | union_vnops.c | 466 struct unionfs_node *unp; local 479 unp = VTOUNIONFS(ap->a_vp); 480 uvp = unp->un_uppervp; 481 lvp = unp->un_lowervp; 486 unionfs_get_node_status(unp, td, &unsp); 502 error = unionfs_copyfile(unp, 506 targetvp = uvp = unp->un_uppervp; 537 unionfs_tryrem_node_status(unp, unsp); 549 struct unionfs_node *unp; local 562 unp 675 struct unionfs_node *unp; local 755 struct unionfs_node *unp; local 808 struct unionfs_node *unp; local 851 struct unionfs_node *unp; local 872 struct unionfs_node *unp; local 893 struct unionfs_node *unp; local 922 struct unionfs_node *unp; local 944 struct unionfs_node *unp; local 967 struct unionfs_node *unp; local 1052 struct unionfs_node *unp; local 1125 struct unionfs_node *unp; local 1382 struct unionfs_node *unp; local 1482 struct unionfs_node *unp; local 1667 struct unionfs_node *unp; local 1744 struct unionfs_node *unp; local 1768 struct unionfs_node *unp; local 1838 struct unionfs_node *unp; local 1986 struct unionfs_node *unp; local 2055 struct unionfs_node *unp; local 2070 struct unionfs_node *unp; local 2127 struct unionfs_node *unp; local 2150 struct unionfs_node *unp; local 2171 struct unionfs_node *unp; local 2207 struct unionfs_node *unp; local 2228 struct unionfs_node *unp; local 2261 struct unionfs_node *unp; local 2297 struct unionfs_node *unp; local 2321 struct unionfs_node *unp; local 2386 struct unionfs_node *unp; local 2410 struct unionfs_node *unp; local 2476 struct unionfs_node *unp; local 2518 struct unionfs_node *unp; local [all...] |
H A D | union_subr.c | 93 struct unionfs_node *unp; local 96 unp = VTOUNIONFS(dvp); 102 return (&(unp->un_hashtbl[hash & (unp->un_hashmask)])); 113 struct unionfs_node *unp; local 123 LIST_FOREACH(unp, hd, un_hash) { 124 if (!strcmp(unp->un_path, path)) { 125 vp = UNIONFSTOV(unp); 150 struct unionfs_node *unp; local 160 LIST_FOREACH(unp, h 186 unionfs_rem_cached_vnode(struct unionfs_node *unp, struct vnode *dvp) argument 215 struct unionfs_node *unp; local 331 struct unionfs_node *unp, *unp_t1, *unp_t2; local 408 unionfs_get_node_status(struct unionfs_node *unp, struct thread *td, struct unionfs_node_status **unspp) argument 439 unionfs_tryrem_node_status(struct unionfs_node *unp, struct unionfs_node_status *unsp) argument 705 unionfs_node_update(struct unionfs_node *unp, struct vnode *uvp, struct thread *td) argument 751 unionfs_mkshadowdir(struct unionfs_mount *ump, struct vnode *udvp, struct unionfs_node *unp, struct componentname *cnp, struct thread *td) argument 893 unionfs_vn_create_on_upper(struct vnode **vpp, struct vnode *udvp, struct unionfs_node *unp, struct vattr *uvap, struct thread *td) argument 1047 unionfs_copyfile(struct unionfs_node *unp, int docopy, struct ucred *cred, struct thread *td) argument 1242 struct unionfs_node *unp; local 1262 struct unionfs_node *unp; local [all...] |
H A D | union.h | 113 void unionfs_get_node_status(struct unionfs_node *unp, struct thread *td, struct unionfs_node_status **unspp); 114 void unionfs_tryrem_node_status(struct unionfs_node *unp, struct unionfs_node_status *unsp); 117 int unionfs_copyfile(struct unionfs_node *unp, int docopy, struct ucred *cred, struct thread *td); 120 int unionfs_mkshadowdir(struct unionfs_mount *ump, struct vnode *duvp, struct unionfs_node *unp, struct componentname *cnp, struct thread *td);
|
H A D | union_vfsops.c | 479 struct unionfs_node *unp; local 482 unp = VTOUNIONFS(filename_vp); 484 if (unp->un_uppervp != NULLVP) { 486 unp->un_uppervp, namespace, attrname)); 489 unp->un_lowervp, namespace, attrname));
|
/freebsd-12-stable/usr.bin/netstat/ |
H A D | unix.c | 107 struct unpcb *unp, unp0, unp_conn; local 155 LIST_FOREACH(unp, &head, unp_link) { 156 xu.xu_unpp = (uintptr_t)unp; 157 KREAD(unp, &unp0, sizeof (*unp)); 158 unp = &unp0; 160 if (unp->unp_gencnt > unp_gencnt) 162 if (unp->unp_addr != NULL) { 163 KREAD(unp->unp_addr, &sun_len, sizeof(sun_len)); 164 KREAD(unp [all...] |
/freebsd-12-stable/usr.sbin/lpr/common_source/ |
H A D | startdaemon.c | 75 #define SUN_LEN(unp) (strlen((unp)->sun_path) + 2)
|
/freebsd-12-stable/sys/dev/isp/ |
H A D | isp_target.c | 138 #define at2iop unp.at2iop 139 #define at2eiop unp.at2eiop 140 #define at7iop unp.at7iop 141 #define ct2iop unp.ct2iop 142 #define ct2eiop unp.ct2eiop 143 #define ct7iop unp.ct7iop 144 #define lunenp unp.lunenp 145 #define inot_fcp unp.inot_fcp 146 #define inote_fcp unp.inote_fcp 147 #define inot_24xx unp 155 } unp; local [all...] |
/freebsd-12-stable/lib/libc/xdr/ |
H A D | xdr.c | 642 xdr_union(XDR *xdrs, enum_t *dscmp, char *unp, const struct xdr_discrim *choices, xdrproc_t dfault) argument 646 * char *unp; // the union itself 667 return ((*(choices->proc))(xdrs, unp)); 674 (*dfault)(xdrs, unp));
|
/freebsd-12-stable/sys/xdr/ |
H A D | xdr.c | 587 char *unp, /* the union itself */ 607 return ((*(choices->proc))(xdrs, unp)); 614 (*dfault)(xdrs, unp)); 585 xdr_union(XDR *xdrs, enum_t *dscmp, char *unp, const struct xdr_discrim *choices, xdrproc_t dfault) argument
|
/freebsd-12-stable/release/picobsd/tinyware/ns/ |
H A D | ns.c | 131 struct sockaddr_un *unp = (struct sockaddr_un *)sa; local 138 if (unp->sun_path[0] == 0) 141 snprintf(str, sizeof(str), "%s", unp->sun_path);
|
/freebsd-12-stable/usr.sbin/lpr/lpd/ |
H A D | lpd.c | 332 #define SUN_LEN(unp) (strlen((unp)->sun_path) + 2)
|
/freebsd-12-stable/usr.sbin/moused/ |
H A D | moused.c | 3389 #define SUN_LEN(unp) (((char *)(unp)->sun_path - (char *)(unp)) + \ 3390 strlen((unp)->path))
|