Home
last modified time | relevance | path

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

/Linux-v5.4/net/unix/
Dscm.c115 UNIXCB(skb).fp = scm_fp_dup(scm->fp); in unix_attach_fds()
116 if (!UNIXCB(skb).fp) in unix_attach_fds()
129 scm->fp = UNIXCB(skb).fp; in unix_detach_fds()
130 UNIXCB(skb).fp = NULL; in unix_detach_fds()
142 scm.pid = UNIXCB(skb).pid; in unix_destruct_scm()
143 if (UNIXCB(skb).fp) in unix_destruct_scm()
Daf_unix.c141 UNIXCB(skb).secid = scm->secid; in unix_get_secdata()
146 scm->secid = UNIXCB(skb).secid; in unix_set_secdata()
151 return (scm->secid == UNIXCB(skb).secid); in unix_secdata_eq()
563 UNIXCB(skb).consumed = skb->len; in unix_release_sock()
1500 UNIXCB(skb).pid = get_pid(scm->pid); in unix_scm_to_skb()
1501 UNIXCB(skb).uid = scm->creds.uid; in unix_scm_to_skb()
1502 UNIXCB(skb).gid = scm->creds.gid; in unix_scm_to_skb()
1503 UNIXCB(skb).fp = NULL; in unix_scm_to_skb()
1528 if (UNIXCB(skb).pid) in maybe_add_creds()
1531 UNIXCB(skb).pid = get_pid(task_tgid(current)); 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-v5.4/include/net/
Daf_unix.h44 #define UNIXCB(skb) (*(struct unix_skb_parms *)&((skb)->cb)) macro
/Linux-v5.4/fs/
Dio_uring.c3050 UNIXCB(skb).fp = fpl; in __io_sqe_files_scm()