Searched refs:pool (Results 1 - 25 of 37) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/arm/mach-sa1100/
H A Dpcipool.h4 void pci_pool_destroy (struct pci_pool *pool);
6 void *pci_pool_alloc (struct pci_pool *pool, int flags, dma_addr_t *handle);
7 void pci_pool_free (struct pci_pool *pool, void *vaddr, dma_addr_t addr);
H A Dpcipool.c31 struct pci_pool { /* the pool */
57 * pci_pool_create - Creates a pool of pci consistent memory blocks, for dma.
58 * @name: name of pool, for diagnostics
60 * @size: size of the blocks in this pool.
65 * Returns a pci allocation pool with the requested characteristics, or
133 pool_alloc_page (struct pci_pool *pool, int mem_flags) argument
138 mapsize = pool->blocks_per_page;
145 page->vaddr = pci_alloc_consistent (pool->dev,
146 pool->allocation, &page->dma);
149 if (pool
172 pool_free_page(struct pci_pool *pool, struct pci_page *page) argument
192 pci_pool_destroy(struct pci_pool *pool) argument
233 pci_pool_alloc(struct pci_pool *pool, int mem_flags, dma_addr_t *handle) argument
292 pool_find_page(struct pci_pool *pool, dma_addr_t dma) argument
323 pci_pool_free(struct pci_pool *pool, void *vaddr, dma_addr_t dma) argument
[all...]
H A Dsa1111-pcibuf.c71 struct pci_pool *pool; local
77 pool = small_buffer_cache;
80 pool = large_buffer_cache;
84 safe = pci_pool_alloc(pool, SLAB_ATOMIC, &busptr);
101 ((char **)safe)[1] = (char *)pool;
115 /* determine if a buffer is from our "safe" pool */
138 struct pci_pool *pool; local
146 pool = (struct pci_pool *)((char **)buf)[1];
159 pci_pool_free(pool, buf, (u32)dma);
260 printk("Initializing SA1111 buffer pool fo
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iptables/extensions/
H A D.pool-test2 [ -f $KERNEL_DIR/include/linux/netfilter_ipv4/ip_pool.h ] && echo pool POOL
H A Dlibipt_pool.c1 /* Shared library add-on to iptables to add IP address pool matching. */
22 "pool v%s options:\n"
124 struct iptables_match pool variable in typeref:struct:iptables_match
126 "pool",
141 register_match(&pool);
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/
H A Dip_pool.c1 /* Kernel module for IP pool management */
43 struct ip_pool *pool = lookup(index); local
46 if (!pool || !pool->members)
48 read_lock_bh(&pool->lock);
49 if (pool->members) {
50 if (addr >= pool->first_ip && addr <= pool->last_ip) {
51 addr -= pool->first_ip;
52 if (test_bit(addr, pool
69 struct ip_pool *pool; local
102 struct ip_pool *pool = lookup(index); local
135 struct ip_pool *pool; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/
H A Dip_pool.c1 /* Kernel module for IP pool management */
43 struct ip_pool *pool = lookup(index); local
46 if (!pool || !pool->members)
48 read_lock_bh(&pool->lock);
49 if (pool->members) {
50 if (addr >= pool->first_ip && addr <= pool->last_ip) {
51 addr -= pool->first_ip;
52 if (test_bit(addr, pool
69 struct ip_pool *pool; local
102 struct ip_pool *pool = lookup(index); local
135 struct ip_pool *pool; local
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/include/
H A Dlib_malloc.h62 void kmeminit(mempool_t *pool,unsigned char *buffer,int length);
63 void kfree(mempool_t *pool,void *ptr);
64 void *kmalloc(mempool_t *pool,unsigned int size,unsigned int align);
65 int kmemchk(mempool_t *pool,int verbose);
67 void *kmempoolbase(mempool_t *pool);
68 int kmempoolsize(mempool_t *pool);
69 int kmemstats(mempool_t *pool,memstats_t *stats);
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/lib/
H A Dlib_malloc.c94 mempool_t kmempool; /* default pool */
97 * kmeminit(pool,buffer,length)
104 * pool - pool pointer
113 void kmeminit(mempool_t *pool,unsigned char *buffer,int length) argument
115 pool->root = (memnode_t *) buffer;
116 pool->root->seal = MEMNODE_SEAL;
117 pool->root->length = length - sizeof(memnode_t);
118 pool->root->data = memnode_data(unsigned char *,pool
138 kmempoolbase(mempool_t *pool) argument
155 kmempoolsize(mempool_t *pool) argument
173 kmemcompact(mempool_t *pool) argument
224 kfree(mempool_t *pool,void *ptr) argument
273 kmalloc(mempool_t *pool,unsigned int size,unsigned int align) argument
403 kmemstats(mempool_t *pool,memstats_t *stats) argument
468 kmemchk(mempool_t *pool,int verbose) argument
538 mempool_t *pool = &kmempool; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/jpeg-6b/
H A Djcomapi.c23 * the permanent pool, so we will be able to close all temp files here.
31 int pool; local
40 for (pool = JPOOL_NUMPOOLS-1; pool > JPOOL_PERMANENT; pool--) {
41 (*cinfo->mem->free_pool) (cinfo, pool);
H A Djmemmgr.c12 * * pool-based allocation and freeing of memory;
78 * We allocate objects from "pools", where each pool is gotten with a single
80 * overhead within a pool, except for alignment padding. Each pool has a
81 * header with a link to the next pool of the same class.
82 * Small and large pool headers are identical except that the latter's
94 size_t bytes_used; /* how many bytes already used within pool */
95 size_t bytes_left; /* bytes still available in this pool */
105 size_t bytes_used; /* how many bytes already used within pool */
106 size_t bytes_left; /* bytes still available in this pool */
1004 int pool; local
1032 int pool; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/netfilter_ipv4/
H A Dip_pool.h32 typedef int ip_pool_t; /* pool index */
49 #define IP_POOL_ADD_ADDR 0x00000014 /* add addr to pool */
50 #define IP_POOL_DEL_ADDR 0x00000015 /* del addr from pool */
59 extern int ip_pool_match(ip_pool_t pool, u_int32_t addr);
60 extern int ip_pool_mod(ip_pool_t pool, u_int32_t addr, int isdel);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/netfilter_ipv4/
H A Dip_pool.h32 typedef int ip_pool_t; /* pool index */
49 #define IP_POOL_ADD_ADDR 0x00000014 /* add addr to pool */
50 #define IP_POOL_DEL_ADDR 0x00000015 /* del addr from pool */
59 extern int ip_pool_match(ip_pool_t pool, u_int32_t addr);
60 extern int ip_pool_mod(ip_pool_t pool, u_int32_t addr, int isdel);
/asus-wl-520gu-7.0.1.45/src/router/500gp/exinstall/bin/
H A Drcex17 pool=`nvram get apps_pool`
77 ./dmathined /shares/${pool}/${share} 2&> /dev/null
80 giftd --home-dir=/shares/${pool}/${share}/Download --local-dir=/shares/etc/.giFT --ex=/shares/${pool}/${share} --data-dir=/shares/etc/giFT --plugin-dir=/shares/usr/gift-nasoc/lib/giFT &
H A Ddmex3 pool=`nvram get apps_pool`
10 #./dmathined /shares/${pool}/${share} 2&> /dev/null
14 #giftd --home-dir=/shares/${pool}/${share}/Download --local-dir=/shares/etc/.giFT --ex=/shares/${pool}/${share} --data-dir=/shares/etc/giFT --plugin-dir=/shares/usr/gift-nasoc/lib/giFT &
/asus-wl-520gu-7.0.1.45/src/router/iptables/ippool/
H A Dippool.c18 return "Address out of pool range";
32 "\tLists all (-l), or a single (-L) pool.\n"
34 "\tWith -v, each pool membership is shown, one per line.\n"
111 fprintf(stderr, "cannot open %s - no pool names", IPPOOL_CONF);
133 fprintf(stderr, "pool '%s' not found in %s\n",
172 static char *flag_t = "bitmap"; /* pool type */
189 static void do_list(ip_pool_t pool) argument
197 req.index = pool;
210 req.index = pool;
223 req.index = pool;
245 do_flush(ip_pool_t pool) argument
273 do_destroy(ip_pool_t pool) argument
301 do_adddel(ip_pool_t pool, char *straddr, int op) argument
331 do_check(ip_pool_t pool, char *straddr) argument
352 do_new(ip_pool_t pool, int argc, char **argv) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/atm/
H A Dambassador.c156 Note on RX pool sizes:
158 Each pool should have enough buffers to handle a back-to-back stream
172 In fact, each pool should have enough buffers to support the
188 subject to the limit given by the pool size.
202 by another command on the same VC, 3. the changes to RX pool size
714 static inline int rx_give (amb_dev * dev, rx_in * rx, unsigned char pool) { argument
715 amb_rxq * rxq = &dev->rxq[pool];
718 PRINTD (DBG_FLOW|DBG_RX, "rx_give %p[%hu]", dev, pool);
729 wr_mem (dev, offsetof(amb_mem, mb.adapter.rx_address[pool]), virt_to_bus (rxq->in.ptr));
739 static inline int rx_take (amb_dev * dev, unsigned char pool) { argument
772 drain_rx_pool(amb_dev * dev, unsigned char pool) argument
800 unsigned char pool; local
811 fill_rx_pool(amb_dev * dev, unsigned char pool, int priority) argument
847 unsigned char pool; local
920 unsigned char pool; local
956 unsigned char pool; local
1140 unsigned char pool = -1; // hush gcc local
1387 unsigned char pool = vcc->rx_info.pool; local
1637 unsigned char pool; local
1740 unsigned char pool; local
2208 unsigned char pool; local
2384 unsigned char pool; local
2542 unsigned char pool; local
[all...]
H A Dzatm.c179 static void refill_pool(struct atm_dev *dev,int pool) argument
189 size = (64 << (pool <= ZATM_AAL5_POOL_BASE ? 0 :
190 pool-ZATM_AAL5_POOL_BASE))+sizeof(struct rx_buffer_head);
197 offset = zatm_dev->pool_info[pool].offset+
203 free = zpeekl(zatm_dev,zatm_dev->pool_base+2*pool) &
206 if (free >= zatm_dev->pool_info[pool].low_water) return;
208 zpeekl(zatm_dev,zatm_dev->pool_base+2*pool),
209 zpeekl(zatm_dev,zatm_dev->pool_base+2*pool+1));
213 while (free < zatm_dev->pool_info[pool].high_water) {
235 if (zatm_dev->last_free[pool])
258 drain_free(struct atm_dev *dev,int pool) argument
280 use_pool(struct atm_dev *dev,int pool) argument
309 unuse_pool(struct atm_dev *dev,int pool) argument
319 struct zatm_pool_info *pool; local
1551 int pool; local
1573 int pool; local
[all...]
H A Dzatm.h71 int pool; /* free buffer pool */ member in struct:zatm_vcc
90 int pool_ref[NR_POOLS]; /* free buffer pool usage counters */
92 /* last entry in respective pool */
93 struct sk_buff_head pool[NR_POOLS];/* free buffer pools */ member in struct:zatm_dev
94 struct zatm_pool_info pool_info[NR_POOLS]; /* pool information */
103 u32 pool_base; /* Free buffer pool dsc (word addr) */
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/pci/
H A Dpci.c1753 struct pci_pool { /* the pool */
1779 * pci_pool_create - Creates a pool of pci consistent memory blocks, for dma.
1780 * @name: name of pool, for diagnostics
1782 * @size: size of the blocks in this pool.
1787 * Returns a pci allocation pool with the requested characteristics, or
1855 pool_alloc_page (struct pci_pool *pool, int mem_flags) argument
1860 mapsize = pool->blocks_per_page;
1867 page->vaddr = pci_alloc_consistent (pool->dev,
1868 pool->allocation,
1872 if (pool
1895 pool_free_page(struct pci_pool *pool, struct pci_page *page) argument
1915 pci_pool_destroy(struct pci_pool *pool) argument
1956 pci_pool_alloc(struct pci_pool *pool, int mem_flags, dma_addr_t *handle) argument
2015 pool_find_page(struct pci_pool *pool, dma_addr_t dma) argument
2046 pci_pool_free(struct pci_pool *pool, void *vaddr, dma_addr_t dma) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/fc4/
H A Dsocal.c149 hwrsp = (socal_rsp *)sw_cq->pool + sw_cq->out;
228 hwrsp = (socal_rsp *)sw_cq->pool + sw_cq->out;
268 hwrspc = (socal_rsp *)sw_cq->pool;
428 request = sw_cq->pool + sw_cq->in;
751 s->req[0].pool = s->req_cpu;
753 s->req[1].pool = s->req[0].pool + SOCAL_CQ_REQ0_SIZE;
754 s->rsp[0].pool = s->req[1].pool + SOCAL_CQ_REQ1_SIZE;
755 s->rsp[1].pool
[all...]
H A Dsoc.c116 if (sw_cq->pool == NULL)
117 sw_cq->pool = (soc_req *)
122 hwrsp = (soc_rsp *)sw_cq->pool + sw_cq->out;
195 if (sw_cq->pool == NULL)
196 sw_cq->pool = (soc_req *)
203 hwrsp = (soc_rsp *)sw_cq->pool + sw_cq->out;
241 hwrspc = (soc_rsp *)sw_cq->pool;
386 request = sw_cq->pool + sw_cq->in;
666 s->req[0].pool = s->req_cpu;
668 s->req[1].pool
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/
H A Drandom.c70 * added to an "entropy pool", which is mixed using a CRC-like function.
74 * As random bytes are mixed into the entropy pool, the routines keep
79 * hash of the contents of the "entropy pool". The SHA hash avoids
80 * exposing the internal state of the entropy pool. It is believed to
85 * the pool, the output data is totally unpredictable. For this
87 * bits of "true randomness" are contained in the entropy pool as it
114 * contained in the entropy pool.
118 * requested without giving time for the entropy pool to recharge,
134 * scancode as random inputs into the "entropy pool".
140 * inputs to the entropy pool
457 __u32 *pool; member in struct:entropy_store
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dagpgart.h196 agp_memory *pool; member in struct:_agp_controller
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dagpgart.h196 agp_memory *pool; member in struct:_agp_controller

Completed in 289 milliseconds

12