Home
last modified time | relevance | path

Searched refs:nbd (Results 1 – 16 of 16) sorted by relevance

/linux-3.4.99/drivers/block/
Dnbd.c118 static void sock_shutdown(struct nbd_device *nbd, int lock) in sock_shutdown() argument
127 mutex_lock(&nbd->tx_lock); in sock_shutdown()
128 if (nbd->sock) { in sock_shutdown()
129 dev_warn(disk_to_dev(nbd->disk), "shutting down socket\n"); in sock_shutdown()
130 kernel_sock_shutdown(nbd->sock, SHUT_RDWR); in sock_shutdown()
131 nbd->sock = NULL; in sock_shutdown()
134 mutex_unlock(&nbd->tx_lock); in sock_shutdown()
149 static int sock_xmit(struct nbd_device *nbd, int send, void *buf, int size, in sock_xmit() argument
152 struct socket *sock = nbd->sock; in sock_xmit()
159 dev_err(disk_to_dev(nbd->disk), in sock_xmit()
[all …]
DMakefile30 obj-$(CONFIG_BLK_DEV_NBD) += nbd.o
DKconfig308 Read <file:Documentation/blockdev/nbd.txt> for more information,
316 module will be called nbd.
/linux-3.4.99/Documentation/blockdev/
Dnbd.txt21 For more information, or to download the nbd-client and nbd-server
22 tools, go to http://nbd.sf.net/.
24 Howto: To setup nbd, you can simply do the following:
28 nbd-server <port-number> <device-or-file-to-serve-to-client>
31 root@server1 # nbd-server 1234 /dev/sdb1
37 nbd-client <server-name-or-IP> <server-port-number> /dev/nb[0-n]
40 root@client1 # nbd-client server1 1234 /dev/nb0
44 The nbd kernel module need only be installed on the client
45 system, as the nbd-server is completely in userspace. In fact,
46 the nbd-server has been successfully ported to other operating
D00-INDEX13 nbd.txt
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_cmn.c73 int nbd; in bnx2x_free_tx_pkt() local
85 nbd = le16_to_cpu(tx_start_bd->nbd) - 1; in bnx2x_free_tx_pkt()
87 if ((nbd - 1) > (MAX_SKB_FRAGS + 2)) { in bnx2x_free_tx_pkt()
92 new_cons = nbd + tx_buf->first_bd; in bnx2x_free_tx_pkt()
98 --nbd; in bnx2x_free_tx_pkt()
105 --nbd; in bnx2x_free_tx_pkt()
115 while (nbd > 0) { in bnx2x_free_tx_pkt()
120 if (--nbd) in bnx2x_free_tx_pkt()
2365 u16 bd_prod, int nbd) in bnx2x_tx_split() argument
2373 h_tx_bd->nbd = cpu_to_le16(nbd); in bnx2x_tx_split()
[all …]
Dbnx2x_ethtool.c1911 tx_start_bd->nbd = cpu_to_le16(2); /* start + pbd */ in bnx2x_run_loopback()
Dbnx2x_hsi.h4033 __le16 nbd; member
/linux-3.4.99/Documentation/zh_CN/
Dmagic-number.txt104 NBD_REQUEST_MAGIC 0x12560953 nbd_request include/linux/nbd.h
142 LO_MAGIC 0x68797548 nbd_device include/linux/nbd.h
149 NBD_REPLY_MAGIC 0x96744668 nbd_reply include/linux/nbd.h
/linux-3.4.99/Documentation/
Dmagic-number.txt104 NBD_REQUEST_MAGIC 0x12560953 nbd_request include/linux/nbd.h
142 LO_MAGIC 0x68797548 nbd_device include/linux/nbd.h
149 NBD_REPLY_MAGIC 0x96744668 nbd_reply include/linux/nbd.h
/linux-3.4.99/arch/sparc/kernel/
Dleon_pci_grpci2.c145 unsigned int nbd; /* 0x08 Next Data Descriptor in chan */ member
/linux-3.4.99/include/linux/
DKbuild257 header-y += nbd.h
/linux-3.4.99/Documentation/ioctl/
Dioctl-number.txt302 0xAB 00-1F linux/nbd.h
/linux-3.4.99/drivers/net/ethernet/broadcom/
Dcnic.c4831 start_bd->nbd = cpu_to_le16(3); in cnic_init_bnx2x_tx_ring()
/linux-3.4.99/
DMAINTAINERS4622 F: Documentation/blockdev/nbd.txt
4623 F: drivers/block/nbd.c
4624 F: include/linux/nbd.h
DCREDITS2206 D: Softcursor for vga, hypertech cdrom support, vcsa bugfix, nbd