Home
last modified time | relevance | path

Searched refs:nentries (Results 1 – 11 of 11) sorted by relevance

/drivers/misc/sgi-xp/
Dxp_main.c155 u16 nentries, u32 assigned_limit, u32 idle_limit) in xpc_connect() argument
160 DBUG_ON(payload_size == 0 || nentries == 0); in xpc_connect()
180 registration->nentries = nentries; in xpc_connect()
232 registration->nentries = 0; in xpc_disconnect()
Dxpc_uv.c968 int nentries; in xpc_allocate_send_msg_slot_uv() local
972 for (nentries = ch->local_nentries; nentries > 0; nentries--) { in xpc_allocate_send_msg_slot_uv()
973 nbytes = nentries * sizeof(struct xpc_send_msg_slot_uv); in xpc_allocate_send_msg_slot_uv()
978 for (entry = 0; entry < nentries; entry++) { in xpc_allocate_send_msg_slot_uv()
987 if (nentries < ch->local_nentries) in xpc_allocate_send_msg_slot_uv()
988 ch->local_nentries = nentries; in xpc_allocate_send_msg_slot_uv()
1002 int nentries; in xpc_allocate_recv_msg_slot_uv() local
1006 for (nentries = ch->remote_nentries; nentries > 0; nentries--) { in xpc_allocate_recv_msg_slot_uv()
1007 nbytes = nentries * ch->entry_size; in xpc_allocate_recv_msg_slot_uv()
1012 for (entry = 0; entry < nentries; entry++) { in xpc_allocate_recv_msg_slot_uv()
[all …]
Dxpc_sn2.c1522 int nentries; in xpc_allocate_local_msgqueue_sn2() local
1525 for (nentries = ch->local_nentries; nentries > 0; nentries--) { in xpc_allocate_local_msgqueue_sn2()
1527 nbytes = nentries * ch->entry_size; in xpc_allocate_local_msgqueue_sn2()
1534 nbytes = nentries * sizeof(struct xpc_notify_sn2); in xpc_allocate_local_msgqueue_sn2()
1543 if (nentries < ch->local_nentries) { in xpc_allocate_local_msgqueue_sn2()
1545 "partid=%d, channel=%d\n", nentries, in xpc_allocate_local_msgqueue_sn2()
1548 ch->local_nentries = nentries; in xpc_allocate_local_msgqueue_sn2()
1567 int nentries; in xpc_allocate_remote_msgqueue_sn2() local
1572 for (nentries = ch->remote_nentries; nentries > 0; nentries--) { in xpc_allocate_remote_msgqueue_sn2()
1574 nbytes = nentries * ch->entry_size; in xpc_allocate_remote_msgqueue_sn2()
[all …]
Dxp.h276 u16 nentries; /* #of msg entries in local msg queue */ member
Dxpc_channel.c470 ch->local_nentries = registration->nentries; in xpc_connect_channel()
/drivers/isdn/hardware/eicon/
Ddiva_dma.c41 struct _diva_dma_map_entry* diva_alloc_dma_map (void* os_context, int nentries) { in diva_alloc_dma_map() argument
42 diva_dma_map_entry_t* pmap = diva_os_malloc(0, sizeof(*pmap)*(nentries+1)); in diva_alloc_dma_map()
44 memset (pmap, 0, sizeof(*pmap)*(nentries+1)); in diva_alloc_dma_map()
Ddiva_dma.h29 struct _diva_dma_map_entry* diva_alloc_dma_map (void* os_context, int nentries);
44 int nentries);
Ddivasmain.c352 struct _diva_dma_map_entry **ppmap, int nentries) in diva_init_dma_map() argument
356 diva_alloc_dma_map(hdev, nentries); in diva_init_dma_map()
364 for (i = 0; i < nentries; i++) { in diva_init_dma_map()
/drivers/net/cxgb3/
Dl2t.c69 return jhash_2words(key, ifindex, 0) & (d->nentries - 1); in arp_hash()
225 for (e = d->rover, end = &d->l2tab[d->nentries]; e != end; ++e) in alloc_l2e()
426 d->nentries = l2t_capacity; in t3_init_l2t()
Dl2t.h74 unsigned int nentries; /* number of entries */ member
/drivers/atm/
Dfirestream.c1401 struct queue *txq, int queue, int nentries, int is_rq) in init_q() argument
1403 int sz = nentries * sizeof (struct FS_QENTRY); in init_q()
1409 queue, nentries); in init_q()
1417 write_fs (dev, Q_EA(queue), virt_to_bus(p+nentries-1)); in init_q()