| /include/net/ |
| A D | protocol.h | 86 struct proto *prot; member 103 int inet_add_protocol(const struct net_protocol *prot, unsigned char num); 104 int inet_del_protocol(const struct net_protocol *prot, unsigned char num); 105 int inet_add_offload(const struct net_offload *prot, unsigned char num); 106 int inet_del_offload(const struct net_offload *prot, unsigned char num); 111 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char num); 112 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char num); 116 int inet6_add_offload(const struct net_offload *prot, unsigned char num); 117 int inet6_del_offload(const struct net_offload *prot, unsigned char num);
|
| A D | proto_memory.h | 17 proto_memory_pressure(const struct proto *prot) in proto_memory_pressure() argument 19 if (!prot->memory_pressure) in proto_memory_pressure() 21 return !!READ_ONCE(*prot->memory_pressure); in proto_memory_pressure() 42 proto_memory_allocated(const struct proto *prot) in proto_memory_allocated() argument 44 return max(0L, atomic_long_read(prot->memory_allocated)); in proto_memory_allocated()
|
| /include/xen/ |
| A D | xen-ops.h | 46 xen_pfn_t *pfn, int nr, int *err_ptr, pgprot_t prot, 51 pgprot_t prot, unsigned int domid, in xen_remap_pfn() argument 65 int *err_ptr, pgprot_t prot, 78 int *err_ptr, pgprot_t prot, in xen_xlate_remap_gfn_array() argument 115 int *err_ptr, pgprot_t prot, in xen_remap_domain_gfn_array() argument 121 prot, domid, pages); in xen_remap_domain_gfn_array() 128 return xen_remap_pfn(vma, addr, gfn, nr, err_ptr, prot, domid, in xen_remap_domain_gfn_array() 151 pgprot_t prot, unsigned int domid) in xen_remap_domain_mfn_array() argument 156 return xen_remap_pfn(vma, addr, mfn, nr, err_ptr, prot, domid, in xen_remap_domain_mfn_array() 175 pgprot_t prot, unsigned int domid, in xen_remap_domain_gfn_range() argument [all …]
|
| /include/linux/ |
| A D | mman.h | 92 #define arch_calc_vm_prot_bits(prot, pkey) 0 argument 106 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) in arch_validate_prot() argument 108 return (prot & ~(PROT_READ | PROT_WRITE | PROT_EXEC | PROT_SEM)) == 0; in arch_validate_prot() 141 calc_vm_prot_bits(unsigned long prot, unsigned long pkey) in calc_vm_prot_bits() argument 143 return _calc_vm_trans(prot, PROT_READ, VM_READ ) | in calc_vm_prot_bits() 144 _calc_vm_trans(prot, PROT_WRITE, VM_WRITE) | in calc_vm_prot_bits() 145 _calc_vm_trans(prot, PROT_EXEC, VM_EXEC) | in calc_vm_prot_bits() 146 arch_calc_vm_prot_bits(prot, pkey); in calc_vm_prot_bits()
|
| A D | io-mapping.h | 26 pgprot_t prot; member 46 pgprot_t prot; in io_mapping_init_wc() local 48 if (iomap_create_wc(base, size, &prot)) in io_mapping_init_wc() 53 iomap->prot = prot; in io_mapping_init_wc() 77 return __iomap_local_pfn_prot(PHYS_PFN(phys_addr), mapping->prot); in io_mapping_map_atomic_wc() 98 return __iomap_local_pfn_prot(PHYS_PFN(phys_addr), mapping->prot); in io_mapping_map_local_wc() 141 iomap->prot = pgprot_writecombine(PAGE_KERNEL); in io_mapping_init_wc()
|
| A D | highmem-internal.h | 9 void *__kmap_local_pfn_prot(unsigned long pfn, pgprot_t prot); 10 void *__kmap_local_page_prot(struct page *page, pgprot_t prot); 90 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot() argument 92 return __kmap_local_page_prot(page, prot); in kmap_local_page_prot() 105 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot() argument 113 return __kmap_local_page_prot(page, prot); in kmap_atomic_prot() 201 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot() argument 228 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot() argument
|
| A D | vmalloc.h | 89 static inline bool arch_vmap_p4d_supported(pgprot_t prot) in arch_vmap_p4d_supported() argument 96 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported() argument 103 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported() argument 133 static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) in arch_vmap_pgprot_tagged() argument 135 return prot; in arch_vmap_pgprot_tagged() 172 pgprot_t prot, unsigned long vm_flags, int node, 208 unsigned long flags, pgprot_t prot); 209 void *vmap_pfn(unsigned long *pfns, unsigned int count, pgprot_t prot); 219 int vmap_pages_range(unsigned long addr, unsigned long end, pgprot_t prot,
|
| A D | io.h | 29 phys_addr_t phys_addr, pgprot_t prot); 31 phys_addr_t phys_addr, pgprot_t prot); 34 phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range() argument 39 phys_addr_t phys_addr, pgprot_t prot) in vmap_page_range() argument 82 unsigned long size, pgprot_t prot);
|
| A D | elf.h | 101 int arch_elf_adjust_prot(int prot, const struct arch_elf_state *state, 104 static inline int arch_elf_adjust_prot(int prot, in arch_elf_adjust_prot() argument 108 return prot; in arch_elf_adjust_prot()
|
| A D | kmsan.h | 143 pgprot_t prot, 170 phys_addr_t phys_addr, pgprot_t prot, 350 unsigned long start, unsigned long end, pgprot_t prot, in kmsan_vmap_pages_range_noflush() argument 364 pgprot_t prot, in kmsan_ioremap_page_range() argument
|
| A D | agpgart.h | 54 int prot; /* prot flags for mmap */ member 60 pgprot_t prot; member
|
| A D | pgtable.h | 1478 #define pgprot_nx(prot) (prot) argument 1482 #define pgprot_noncached(prot) (prot) argument 1498 #define pgprot_mhp(prot) (prot) argument 1518 #define pgprot_encrypted(prot) (prot) argument 1522 #define pgprot_decrypted(prot) (prot) argument 1627 pgprot_t *prot) in pfnmap_setup_cachemode() argument 1633 pgprot_t *prot) in pfnmap_track() argument 1666 pgprot_t *prot); 1710 pfnmap_setup_cachemode(pfn, PAGE_SIZE, prot); in pfnmap_setup_cachemode_pfn() 1826 int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot); [all …]
|
| A D | pkeys.h | 14 #define arch_override_mprotect_pkey(vma, prot, pkey) (0) argument
|
| A D | dma-map-ops.h | 216 void *dma_common_contiguous_remap(struct page *page, size_t size, pgprot_t prot, 218 void *dma_common_pages_remap(struct page **pages, size_t size, pgprot_t prot, 335 #define pgprot_dmacoherent(prot) pgprot_noncached(prot) argument 338 pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, unsigned long attrs); 340 static inline pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, in dma_pgprot() argument 343 return prot; /* no protection bits supported without page tables */ in dma_pgprot()
|
| A D | iommu.h | 307 int prot; member 760 int prot, gfp_t gfp, size_t *mapped); 914 phys_addr_t paddr, size_t size, int prot, gfp_t gfp); 916 phys_addr_t paddr, size_t size, int prot, gfp_t gfp); 926 int prot, gfp_t gfp); 937 iommu_alloc_resv_region(phys_addr_t start, size_t length, int prot, 1235 phys_addr_t paddr, size_t size, int prot, gfp_t gfp) in iommu_map() argument 1255 unsigned int nents, int prot, gfp_t gfp) in iommu_map_sg() argument 1543 unsigned long iova, struct sg_table *sgt, int prot) in iommu_map_sgtable() argument 1545 return iommu_map_sg(domain, iova, sgt->sgl, sgt->orig_nents, prot, in iommu_map_sgtable()
|
| A D | crash_dump.h | 29 unsigned long size, pgprot_t prot);
|
| /include/asm-generic/ |
| A D | syscalls.h | 15 unsigned long prot, unsigned long flags, 21 unsigned long prot, unsigned long flags,
|
| A D | video.h | 19 static inline pgprot_t pgprot_framebuffer(pgprot_t prot, in pgprot_framebuffer() argument 23 return pgprot_writecombine(prot); in pgprot_framebuffer()
|
| /include/trace/events/ |
| A D | sock.h | 95 TP_PROTO(struct sock *sk, struct proto *prot, long allocated, int kind), 97 TP_ARGS(sk, prot, allocated, kind), 112 strscpy(__entry->name, prot->name, 32); 113 __entry->sysctl_mem[0] = READ_ONCE(prot->sysctl_mem[0]); 114 __entry->sysctl_mem[1] = READ_ONCE(prot->sysctl_mem[1]); 115 __entry->sysctl_mem[2] = READ_ONCE(prot->sysctl_mem[2]); 117 __entry->sysctl_rmem = sk_get_rmem0(sk, prot); 119 __entry->sysctl_wmem = sk_get_wmem0(sk, prot);
|
| /include/linux/can/ |
| A D | core.h | 34 struct proto *prot; member
|
| /include/soc/tegra/ |
| A D | tegra-cbb.h | 39 void tegra_cbb_print_prot(struct seq_file *file, u32 prot);
|
| /include/linux/regulator/ |
| A D | machine.h | 96 int prot; member
|
| /include/uapi/linux/ |
| A D | agpgart.h | 82 int prot; /* prot flags for mmap */ member
|
| A D | scif_ioctl.h | 123 __s32 prot; member
|
| /include/net/phonet/ |
| A D | phonet.h | 98 struct proto *prot; member
|