Searched refs:osk (Results 1 – 7 of 7) sorted by relevance
908 struct sock *ax25_make_new(struct sock *osk, struct ax25_dev *ax25_dev) in ax25_make_new() argument921 switch (osk->type) { in ax25_make_new()935 sk->type = osk->type; in ax25_make_new()936 sk->socket = osk->socket; in ax25_make_new()937 sk->priority = osk->priority; in ax25_make_new()938 sk->protocol = osk->protocol; in ax25_make_new()939 sk->rcvbuf = osk->rcvbuf; in ax25_make_new()940 sk->sndbuf = osk->sndbuf; in ax25_make_new()941 sk->debug = osk->debug; in ax25_make_new()943 sk->sleep = osk->sleep; in ax25_make_new()[all …]
505 static struct sock *nr_make_new(struct sock *osk) in nr_make_new() argument510 if (osk->type != SOCK_SEQPACKET) in nr_make_new()520 sk->type = osk->type; in nr_make_new()521 sk->socket = osk->socket; in nr_make_new()522 sk->priority = osk->priority; in nr_make_new()523 sk->protocol = osk->protocol; in nr_make_new()524 sk->rcvbuf = osk->rcvbuf; in nr_make_new()525 sk->sndbuf = osk->sndbuf; in nr_make_new()526 sk->debug = osk->debug; in nr_make_new()528 sk->sleep = osk->sleep; in nr_make_new()[all …]
502 static struct sock *x25_make_new(struct sock *osk) in x25_make_new() argument507 if (osk->type != SOCK_SEQPACKET) in x25_make_new()515 sk->type = osk->type; in x25_make_new()516 sk->socket = osk->socket; in x25_make_new()517 sk->priority = osk->priority; in x25_make_new()518 sk->protocol = osk->protocol; in x25_make_new()519 sk->rcvbuf = osk->rcvbuf; in x25_make_new()520 sk->sndbuf = osk->sndbuf; in x25_make_new()521 sk->debug = osk->debug; in x25_make_new()523 sk->sleep = osk->sleep; in x25_make_new()[all …]
580 static struct sock *rose_make_new(struct sock *osk) in rose_make_new() argument585 if (osk->type != SOCK_SEQPACKET) in rose_make_new()601 sk->type = osk->type; in rose_make_new()602 sk->socket = osk->socket; in rose_make_new()603 sk->priority = osk->priority; in rose_make_new()604 sk->protocol = osk->protocol; in rose_make_new()605 sk->rcvbuf = osk->rcvbuf; in rose_make_new()606 sk->sndbuf = osk->sndbuf; in rose_make_new()607 sk->debug = osk->debug; in rose_make_new()609 sk->sleep = osk->sleep; in rose_make_new()[all …]
289 struct sock *osk; in netlink_insert() local295 for (osk = *head; osk; osk = osk->next) { in netlink_insert()296 if (osk->protinfo.af_netlink->pid == pid) in netlink_insert()300 if (osk) in netlink_insert()430 struct sock *osk; in netlink_autobind() local438 for (osk = *nl_pid_hashfn(hash, pid); osk; osk = osk->next) { in netlink_autobind()439 if (osk->protinfo.af_netlink->pid == pid) { in netlink_autobind()
458 static struct sock *wanpipe_make_new(struct sock *osk) in wanpipe_make_new() argument462 if (osk->type != SOCK_RAW) in wanpipe_make_new()468 sk->type = osk->type; in wanpipe_make_new()469 sk->socket = osk->socket; in wanpipe_make_new()470 sk->priority = osk->priority; in wanpipe_make_new()471 sk->protocol = osk->protocol; in wanpipe_make_new()472 sk->num = osk->num; in wanpipe_make_new()473 sk->rcvbuf = osk->rcvbuf; in wanpipe_make_new()474 sk->sndbuf = osk->sndbuf; in wanpipe_make_new()475 sk->debug = osk->debug; in wanpipe_make_new()[all …]
140 static inline int unix_our_peer(unix_socket *sk, unix_socket *osk) in unix_our_peer() argument142 return unix_peer(osk) == sk; in unix_our_peer()145 static inline int unix_may_send(unix_socket *sk, unix_socket *osk) in unix_may_send() argument147 return (unix_peer(osk) == NULL || unix_our_peer(sk, osk)); in unix_may_send()