Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/
Dpercpu.h321 #define _this_cpu_generic_read(pcp) \ argument
322 ({ typeof(pcp) ret__; \
324 ret__ = *this_cpu_ptr(&(pcp)); \
331 # define this_cpu_read_1(pcp) _this_cpu_generic_read(pcp) argument
334 # define this_cpu_read_2(pcp) _this_cpu_generic_read(pcp) argument
337 # define this_cpu_read_4(pcp) _this_cpu_generic_read(pcp) argument
340 # define this_cpu_read_8(pcp) _this_cpu_generic_read(pcp) argument
342 # define this_cpu_read(pcp) __pcpu_size_call_return(this_cpu_read_, (pcp)) argument
345 #define _this_cpu_generic_to_op(pcp, val, op) \ argument
348 *__this_cpu_ptr(&(pcp)) op val; \
[all …]
Dgfp.h373 void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp);
Dmmzone.h182 struct per_cpu_pages pcp; member
/linux-2.6.39/arch/x86/include/asm/
Dpercpu.h372 #define __this_cpu_read_1(pcp) percpu_from_op("mov", (pcp), "m"(pcp)) argument
373 #define __this_cpu_read_2(pcp) percpu_from_op("mov", (pcp), "m"(pcp)) argument
374 #define __this_cpu_read_4(pcp) percpu_from_op("mov", (pcp), "m"(pcp)) argument
376 #define __this_cpu_write_1(pcp, val) percpu_to_op("mov", (pcp), val) argument
377 #define __this_cpu_write_2(pcp, val) percpu_to_op("mov", (pcp), val) argument
378 #define __this_cpu_write_4(pcp, val) percpu_to_op("mov", (pcp), val) argument
379 #define __this_cpu_add_1(pcp, val) percpu_add_op((pcp), val) argument
380 #define __this_cpu_add_2(pcp, val) percpu_add_op((pcp), val) argument
381 #define __this_cpu_add_4(pcp, val) percpu_add_op((pcp), val) argument
382 #define __this_cpu_and_1(pcp, val) percpu_to_op("and", (pcp), val) argument
[all …]
/linux-2.6.39/mm/
Dvmstat.c214 struct per_cpu_pageset __percpu *pcp = zone->pageset; in __mod_zone_page_state() local
215 s8 __percpu *p = pcp->vm_stat_diff + item; in __mod_zone_page_state()
221 t = __this_cpu_read(pcp->stat_threshold); in __mod_zone_page_state()
256 struct per_cpu_pageset __percpu *pcp = zone->pageset; in __inc_zone_state() local
257 s8 __percpu *p = pcp->vm_stat_diff + item; in __inc_zone_state()
261 t = __this_cpu_read(pcp->stat_threshold); in __inc_zone_state()
278 struct per_cpu_pageset __percpu *pcp = zone->pageset; in __dec_zone_state() local
279 s8 __percpu *p = pcp->vm_stat_diff + item; in __dec_zone_state()
283 t = __this_cpu_read(pcp->stat_threshold); in __dec_zone_state()
314 struct per_cpu_pageset __percpu *pcp = zone->pageset; in mod_state() local
[all …]
Dpage_alloc.c591 struct per_cpu_pages *pcp) in free_pcppages_bulk() argument
616 list = &pcp->lists[migratetype]; in free_pcppages_bulk()
1061 void drain_zone_pages(struct zone *zone, struct per_cpu_pages *pcp) in drain_zone_pages() argument
1067 if (pcp->count >= pcp->batch) in drain_zone_pages()
1068 to_drain = pcp->batch; in drain_zone_pages()
1070 to_drain = pcp->count; in drain_zone_pages()
1071 free_pcppages_bulk(zone, to_drain, pcp); in drain_zone_pages()
1072 pcp->count -= to_drain; in drain_zone_pages()
1091 struct per_cpu_pages *pcp; in drain_pages() local
1096 pcp = &pset->pcp; in drain_pages()
[all …]
/linux-2.6.39/arch/sparc/kernel/
Dpcic.c601 struct pcidev_cookie *pcp; in pcibios_fixup_bus() local
656 pcp = pci_devcookie_alloc(); in pcibios_fixup_bus()
657 pcp->pbm = &pcic->pbm; in pcibios_fixup_bus()
658 pcp->prom_node = of_find_node_by_phandle(node); in pcibios_fixup_bus()
659 dev->sysdata = pcp; in pcibios_fixup_bus()
/linux-2.6.39/Documentation/sysctl/
Dvm.txt259 cpu: 0 pcp: 0
618 This is the fraction of pages at most (high mark pcp->high) in each zone that
626 set to pcp->high/4. The upper limit of batch is (PAGE_SHIFT * 8)
/linux-2.6.39/drivers/infiniband/hw/mlx4/
Dqp.c1375 u16 pcp; in build_mlx_header() local
1378 pcp = (be32_to_cpu(ah->av.ib.sl_tclass_flowlabel) >> 27 & 3) << 13; in build_mlx_header()
1379 sqp->ud_header.vlan.tag = cpu_to_be16(vlan | pcp); in build_mlx_header()
/linux-2.6.39/arch/mips/include/asm/octeon/
Dcvmx-pcieep-defs.h704 uint32_t pcp:1; member
Dcvmx-pciercx-defs.h638 uint32_t pcp:1; member