Home
last modified time | relevance | path

Searched refs:ng (Results 1 - 25 of 28) sorted by relevance

12

/kernel/linux/linux-5.10/include/net/netns/
H A Dgeneric.h41 struct net_generic *ng; in net_generic() local
45 ng = rcu_dereference(net->gen); in net_generic()
46 ptr = ng->ptr[id]; in net_generic()
/kernel/linux/linux-6.6/include/net/netns/
H A Dgeneric.h42 struct net_generic *ng; in net_generic() local
46 ng = rcu_dereference(net->gen); in net_generic()
47 ptr = ng->ptr[id]; in net_generic()
/kernel/linux/linux-5.10/net/core/
H A Dnet_namespace.c91 struct net_generic *ng; in net_alloc_generic() local
95 ng = kzalloc(generic_size, GFP_KERNEL); in net_alloc_generic()
96 if (ng) in net_alloc_generic()
97 ng->s.len = gen_ptrs; in net_alloc_generic()
99 return ng; in net_alloc_generic()
104 struct net_generic *ng, *old_ng; in net_assign_generic() local
115 ng = net_alloc_generic(); in net_assign_generic()
116 if (ng == NULL) in net_assign_generic()
130 memcpy(&ng->ptr[MIN_PERNET_OPS_ID], &old_ng->ptr[MIN_PERNET_OPS_ID], in net_assign_generic()
132 ng in net_assign_generic()
141 struct net_generic *ng; ops_init() local
424 struct net_generic *ng; net_alloc() local
1115 struct net_generic *ng; net_ns_init() local
[all...]
/kernel/linux/linux-6.6/net/core/
H A Dnet_namespace.c72 struct net_generic *ng; in net_alloc_generic() local
75 ng = kzalloc(generic_size, GFP_KERNEL); in net_alloc_generic()
76 if (ng) in net_alloc_generic()
77 ng->s.len = max_gen_ptrs; in net_alloc_generic()
79 return ng; in net_alloc_generic()
84 struct net_generic *ng, *old_ng; in net_assign_generic() local
95 ng = net_alloc_generic(); in net_assign_generic()
96 if (!ng) in net_assign_generic()
110 memcpy(&ng->ptr[MIN_PERNET_OPS_ID], &old_ng->ptr[MIN_PERNET_OPS_ID], in net_assign_generic()
112 ng in net_assign_generic()
121 struct net_generic *ng; ops_init() local
411 struct net_generic *ng; net_alloc() local
1104 struct net_generic *ng; net_ns_init() local
[all...]
/kernel/linux/linux-5.10/arch/arm/mm/
H A Dmmu.c751 bool ng) in alloc_init_pte()
756 ng ? PTE_EXT_NG : 0); in alloc_init_pte()
763 const struct mem_type *type, bool ng) in __map_init_section()
781 *pmd = __pmd(phys | type->prot_sect | (ng ? PMD_SECT_nG : 0)); in __map_init_section()
791 void *(*alloc)(unsigned long sz), bool ng) in alloc_init_pmd()
809 __map_init_section(pmd, addr, next, phys, type, ng); in alloc_init_pmd()
812 __phys_to_pfn(phys), type, alloc, ng); in alloc_init_pmd()
823 void *(*alloc)(unsigned long sz), bool ng) in alloc_init_pud()
830 alloc_init_pmd(pud, addr, next, phys, type, alloc, ng); in alloc_init_pud()
838 void *(*alloc)(unsigned long sz), bool ng) in alloc_init_p4d()
747 alloc_init_pte(pmd_t *pmd, unsigned long addr, unsigned long end, unsigned long pfn, const struct mem_type *type, void *(*alloc)(unsigned long sz), bool ng) alloc_init_pte() argument
761 __map_init_section(pmd_t *pmd, unsigned long addr, unsigned long end, phys_addr_t phys, const struct mem_type *type, bool ng) __map_init_section() argument
788 alloc_init_pmd(pud_t *pud, unsigned long addr, unsigned long end, phys_addr_t phys, const struct mem_type *type, void *(*alloc)(unsigned long sz), bool ng) alloc_init_pmd() argument
820 alloc_init_pud(p4d_t *p4d, unsigned long addr, unsigned long end, phys_addr_t phys, const struct mem_type *type, void *(*alloc)(unsigned long sz), bool ng) alloc_init_pud() argument
835 alloc_init_p4d(pgd_t *pgd, unsigned long addr, unsigned long end, phys_addr_t phys, const struct mem_type *type, void *(*alloc)(unsigned long sz), bool ng) alloc_init_p4d() argument
851 create_36bit_mapping(struct mm_struct *mm, struct map_desc *md, const struct mem_type *type, bool ng) create_36bit_mapping() argument
913 __create_mapping(struct mm_struct *mm, struct map_desc *md, void *(*alloc)(unsigned long sz), bool ng) __create_mapping() argument
981 create_mapping_late(struct mm_struct *mm, struct map_desc *md, bool ng) create_mapping_late() argument
[all...]
/kernel/linux/linux-6.6/arch/arm/mm/
H A Dmmu.c770 bool ng) in alloc_init_pte()
775 ng ? PTE_EXT_NG : 0); in alloc_init_pte()
782 const struct mem_type *type, bool ng) in __map_init_section()
800 *pmd = __pmd(phys | type->prot_sect | (ng ? PMD_SECT_nG : 0)); in __map_init_section()
810 void *(*alloc)(unsigned long sz), bool ng) in alloc_init_pmd()
828 __map_init_section(pmd, addr, next, phys, type, ng); in alloc_init_pmd()
831 __phys_to_pfn(phys), type, alloc, ng); in alloc_init_pmd()
842 void *(*alloc)(unsigned long sz), bool ng) in alloc_init_pud()
849 alloc_init_pmd(pud, addr, next, phys, type, alloc, ng); in alloc_init_pud()
857 void *(*alloc)(unsigned long sz), bool ng) in alloc_init_p4d()
766 alloc_init_pte(pmd_t *pmd, unsigned long addr, unsigned long end, unsigned long pfn, const struct mem_type *type, void *(*alloc)(unsigned long sz), bool ng) alloc_init_pte() argument
780 __map_init_section(pmd_t *pmd, unsigned long addr, unsigned long end, phys_addr_t phys, const struct mem_type *type, bool ng) __map_init_section() argument
807 alloc_init_pmd(pud_t *pud, unsigned long addr, unsigned long end, phys_addr_t phys, const struct mem_type *type, void *(*alloc)(unsigned long sz), bool ng) alloc_init_pmd() argument
839 alloc_init_pud(p4d_t *p4d, unsigned long addr, unsigned long end, phys_addr_t phys, const struct mem_type *type, void *(*alloc)(unsigned long sz), bool ng) alloc_init_pud() argument
854 alloc_init_p4d(pgd_t *pgd, unsigned long addr, unsigned long end, phys_addr_t phys, const struct mem_type *type, void *(*alloc)(unsigned long sz), bool ng) alloc_init_p4d() argument
870 create_36bit_mapping(struct mm_struct *mm, struct map_desc *md, const struct mem_type *type, bool ng) create_36bit_mapping() argument
932 __create_mapping(struct mm_struct *mm, struct map_desc *md, void *(*alloc)(unsigned long sz), bool ng) __create_mapping() argument
1000 create_mapping_late(struct mm_struct *mm, struct map_desc *md, bool ng) create_mapping_late() argument
[all...]
/kernel/linux/linux-5.10/kernel/sched/
H A Dfair.c1150 static inline unsigned long group_faults_priv(struct numa_group *ng);
1151 static inline unsigned long group_faults_shared(struct numa_group *ng);
1193 struct numa_group *ng; in task_scan_start() local
1197 ng = rcu_dereference(p->numa_group); in task_scan_start()
1198 if (ng) { in task_scan_start()
1199 unsigned long shared = group_faults_shared(ng); in task_scan_start()
1200 unsigned long private = group_faults_priv(ng); in task_scan_start()
1202 period *= refcount_read(&ng->refcount); in task_scan_start()
1215 struct numa_group *ng; in task_scan_max() local
1221 ng in task_scan_max()
1260 struct numa_group *ng; task_numa_group_id() local
1294 struct numa_group *ng = deref_task_numa_group(p); group_faults() local
1309 group_faults_priv(struct numa_group *ng) group_faults_priv() argument
1321 group_faults_shared(struct numa_group *ng) group_faults_shared() argument
1340 numa_is_active_node(int nid, struct numa_group *ng) numa_is_active_node() argument
1438 struct numa_group *ng = deref_task_numa_group(p); group_weight() local
1458 struct numa_group *ng = deref_curr_numa_group(p); should_numa_migrate_memory() local
2021 struct numa_group *ng; task_numa_migrate() local
2400 struct numa_group *ng; task_numa_placement() local
2669 struct numa_group *ng; task_numa_fault() local
12070 struct numa_group *ng; show_numa_stats() local
[all...]
/kernel/linux/linux-6.6/kernel/sched/
H A Dfair.c1488 static inline unsigned long group_faults_priv(struct numa_group *ng);
1489 static inline unsigned long group_faults_shared(struct numa_group *ng);
1531 struct numa_group *ng; in task_scan_start() local
1535 ng = rcu_dereference(p->numa_group); in task_scan_start()
1536 if (ng) { in task_scan_start()
1537 unsigned long shared = group_faults_shared(ng); in task_scan_start()
1538 unsigned long private = group_faults_priv(ng); in task_scan_start()
1540 period *= refcount_read(&ng->refcount); in task_scan_start()
1553 struct numa_group *ng; in task_scan_max() local
1559 ng in task_scan_max()
1598 struct numa_group *ng; task_numa_group_id() local
1632 struct numa_group *ng = deref_task_numa_group(p); group_faults() local
1647 group_faults_priv(struct numa_group *ng) group_faults_priv() argument
1659 group_faults_shared(struct numa_group *ng) group_faults_shared() argument
1678 numa_is_active_node(int nid, struct numa_group *ng) numa_is_active_node() argument
1777 struct numa_group *ng = deref_task_numa_group(p); group_weight() local
1911 struct numa_group *ng = deref_curr_numa_group(p); should_numa_migrate_memory() local
2502 struct numa_group *ng; task_numa_migrate() local
2883 struct numa_group *ng; task_numa_placement() local
3165 struct numa_group *ng; task_numa_fault() local
13663 struct numa_group *ng; show_numa_stats() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/capabilities/
H A DMakefile6 LDLIBS += -lcap-ng -lrt -ldl
H A Dvalidate_cap.c2 #include <cap-ng.h>
H A Dtest_execve.c4 #include <cap-ng.h>
/kernel/linux/linux-6.6/tools/testing/selftests/capabilities/
H A DMakefile6 LDLIBS += -lcap-ng -lrt -ldl
H A Dvalidate_cap.c2 #include <cap-ng.h>
H A Dtest_execve.c4 #include <cap-ng.h>
/kernel/linux/linux-5.10/arch/arm/include/asm/mach/
H A Dmap.h44 bool ng);
/kernel/linux/linux-6.6/arch/arm/include/asm/mach/
H A Dmap.h44 bool ng);
/kernel/linux/linux-5.10/drivers/clk/sunxi-ng/
H A Dccu_mmc_timing.c7 #include <linux/clk/sunxi-ng.h>
/kernel/linux/linux-6.6/drivers/clk/sunxi-ng/
H A Dccu_mmc_timing.c7 #include <linux/clk/sunxi-ng.h>
H A Dccu-sun6i-rtc.c14 #include <linux/clk/sunxi-ng.h>
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/security/
H A Dmitigation-patching.sh55 if stress-ng > /dev/null 2>&1; then
56 stress="stress-ng"
/kernel/linux/linux-5.10/security/integrity/ima/
H A Dima_appraise.c89 iint->ima_hash->xattr.ng.type = IMA_XATTR_DIGEST_NG; in ima_fix_xattr()
90 iint->ima_hash->xattr.ng.algo = algo; in ima_fix_xattr()
/kernel/linux/linux-5.10/security/integrity/
H A Dintegrity.h107 } ng; member
/kernel/linux/linux-6.6/security/integrity/
H A Dintegrity.h110 } ng; member
/kernel/linux/linux-6.6/security/integrity/ima/
H A Dima_appraise.c98 iint->ima_hash->xattr.ng.type = IMA_XATTR_DIGEST_NG; in ima_fix_xattr()
99 iint->ima_hash->xattr.ng.algo = algo; in ima_fix_xattr()
/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-sun6i.c16 #include <linux/clk/sunxi-ng.h>

Completed in 37 milliseconds

12