Searched refs:obj_size (Results 1 - 25 of 56) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/mlx4/
H A Dicm.c193 int i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size);
230 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size);
257 icm = table->icm[idx / (MLX4_TABLE_CHUNK_SIZE / table->obj_size)];
258 offset = idx % (MLX4_TABLE_CHUNK_SIZE / table->obj_size);
281 int inc = MLX4_TABLE_CHUNK_SIZE / table->obj_size;
306 for (i = start; i <= end; i += MLX4_TABLE_CHUNK_SIZE / table->obj_size)
311 u64 virt, int obj_size, int nobj, int reserved,
319 obj_per_chunk = MLX4_TABLE_CHUNK_SIZE / obj_size;
328 table->obj_size = obj_size;
310 mlx4_init_icm_table(struct mlx4_dev *dev, struct mlx4_icm_table *table, u64 virt, int obj_size, int nobj, int reserved, int use_lowmem) argument
[all...]
H A Dicm.h80 u64 virt, int obj_size, int nobj, int reserved,
H A Dmlx4.h133 int obj_size; member in struct:mlx4_icm_table
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dobstack.c250 register long obj_size = h->next_free - h->object_base;
256 new_size = (obj_size + length) + (obj_size >> 3) + h->alignment_mask + 100;
277 for (i = obj_size / sizeof (COPYING_UNIT) - 1;
284 already = obj_size / sizeof (COPYING_UNIT) * sizeof (COPYING_UNIT);
289 for (i = already; i < obj_size; i++)
305 h->next_free = h->object_base + obj_size;
249 register long obj_size = h->next_free - h->object_base; local
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgettextpo/
H A Dobstack.c250 register long obj_size = h->next_free - h->object_base;
256 new_size = (obj_size + length) + (obj_size >> 3) + h->alignment_mask + 100;
277 for (i = obj_size / sizeof (COPYING_UNIT) - 1;
284 already = obj_size / sizeof (COPYING_UNIT) * sizeof (COPYING_UNIT);
289 for (i = already; i < obj_size; i++)
305 h->next_free = h->object_base + obj_size;
249 register long obj_size = h->next_free - h->object_base; local
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mthca/
H A Dmthca_memfree.h69 int obj_size; member in struct:mthca_icm_table
89 u64 virt, int obj_size,
H A Dmthca_memfree.c219 int i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE;
261 i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE;
288 idx = (obj & (table->num_obj - 1)) * table->obj_size;
322 int inc = MTHCA_TABLE_CHUNK_SIZE / table->obj_size;
350 for (i = start; i <= end; i += MTHCA_TABLE_CHUNK_SIZE / table->obj_size)
355 u64 virt, int obj_size,
365 num_icm = (obj_size * nobj + MTHCA_TABLE_CHUNK_SIZE - 1) / MTHCA_TABLE_CHUNK_SIZE;
374 table->obj_size = obj_size;
382 for (i = 0; i * MTHCA_TABLE_CHUNK_SIZE < reserved * obj_size;
354 mthca_alloc_icm_table(struct mthca_dev *dev, u64 virt, int obj_size, int nobj, int reserved, int use_lowmem, int use_coherent) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv4/
H A Dudplite.c66 .obj_size = sizeof(struct udp_sock),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/ipv6/
H A Dudplite.c60 .obj_size = sizeof(struct udp6_sock),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/
H A Dinet_sock.h159 sk_from->sk_prot->obj_size - ancestor_size);
H A Drequest_sock.h31 int obj_size; member in struct:request_sock_ops
H A Dsock.h576 unsigned int obj_size; member in struct:proto
1004 memcpy(nsk, osk, osk->sk_prot->obj_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/dccp/
H A Dccid.c58 static struct kmem_cache *ccid_kmem_cache_create(int obj_size, const char *fmt,...) argument
71 slab = kmem_cache_create(slab_name, sizeof(struct ccid) + obj_size, 0,
H A Dipv4.c587 .obj_size = sizeof(struct dccp_request_sock),
976 .obj_size = sizeof(struct dccp_sock),
H A Dipv6.c385 .obj_size = sizeof(struct dccp6_request_sock),
1173 .obj_size = sizeof(struct dccp6_sock),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/mm/
H A Dslab.c442 int obj_size; member in struct:kmem_cache
533 static int obj_size(struct kmem_cache *cachep) function
535 return cachep->obj_size;
565 #define obj_size(cachep) (cachep->buffer_size) macro
1444 cache_cache.obj_size = cache_cache.buffer_size;
1691 int size = obj_size(cachep);
1723 int size = obj_size(cachep);
1783 size = obj_size(cachep);
1800 size = obj_size(cachep);
2254 cachep->obj_size
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bluetooth/bnep/
H A Dsock.c204 .obj_size = sizeof(struct bt_sock)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bluetooth/cmtp/
H A Dsock.c195 .obj_size = sizeof(struct bt_sock)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bluetooth/hidp/
H A Dsock.c246 .obj_size = sizeof(struct bt_sock)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dipv6.h388 return rsk->rsk_ops->obj_size - sizeof(struct inet6_request_sock);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/
H A Dsock.c859 sk = kmalloc(prot->obj_size, priority);
863 memset(sk, 0, prot->obj_size);
1753 prot->slab = kmem_cache_create(prot->name, prot->obj_size, 0,
1771 prot->rsk_prot->obj_size, 0,
1911 proto->obj_size,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/shared/
H A Dlinux_osl.c364 skb = osl_alloc_skb(osh->ctfpool->obj_size);
367 osh->ctfpool->obj_size);
416 osh->ctfpool->obj_size = size;
483 bcm_bprintf(bb, "max_obj %d obj_size %d curr_obj %d refills %d\n",
484 osh->ctfpool->max_obj, osh->ctfpool->obj_size,
513 ASSERT(len <= osh->ctfpool->obj_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/bluetooth/
H A Dhci_sock.c618 .obj_size = sizeof(struct hci_pinfo)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/rxrpc/
H A Daf_rxrpc.c770 .obj_size = sizeof(struct rxrpc_sock),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dpppoe.c485 .obj_size = sizeof(struct pppox_sock),

Completed in 176 milliseconds

123