Home
last modified time | relevance | path

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

/Linux-v5.10/net/unix/
Dscm.c116 UNIXCB(skb).fp = scm_fp_dup(scm->fp); in unix_attach_fds()
117 if (!UNIXCB(skb).fp) in unix_attach_fds()
130 scm->fp = UNIXCB(skb).fp; in unix_detach_fds()
131 UNIXCB(skb).fp = NULL; in unix_detach_fds()
143 scm.pid = UNIXCB(skb).pid; in unix_destruct_scm()
144 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()
567 UNIXCB(skb).consumed = skb->len; in unix_release_sock()
1527 UNIXCB(skb).pid = get_pid(scm->pid); in unix_scm_to_skb()
1528 UNIXCB(skb).uid = scm->creds.uid; in unix_scm_to_skb()
1529 UNIXCB(skb).gid = scm->creds.gid; in unix_scm_to_skb()
1530 UNIXCB(skb).fp = NULL; in unix_scm_to_skb()
1555 if (UNIXCB(skb).pid) in maybe_add_creds()
1558 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.10/include/net/
Daf_unix.h48 #define UNIXCB(skb) (*(struct unix_skb_parms *)&((skb)->cb)) macro
/Linux-v5.10/fs/
Dio_uring.c7163 UNIXCB(skb).fp = fpl; in __io_sqe_files_scm()
7265 fp = UNIXCB(skb).fp; in io_ring_file_put()
7535 struct scm_fp_list *fpl = UNIXCB(skb).fp; in io_sqe_file_register()