Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/net/ethernet/i825xx/
Dlib82596.c241 u32 rbd; member
410 struct i596_rbd *rbd; in i596_display_data() local
441 SWAP32(rfd->b_next), SWAP32(rfd->rbd), in i596_display_data()
445 rbd = lp->rbd_head; in i596_display_data()
446 printk(KERN_DEBUG "rbd_head = %p\n", rbd); in i596_display_data()
451 rbd, SWAP16(rbd->count), SWAP32(rbd->b_next), in i596_display_data()
452 SWAP32(rbd->b_data), SWAP16(rbd->size)); in i596_display_data()
453 rbd = rbd->v_next; in i596_display_data()
454 } while (rbd != lp->rbd_head); in i596_display_data()
467 struct i596_rbd *rbd; in init_rx_bufs() local
[all …]
D82596.c264 struct i596_rbd *rbd; member
463 struct i596_rbd *rbd; in i596_display_data() local
488 rfd, rfd->stat, rfd->cmd, rfd->b_next, rfd->rbd, in i596_display_data()
492 rbd = lp->rbd_head; in i596_display_data()
493 printk(KERN_ERR "rbd_head = %p\n", rbd); in i596_display_data()
496 rbd, rbd->count, rbd->b_next, rbd->b_data, rbd->size); in i596_display_data()
497 rbd = rbd->v_next; in i596_display_data()
498 } while (rbd != lp->rbd_head); in i596_display_data()
531 struct i596_rbd *rbd; in remove_rx_bufs() local
534 for (i = 0, rbd = lp->rbds; i < rx_ring_size; i++, rbd++) { in remove_rx_bufs()
[all …]
Dsun3_82586.c642 volatile struct rbd_struct *rbd; in alloc_rfa() local
657 rbd = (struct rbd_struct *) ptr; in alloc_rfa()
658 ptr = (void *) (rbd + p->num_recv_buffs); in alloc_rfa()
661 memset((char *) rbd,0,sizeof(struct rbd_struct)*(p->num_recv_buffs)); in alloc_rfa()
665 rbd[i].next = make16((rbd + (i+1) % p->num_recv_buffs)); in alloc_rfa()
666 rbd[i].size = swab16(RECV_BUFF_SIZE); in alloc_rfa()
667 rbd[i].buffer = make24(ptr); in alloc_rfa()
675 p->rfd_first->rbd_offset = make16(rbd); in alloc_rfa()
765 struct rbd_struct *rbd; in sun3_82586_rcv_int() local
773 rbd = (struct rbd_struct *) make32(p->rfd_top->rbd_offset); in sun3_82586_rcv_int()
[all …]
Dlp486e.c439 rbd = kmalloc(sizeof(struct i596_rbd), GFP_KERNEL); in init_rx_bufs()
440 if (rbd) { in init_rx_bufs()
441 rbd->pad = 0; in init_rx_bufs()
442 rbd->count = 0; in init_rx_bufs()
443 rbd->skb = dev_alloc_skb(RX_SKBSIZE); in init_rx_bufs()
444 if (!rbd->skb) { in init_rx_bufs()
447 rbd->next = rfd->rbd; in init_rx_bufs()
449 rfd->rbd->prev = rbd; in init_rx_bufs()
450 rbd->size = RX_SKBSIZE; in init_rx_bufs()
452 rbd->size = (RX_SKBSIZE | RBD_EL); in init_rx_bufs()
[all …]
Dni52.c831 struct rbd_struct __iomem *rbd; in alloc_rfa() local
849 rbd = ptr; in alloc_rfa()
850 ptr = rbd + p->num_recv_buffs; in alloc_rfa()
853 memset_io(rbd, 0, sizeof(struct rbd_struct) * (p->num_recv_buffs)); in alloc_rfa()
856 writew(make16(rbd + (i+1) % p->num_recv_buffs), &rbd[i].next); in alloc_rfa()
857 writew(RECV_BUFF_SIZE, &rbd[i].size); in alloc_rfa()
858 writel(make24(ptr), &rbd[i].buffer); in alloc_rfa()
865 writew(make16(rbd), &p->rfd_first->rbd_offset); in alloc_rfa()
953 struct rbd_struct __iomem *rbd; in ni52_rcv_int() local
960 rbd = make32(readw(&p->rfd_top->rbd_offset)); in ni52_rcv_int()
[all …]
D3c523.c856 volatile struct rbd_struct *rbd; in alloc_rfa() local
870 rbd = (struct rbd_struct *) ptr; in alloc_rfa()
871 ptr = (void *) (rbd + p->num_recv_buffs); in alloc_rfa()
874 memset((char *) rbd, 0, sizeof(struct rbd_struct) * p->num_recv_buffs); in alloc_rfa()
877 rbd[i].next = make16((rbd + (i + 1) % p->num_recv_buffs)); in alloc_rfa()
878 rbd[i].size = RECV_BUFF_SIZE; in alloc_rfa()
879 rbd[i].buffer = make24(ptr); in alloc_rfa()
887 p->rfd_first->rbd_offset = make16(rbd); in alloc_rfa()
976 struct rbd_struct *rbd; in elmc_rcv_int() local
980 rbd = (struct rbd_struct *) make32(p->rfd_top->rbd_offset); in elmc_rcv_int()
[all …]
Dether1.c854 rbd_t rbd; in ether1_recv_done() local
862 ether1_readbuffer (dev, &rbd, rbdaddr, RBD_SIZE); in ether1_recv_done()
864 if ((rbd.rbd_status & (RBD_EOF | RBD_ACNTVALID)) == (RBD_EOF | RBD_ACNTVALID)) { in ether1_recv_done()
865 int length = rbd.rbd_status & RBD_ACNT; in ether1_recv_done()
874 ether1_readbuffer (dev, skb_put (skb, length), rbd.rbd_bufl, length); in ether1_recv_done()
883 (rbd.rbd_status & RBD_EOF) ? "oversized packet" : "acnt not valid"); in ether1_recv_done()
Deexpress.c826 printk(KERN_WARNING "%s: rbd is %04x\n", dev->name, rbd= inw(ioaddr+DATAPORT)); in eexp_irq()
827 outw(rbd, ioaddr+READ_PTR); in eexp_irq()
829 outw(rbd+8, ioaddr+READ_PTR); in eexp_irq()
/linux-3.4.99/Documentation/ABI/testing/
Dsysfs-bus-rbd1 What: /sys/bus/rbd/
7 Being used for adding and removing rbd block devices.
9 Usage: <mon ip addr> <options> <pool name> <rbd image name> [snap name]
11 $ echo "192.168.0.1 name=admin rbd foo" > /sys/bus/rbd/add
19 $ echo <dev-id> > /sys/bus/rbd/remove
21 Entries under /sys/bus/rbd/devices/<dev-id>/
34 The name of the rbd image.
38 The pool where this rbd image resides. The pool-name pair is unique
59 Entries under /sys/bus/rbd/devices/<dev-id>/snap_<snap-name>
/linux-3.4.99/arch/m68k/include/asm/
Dquicc_simple.h26 typedef void (handle_rx_error_routine)(int scc_num, int channel_num, QUICC_BD *rbd);
/linux-3.4.99/drivers/block/
DMakefile42 obj-$(CONFIG_BLK_DEV_RBD) += rbd.o
/linux-3.4.99/net/ceph/
DKconfig12 to the rados block device (rbd).
/linux-3.4.99/drivers/atm/
Dfore200e.h187 typedef struct rbd { struct
196 struct rbd rbd[ RBD_BLK_SIZE ]; /* receive buffer descriptor */ argument
Dfore200e.c1034 entry->rbd_block->rbd[ i ].buffer_haddr = buffer->data.dma_addr; in fore200e_supply()
1035 entry->rbd_block->rbd[ i ].handle = FORE200E_BUF2HDL(buffer); in fore200e_supply()
/linux-3.4.99/drivers/net/ethernet/intel/
De100.c439 __le32 rbd; member
1083 nic->blank_rfd.rbd = cpu_to_le32(0xFFFFFFFF); in e100_get_defaults()
/linux-3.4.99/
DMAINTAINERS5534 F: drivers/block/rbd.c