tag | line | file | source code |
protinfo | 189 | include/net/sock.h | } protinfo; |
protinfo | 109 | net/unix/af_unix.c | if(s->protinfo.af_unix.inode==i) |
protinfo | 127 | net/unix/af_unix.c | if(sk->protinfo.af_unix.locks==0 && sk->wmem_alloc==0) |
protinfo | 129 | net/unix/af_unix.c | if(sk->protinfo.af_unix.name) |
protinfo | 130 | net/unix/af_unix.c | kfree(sk->protinfo.af_unix.name); |
protinfo | 174 | net/unix/af_unix.c | if(sk->protinfo.af_unix.inode!=NULL) |
protinfo | 176 | net/unix/af_unix.c | iput(sk->protinfo.af_unix.inode); |
protinfo | 177 | net/unix/af_unix.c | sk->protinfo.af_unix.inode=NULL; |
protinfo | 180 | net/unix/af_unix.c | if(--sk->protinfo.af_unix.locks==0 && sk->wmem_alloc==0) |
protinfo | 182 | net/unix/af_unix.c | if(sk->protinfo.af_unix.name) |
protinfo | 183 | net/unix/af_unix.c | kfree(sk->protinfo.af_unix.name); |
protinfo | 280 | net/unix/af_unix.c | sk->protinfo.af_unix.family=AF_UNIX; |
protinfo | 281 | net/unix/af_unix.c | sk->protinfo.af_unix.inode=NULL; |
protinfo | 282 | net/unix/af_unix.c | sk->protinfo.af_unix.locks=1; /* Us */ |
protinfo | 283 | net/unix/af_unix.c | sk->protinfo.af_unix.readsem=MUTEX; /* single task reading lock */ |
protinfo | 284 | net/unix/af_unix.c | sk->protinfo.af_unix.name=NULL; |
protinfo | 285 | net/unix/af_unix.c | sk->protinfo.af_unix.other=NULL; |
protinfo | 335 | net/unix/af_unix.c | skpair=(unix_socket *)sk->protinfo.af_unix.other; /* Person we send to (default) */ |
protinfo | 342 | net/unix/af_unix.c | skpair->protinfo.af_unix.locks--; /* It may now die */ |
protinfo | 343 | net/unix/af_unix.c | sk->protinfo.af_unix.other=NULL; /* No pair */ |
protinfo | 389 | net/unix/af_unix.c | if(sk->protinfo.af_unix.inode!=NULL) |
protinfo | 392 | net/unix/af_unix.c | sk->protinfo.af_unix.name=kmalloc(addr_len+1, GFP_KERNEL); |
protinfo | 393 | net/unix/af_unix.c | if(sk->protinfo.af_unix.name==NULL) |
protinfo | 395 | net/unix/af_unix.c | memcpy(sk->protinfo.af_unix.name, sun->sun_path, addr_len+1); |
protinfo | 400 | net/unix/af_unix.c | err=do_mknod(sk->protinfo.af_unix.name,S_IFSOCK|S_IRWXUGO,0); |
protinfo | 402 | net/unix/af_unix.c | err=open_namei(sk->protinfo.af_unix.name, 2, S_IFSOCK, &sk->protinfo.af_unix.inode, NULL); |
protinfo | 408 | net/unix/af_unix.c | kfree_s(sk->protinfo.af_unix.name,addr_len+1); |
protinfo | 409 | net/unix/af_unix.c | sk->protinfo.af_unix.name=NULL; |
protinfo | 428 | net/unix/af_unix.c | if(sk->type==SOCK_STREAM && sk->protinfo.af_unix.other) |
protinfo | 450 | net/unix/af_unix.c | if(sk->type==SOCK_DGRAM && sk->protinfo.af_unix.other) |
protinfo | 452 | net/unix/af_unix.c | sk->protinfo.af_unix.other->protinfo.af_unix.locks--; |
protinfo | 453 | net/unix/af_unix.c | sk->protinfo.af_unix.other=NULL; |
protinfo | 462 | net/unix/af_unix.c | other->protinfo.af_unix.locks++; |
protinfo | 463 | net/unix/af_unix.c | sk->protinfo.af_unix.other=other; |
protinfo | 489 | net/unix/af_unix.c | other->protinfo.af_unix.locks++; /* Lock the other socket so it doesn't run off for a moment */ |
protinfo | 491 | net/unix/af_unix.c | sk->protinfo.af_unix.other=other; |
protinfo | 524 | net/unix/af_unix.c | sk->protinfo.af_unix.other->protinfo.af_unix.locks--; |
protinfo | 525 | net/unix/af_unix.c | sk->protinfo.af_unix.other=NULL; |
protinfo | 561 | net/unix/af_unix.c | ska->protinfo.af_unix.locks++; |
protinfo | 562 | net/unix/af_unix.c | skb->protinfo.af_unix.locks++; |
protinfo | 563 | net/unix/af_unix.c | ska->protinfo.af_unix.other=skb; |
protinfo | 564 | net/unix/af_unix.c | skb->protinfo.af_unix.other=ska; |
protinfo | 586 | net/unix/af_unix.c | if(sk->protinfo.af_unix.name!=NULL) |
protinfo | 588 | net/unix/af_unix.c | newsk->protinfo.af_unix.name=kmalloc(strlen(sk->protinfo.af_unix.name)+1, GFP_KERNEL); |
protinfo | 589 | net/unix/af_unix.c | if(newsk->protinfo.af_unix.name==NULL) |
protinfo | 591 | net/unix/af_unix.c | strcpy(newsk->protinfo.af_unix.name, sk->protinfo.af_unix.name); |
protinfo | 618 | net/unix/af_unix.c | newsk->protinfo.af_unix.other=tsk; |
protinfo | 619 | net/unix/af_unix.c | tsk->protinfo.af_unix.other=newsk; |
protinfo | 622 | net/unix/af_unix.c | newsk->protinfo.af_unix.locks++; /* Swap lock over */ |
protinfo | 623 | net/unix/af_unix.c | sk->protinfo.af_unix.locks--; /* Locked to child socket not master */ |
protinfo | 624 | net/unix/af_unix.c | tsk->protinfo.af_unix.locks++; /* Back lock */ |
protinfo | 638 | net/unix/af_unix.c | if(sk->protinfo.af_unix.other==NULL) |
protinfo | 640 | net/unix/af_unix.c | sk=sk->protinfo.af_unix.other; |
protinfo | 643 | net/unix/af_unix.c | if(sk->protinfo.af_unix.name==NULL) |
protinfo | 649 | net/unix/af_unix.c | *uaddr_len=sizeof(sun->sun_family)+strlen(sk->protinfo.af_unix.name)+1; |
protinfo | 650 | net/unix/af_unix.c | strcpy(sun->sun_path,sk->protinfo.af_unix.name); /* 108 byte limited */ |
protinfo | 688 | net/unix/af_unix.c | if(sk->protinfo.af_unix.other==NULL) |
protinfo | 744 | net/unix/af_unix.c | other=sk->protinfo.af_unix.other; |
protinfo | 747 | net/unix/af_unix.c | other->protinfo.af_unix.locks--; |
protinfo | 748 | net/unix/af_unix.c | sk->protinfo.af_unix.other=NULL; |
protinfo | 805 | net/unix/af_unix.c | down(&sk->protinfo.af_unix.readsem); /* Lock the socket */ |
protinfo | 819 | net/unix/af_unix.c | up(&sk->protinfo.af_unix.readsem); |
protinfo | 826 | net/unix/af_unix.c | up(&sk->protinfo.af_unix.readsem); |
protinfo | 853 | net/unix/af_unix.c | down(&sk->protinfo.af_unix.readsem); |
protinfo | 859 | net/unix/af_unix.c | if(skb->sk->protinfo.af_unix.name) |
protinfo | 861 | net/unix/af_unix.c | memcpy(sun->sun_path, skb->sk->protinfo.af_unix.name, 108); |
protinfo | 893 | net/unix/af_unix.c | up(&sk->protinfo.af_unix.readsem); |
protinfo | 900 | net/unix/af_unix.c | unix_socket *other=sk->protinfo.af_unix.other; |
protinfo | 911 | net/unix/af_unix.c | other=sk->protinfo.af_unix.other; |
protinfo | 982 | net/unix/af_unix.c | s->protinfo.af_unix.locks, |
protinfo | 987 | net/unix/af_unix.c | if(s->protinfo.af_unix.name!=NULL) |
protinfo | 988 | net/unix/af_unix.c | len+=sprintf(buffer+len, " %s\n", s->protinfo.af_unix.name); |