Searched refs:nent (Results 1 - 20 of 20) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/netatalk-2.2.0/libatalk/adouble/
H A Dad_flush.c59 u_int16_t nent; local
79 buf += sizeof( nent );
80 for ( eid = 0, nent = 0; eid < ADEID_MAX; eid++ ) {
95 nent++;
97 nent = htons( nent );
98 memcpy(nentp, &nent, sizeof( nent ));
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/scripts/
H A Dconmakehash.c85 int i, nuni, nent; local
275 nent = 0;
278 while ( nent >= unicount[fp0] )
281 nent = 0;
283 printf("0x%04x", unitable[fp0][nent++]);
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/infiniband/hw/mthca/
H A Dmthca_allocator.c162 int mthca_array_init(struct mthca_array *array, int nent) argument
164 int npage = (nent * sizeof (void *) + PAGE_SIZE - 1) / PAGE_SIZE;
179 void mthca_array_cleanup(struct mthca_array *array, int nent) argument
183 for (i = 0; i < (nent * sizeof (void *) + PAGE_SIZE - 1) / PAGE_SIZE; ++i)
H A Dmthca_eq.c179 doorbell[1] = cpu_to_be32(ci & (eq->nent - 1));
246 unsigned long off = (entry & (eq->nent - 1)) * MTHCA_EQ_ENTRY_SIZE;
482 int nent,
496 eq->nent = roundup_pow_of_two(max(nent, 2));
497 npages = ALIGN(eq->nent * MTHCA_EQ_ENTRY_SIZE, PAGE_SIZE) / PAGE_SIZE;
528 for (i = 0; i < eq->nent; ++i)
552 eq_context->logsize_usrpage = cpu_to_be32((ffs(eq->nent) - 1) << 24);
583 eq->eqn, eq->nent);
617 int npages = (eq->nent * MTHCA_EQ_ENTRY_SIZ
481 mthca_create_eq(struct mthca_dev *dev, int nent, u8 intr, struct mthca_eq *eq) argument
[all...]
H A Dmthca_cq.c358 int mthca_alloc_cq_buf(struct mthca_dev *dev, struct mthca_cq_buf *buf, int nent) argument
363 ret = mthca_buf_alloc(dev, nent * MTHCA_CQ_ENTRY_SIZE,
370 for (i = 0; i < nent; ++i)
787 int mthca_init_cq(struct mthca_dev *dev, int nent, argument
796 cq->ibcq.cqe = nent - 1;
832 err = mthca_alloc_cq_buf(dev, &cq->buf, nent);
846 cq_context->logsize_usrpage = cpu_to_be32((ffs(nent) - 1) << 24);
H A Dmthca_dev.h424 int mthca_array_init(struct mthca_array *array, int nent);
425 void mthca_array_cleanup(struct mthca_array *array, int nent);
500 int mthca_init_cq(struct mthca_dev *dev, int nent,
511 int mthca_alloc_cq_buf(struct mthca_dev *dev, struct mthca_cq_buf *buf, int nent);
H A Dmthca_provider.h114 int nent; member in struct:mthca_eq
H A Dmthca_cmd.c609 int nent = 0; local
639 pages[nent * 2] = cpu_to_be64(virt);
643 pages[nent * 2 + 1] =
649 if (++nent == MTHCA_MAILBOX_SIZE / 16) {
650 err = mthca_cmd(dev, mailbox->dma, nent, 0, op,
654 nent = 0;
659 if (nent)
660 err = mthca_cmd(dev, mailbox->dma, nent, 0, op,
H A Dmthca_provider.c673 int nent; local
708 for (nent = 1; nent <= entries; nent <<= 1)
711 err = mthca_init_cq(to_mdev(ibdev), nent,
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/autofs/
H A Ddirhash.c238 struct autofs_dir_ent *ent, *nent; local
241 for ( ent = sbi->dirhash.h[i] ; ent ; ent = nent ) {
242 nent = ent->next;
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/mlx4/
H A Dcq.c132 int mlx4_cq_alloc(struct mlx4_dev *dev, int nent, struct mlx4_mtt *mtt, argument
169 cq_context->logsize_usrpage = cpu_to_be32((ilog2(nent) << 24) | uar->index);
H A Deq.c151 unsigned long off = (entry & (eq->nent - 1)) * MLX4_EQ_ENTRY_SIZE;
158 return !!(eqe->owner & 0x80) ^ !!(eq->cons_index & eq->nent) ? NULL : eqe;
336 static int __devinit mlx4_create_eq(struct mlx4_dev *dev, int nent, argument
350 eq->nent = roundup_pow_of_two(max(nent, 2));
351 npages = PAGE_ALIGN(eq->nent * MLX4_EQ_ENTRY_SIZE) / PAGE_SIZE;
403 eq_context->log_eq_size = ilog2(eq->nent);
453 int npages = PAGE_ALIGN(MLX4_EQ_ENTRY_SIZE * eq->nent) / PAGE_SIZE;
H A Dfw.c391 int nent = 0; local
422 pages[nent * 2] = cpu_to_be64(virt);
426 pages[nent * 2 + 1] =
432 if (++nent == MLX4_MAILBOX_SIZE / 16) {
433 err = mlx4_cmd(dev, mailbox->dma, nent, 0, op,
437 nent = 0;
442 if (nent)
443 err = mlx4_cmd(dev, mailbox->dma, nent, 0, op, MLX4_CMD_TIME_CLASS_B);
H A Dmlx4.h146 int nent; member in struct:mlx4_eq
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/btree/
H A Dbt_compact.c969 db_indx_t nent; local
978 nent = NUM_ENT(npg);
981 if (nent == 0)
1025 db_indx_t adj, indx, nent, *ninp, pind; local
1043 nent = NUM_ENT(npg);
1045 DB_ASSERT(env, nent != 0);
1067 for (indx = 0; indx < nent; indx += adj) {
1082 indx < nent - adj &&
1092 } while (indx + n_ok < nent &&
1117 if (indx == nent)
1319 db_indx_t nent, *ninp, *pinp; local
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/arch/alpha/kernel/
H A Dpci_iommu.c134 long i, p, nent;
138 nent = arena->size >> PAGE_SHIFT;
141 while (i < n && p+i < nent) {
154 while (i < n && p+i < nent) {
132 long i, p, nent; local
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/
H A Dkvm.h245 __u32 nent; member in struct:kvm_cpuid
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/mlx4/
H A Ddevice.h314 int mlx4_cq_alloc(struct mlx4_dev *dev, int nent, struct mlx4_mtt *mtt,
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/kvm/
H A Dkvm_main.c2384 if (cpuid->nent > KVM_MAX_CPUID_ENTRIES)
2388 cpuid->nent * sizeof(struct kvm_cpuid_entry)))
2390 vcpu->cpuid_nent = cpuid->nent;
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/db-4.7.25.NC/test/
H A Dtestutils.tcl3527 proc reduce_dups { nent ndp } {
3528 upvar $nent nentries

Completed in 313 milliseconds