Home
last modified time | relevance | path

Searched refs:UNIXCB (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/net/unix/
Dscm.c118 UNIXCB(skb).fp = scm_fp_dup(scm->fp); in unix_attach_fds()
119 if (!UNIXCB(skb).fp) in unix_attach_fds()
132 scm->fp = UNIXCB(skb).fp; in unix_detach_fds()
133 UNIXCB(skb).fp = NULL; in unix_detach_fds()
145 scm.pid = UNIXCB(skb).pid; in unix_destruct_scm()
146 if (UNIXCB(skb).fp) in unix_destruct_scm()
Daf_unix.c189 UNIXCB(skb).secid = scm->secid; in unix_get_secdata()
194 scm->secid = UNIXCB(skb).secid; in unix_set_secdata()
199 return (scm->secid == UNIXCB(skb).secid); in unix_secdata_eq()
648 UNIXCB(skb).consumed = skb->len; in unix_release_sock()
1756 scm->fp = scm_fp_dup(UNIXCB(skb).fp); in unix_peek_fds()
1805 UNIXCB(skb).pid = get_pid(scm->pid); in unix_scm_to_skb()
1806 UNIXCB(skb).uid = scm->creds.uid; in unix_scm_to_skb()
1807 UNIXCB(skb).gid = scm->creds.gid; in unix_scm_to_skb()
1808 UNIXCB(skb).fp = NULL; in unix_scm_to_skb()
1833 if (UNIXCB(skb).pid) in maybe_add_creds()
[all …]
Dgarbage.c100 if (UNIXCB(skb).fp) { in scan_inflight()
103 int nfd = UNIXCB(skb).fp->count; in scan_inflight()
104 struct file **fp = UNIXCB(skb).fp->fp; in scan_inflight()
/linux-6.1.9/include/net/
Daf_unix.h46 #define UNIXCB(skb) (*(struct unix_skb_parms *)&((skb)->cb)) macro
/linux-6.1.9/io_uring/
Drsrc.c832 if (skb && UNIXCB(skb).fp->count < SCM_MAX_FD) in __io_scm_file_account()
853 UNIXCB(skb).fp = fpl; in __io_scm_file_account()
860 fpl = UNIXCB(skb).fp; in __io_scm_file_account()
893 fp = UNIXCB(skb).fp; in io_rsrc_file_put()