Searched defs:nbd (Results 1 - 3 of 3) sorted by relevance

/drivers/block/
H A Dnbd.c39 #include <linux/nbd.h>
118 static void sock_shutdown(struct nbd_device *nbd, int lock) argument
127 mutex_lock(&nbd->tx_lock);
128 if (nbd->sock) {
129 dev_warn(disk_to_dev(nbd->disk), "shutting down socket\n");
130 kernel_sock_shutdown(nbd->sock, SHUT_RDWR);
131 nbd->sock = NULL;
134 mutex_unlock(&nbd->tx_lock);
141 printk(KERN_WARNING "nbd: killing hung xmit (%s, pid: %d)\n",
149 static int sock_xmit(struct nbd_device *nbd, in argument
221 sock_send_bvec(struct nbd_device *nbd, struct bio_vec *bvec, int flags) argument
233 nbd_send_req(struct nbd_device *nbd, struct request *req) argument
286 nbd_find_request(struct nbd_device *nbd, struct request *xreq) argument
312 sock_recv_bvec(struct nbd_device *nbd, struct bio_vec *bvec) argument
323 nbd_read_stat(struct nbd_device *nbd) argument
401 nbd_do_it(struct nbd_device *nbd) argument
424 nbd_clear_que(struct nbd_device *nbd) argument
451 nbd_handle_req(struct nbd_device *nbd, struct request *req) argument
501 struct nbd_device *nbd = data; local
539 struct nbd_device *nbd; local
571 __nbd_ioctl(struct block_device *bdev, struct nbd_device *nbd, unsigned int cmd, unsigned long arg) argument
708 struct nbd_device *nbd = bdev->bd_disk->private_data; local
[all...]
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c73 int nbd; local
87 nbd = le16_to_cpu(tx_start_bd->nbd) - 1;
89 if ((nbd - 1) > (MAX_SKB_FRAGS + 2)) {
90 BNX2X_ERR("BAD nbd!\n");
94 new_cons = nbd + tx_buf->first_bd;
100 --nbd;
105 --nbd;
110 while (nbd > 0) {
115 if (--nbd)
2353 bnx2x_tx_split(struct bnx2x *bp, struct bnx2x_fp_txdata *txdata, struct sw_tx_bd *tx_buf, struct eth_tx_start_bd **tx_bd, u16 hlen, u16 bd_prod, int nbd) argument
2680 int nbd, txq_index, fp_index, txdata_index; local
[all...]
H A Dbnx2x_hsi.h4033 __le16 nbd; member in struct:eth_tx_start_bd

Completed in 134 milliseconds