tag | line | file | source code |
rsock | 72 | fs/nfs/inode.c | rpc_closesock(sb->u.nfs_sb.s_server.rsock); |
rsock | 177 | fs/nfs/inode.c | if ((server->rsock = rpc_makesock(filp)) == NULL) { |
rsock | 1503 | fs/nfs/nfsroot.c | s.rsock = rpc_makesock(nfs_file); |
rsock | 48 | fs/nfs/rpcsock.c | rpc_insque(struct rpc_sock *rsock, struct rpc_wait *slot) |
rsock | 52 | fs/nfs/rpcsock.c | if ((tmp = rsock->tail) != NULL) { |
rsock | 55 | fs/nfs/rpcsock.c | rsock->head = slot; |
rsock | 57 | fs/nfs/rpcsock.c | rsock->tail = slot; |
rsock | 62 | fs/nfs/rpcsock.c | (long) rsock->head, (long) rsock->tail)); |
rsock | 66 | fs/nfs/rpcsock.c | rpc_remque(struct rpc_sock *rsock, struct rpc_wait *slot) |
rsock | 74 | fs/nfs/rpcsock.c | rsock->head = next; |
rsock | 78 | fs/nfs/rpcsock.c | rsock->tail = prev; |
rsock | 81 | fs/nfs/rpcsock.c | (long) rsock->head, (long) rsock->tail)); |
rsock | 85 | fs/nfs/rpcsock.c | rpc_sendmsg(struct rpc_sock *rsock, struct msghdr *msg, int len) |
rsock | 87 | fs/nfs/rpcsock.c | struct socket *sock = rsock->sock; |
rsock | 106 | fs/nfs/rpcsock.c | rpc_select(struct rpc_sock *rsock) |
rsock | 109 | fs/nfs/rpcsock.c | struct file *file = rsock->file; |
rsock | 133 | fs/nfs/rpcsock.c | rpc_recvmsg(struct rpc_sock *rsock, struct msghdr *msg, int len,int flags) |
rsock | 135 | fs/nfs/rpcsock.c | struct socket *sock = rsock->sock; |
rsock | 162 | fs/nfs/rpcsock.c | rpc_call_one(struct rpc_sock *rsock, struct rpc_wait *slot, |
rsock | 184 | fs/nfs/rpcsock.c | (long) rsock, (long) slot, (long) sap, |
rsock | 187 | fs/nfs/rpcsock.c | result = rpc_sendmsg(rsock, &msg, slen); |
rsock | 193 | fs/nfs/rpcsock.c | if (rsock->head != slot) { |
rsock | 199 | fs/nfs/rpcsock.c | if (rsock->shutdown) { |
rsock | 207 | fs/nfs/rpcsock.c | result = rpc_select(rsock); |
rsock | 216 | fs/nfs/rpcsock.c | result = rpc_recvmsg(rsock, &msg, sizeof(xid), MSG_PEEK); |
rsock | 230 | fs/nfs/rpcsock.c | for (rovr = rsock->head; rovr; rovr = rovr->next) { |
rsock | 245 | fs/nfs/rpcsock.c | rpc_recvmsg(rsock, &msg, sizeof(xid),0); |
rsock | 255 | fs/nfs/rpcsock.c | result = rpc_recvmsg(rsock, &msg, rovr->len, 0); |
rsock | 267 | fs/nfs/rpcsock.c | if (rsock->head == slot && slot->next != NULL) |
rsock | 277 | fs/nfs/rpcsock.c | rpc_call(struct rpc_sock *rsock, struct sockaddr *sap, int addrlen, |
rsock | 293 | fs/nfs/rpcsock.c | while ((slot = rsock->free) == NULL) { |
rsock | 298 | fs/nfs/rpcsock.c | interruptible_sleep_on(&rsock->backlog); |
rsock | 303 | fs/nfs/rpcsock.c | if (rsock->shutdown) { |
rsock | 314 | fs/nfs/rpcsock.c | rsock->free = slot->next; |
rsock | 315 | fs/nfs/rpcsock.c | rpc_insque(rsock, slot); |
rsock | 319 | fs/nfs/rpcsock.c | result = rpc_call_one(rsock, slot, sap, addrlen, |
rsock | 341 | fs/nfs/rpcsock.c | rpc_remque(rsock, slot); |
rsock | 342 | fs/nfs/rpcsock.c | slot->next = rsock->free; |
rsock | 343 | fs/nfs/rpcsock.c | rsock->free = slot; |
rsock | 347 | fs/nfs/rpcsock.c | if (rsock->backlog) |
rsock | 348 | fs/nfs/rpcsock.c | wake_up(&rsock->backlog); |
rsock | 351 | fs/nfs/rpcsock.c | if (rsock->shutdown) |
rsock | 352 | fs/nfs/rpcsock.c | wake_up(&rsock->shutwait); |
rsock | 360 | fs/nfs/rpcsock.c | struct rpc_sock *rsock; |
rsock | 365 | fs/nfs/rpcsock.c | if ((rsock = kmalloc(sizeof(struct rpc_sock), GFP_KERNEL)) == NULL) |
rsock | 367 | fs/nfs/rpcsock.c | memset(rsock, 0, sizeof(*rsock)); /* Nnnngh! */ |
rsock | 369 | fs/nfs/rpcsock.c | rsock->sock = &file->f_inode->u.socket_i; |
rsock | 370 | fs/nfs/rpcsock.c | rsock->file = file; |
rsock | 372 | fs/nfs/rpcsock.c | rsock->free = rsock->waiting; |
rsock | 373 | fs/nfs/rpcsock.c | for (i = 0, slot = rsock->waiting; i < NRREQS-1; i++, slot++) |
rsock | 385 | fs/nfs/rpcsock.c | dprintk(("RPC: made socket %08lx", (long) rsock)); |
rsock | 386 | fs/nfs/rpcsock.c | return rsock; |
rsock | 390 | fs/nfs/rpcsock.c | rpc_closesock(struct rpc_sock *rsock) |
rsock | 394 | fs/nfs/rpcsock.c | rsock->shutdown = 1; |
rsock | 395 | fs/nfs/rpcsock.c | while (rsock->head || rsock->backlog) { |
rsock | 396 | fs/nfs/rpcsock.c | interruptible_sleep_on(&rsock->shutwait); |
rsock | 407 | fs/nfs/rpcsock.c | kfree(rsock); |
rsock | 74 | fs/nfs/sock.c | result = rpc_call(server->rsock, |
rsock | 9 | include/linux/nfs_fs_sb.h | struct rpc_sock *rsock; |