Searched refs:max_items (Results 1 - 4 of 4) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/
H A Dradix-tree.h173 unsigned long first_index, unsigned int max_items);
176 unsigned long first_index, unsigned int max_items);
191 unsigned long first_index, unsigned int max_items,
195 unsigned long first_index, unsigned int max_items,
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/lib/
H A Dradix-tree.c826 unsigned int max_items, unsigned long *next_index)
862 if (nr_found == max_items)
876 * @max_items: place up to this many items at *results
892 unsigned long first_index, unsigned int max_items)
914 while (ret < max_items) {
921 max_items - ret, &next_index);
947 * @max_items: place up to this many items at *results
961 unsigned long first_index, unsigned int max_items)
983 while (ret < max_items) {
990 max_items
825 __lookup(struct radix_tree_node *slot, void ***results, unsigned long index, unsigned int max_items, unsigned long *next_index) argument
891 radix_tree_gang_lookup(struct radix_tree_root *root, void **results, unsigned long first_index, unsigned int max_items) argument
960 radix_tree_gang_lookup_slot(struct radix_tree_root *root, void ***results, unsigned long first_index, unsigned int max_items) argument
1002 __lookup_tag(struct radix_tree_node *slot, void ***results, unsigned long index, unsigned int max_items, unsigned long *next_index, unsigned int tag) argument
1076 radix_tree_gang_lookup_tag(struct radix_tree_root *root, void **results, unsigned long first_index, unsigned int max_items, unsigned int tag) argument
1146 radix_tree_gang_lookup_tag_slot(struct radix_tree_root *root, void ***results, unsigned long first_index, unsigned int max_items, unsigned int tag) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/rds/
H A Dib_rdma.c71 unsigned long max_items; member in struct:rds_ib_mr_pool
215 /* We never allow more than max_items MRs to be allocated.
218 * Make sure that max_items > max_items_soft > max_items / 2
221 pool->max_items = rds_ibdev->max_fmrs;
230 iinfo->rdma_mr_max = pool->max_items;
278 if (atomic_inc_return(&pool->item_count) <= pool->max_items)
574 atomic_read(&pool->dirty_count) >= pool->max_items / 10)
H A Diw_rdma.c72 unsigned long max_items; member in struct:rds_iw_mr_pool
348 pool->max_items = fastreg_pool_size;
349 pool->max_free_pinned = pool->max_items * pool->max_message_size / 4;
352 /* We never allow more than max_items MRs to be allocated.
355 * Make sure that max_items > max_items_soft > max_items / 2
357 pool->max_items_soft = pool->max_items * 3 / 4;
366 iinfo->rdma_mr_max = pool->max_items;
414 if (atomic_inc_return(&pool->item_count) <= pool->max_items)
572 atomic_read(&pool->dirty_count) >= pool->max_items / 1
[all...]

Completed in 106 milliseconds