tag | line | file | source code |
fpnum | 873 | net/unix/af_unix.c | static void unix_attach_fds(int fpnum,struct file **fp,struct sk_buff *skb) |
fpnum | 876 | net/unix/af_unix.c | skb->h.filp=kmalloc(sizeof(int)+fpnum*sizeof(struct file *), |
fpnum | 879 | net/unix/af_unix.c | memcpy(skb->h.filp,&fpnum,sizeof(int)); |
fpnum | 881 | net/unix/af_unix.c | memcpy(skb->h.filp+sizeof(int),fp,fpnum*sizeof(struct file *)); |
fpnum | 902 | net/unix/af_unix.c | int fpnum=0; |
fpnum | 946 | net/unix/af_unix.c | fpnum=unix_fd_copy(sk,cm,fp); |
fpnum | 948 | net/unix/af_unix.c | if(fpnum<0) { |
fpnum | 949 | net/unix/af_unix.c | return fpnum; |
fpnum | 966 | net/unix/af_unix.c | unix_fd_free(sk,fp,fpnum); |
fpnum | 990 | net/unix/af_unix.c | unix_fd_free(sk,fp,fpnum); |
fpnum | 1003 | net/unix/af_unix.c | if(fpnum) |
fpnum | 1005 | net/unix/af_unix.c | unix_attach_fds(fpnum,fp,skb); |
fpnum | 1006 | net/unix/af_unix.c | fpnum=0; |