Searched defs:write (Results 1 - 25 of 68) sorted by relevance

123

/arch/arm/mm/
H A Dhugetlbpage.c18 * along with this program; if not, write to the Free Software
40 int write)
39 follow_huge_addr(struct mm_struct *mm, unsigned long address, int write) argument
/arch/arm64/mm/
H A Dhugetlbpage.c18 * along with this program; if not, write to the Free Software
42 int write)
41 follow_huge_addr(struct mm_struct *mm, unsigned long address, int write) argument
/arch/arc/mm/
H A Dfault.c62 int write = regs->ecr_cause & ECR_C_PROTV_STORE; /* ST/EX */ local
118 if (write) {
/arch/frv/kernel/
H A Dsysctl.c47 * handle requests to dynamically switch the write caching mode delivered by /proc
49 static int procctl_frv_cachemode(struct ctl_table *table, int write, argument
59 if (write) {
73 /* switch dcache into write-back mode */
79 /* switch dcache into write-through mode */
124 static int procctl_frv_pin_cxnr(struct ctl_table *table, int write, argument
134 if (write) {
/arch/mips/mm/
H A Dhugetlbpage.c72 follow_huge_addr(struct mm_struct *mm, unsigned long address, int write) argument
89 pmd_t *pmd, int write)
88 follow_huge_pmd(struct mm_struct *mm, unsigned long address, pmd_t *pmd, int write) argument
H A Dfault.c36 static void __kprobes __do_page_fault(struct pt_regs *regs, unsigned long write, argument
49 current->comm, current->pid, field, address, write,
115 if (write) {
126 field, address, write,
136 field, address, write,
203 tsk->thread.error_code = write;
208 write ? "write access to" : "read access from",
266 write ? "write acces
321 do_page_fault(struct pt_regs *regs, unsigned long write, unsigned long address) argument
[all...]
H A Dgup.c38 int write, struct page **pages, int *nr)
46 pte_special(pte) || (write && !pte_write(pte))) {
72 int write, struct page **pages, int *nr)
78 if (write && !pte_write(pte))
102 int write, struct page **pages, int *nr)
126 if (!gup_huge_pmd(pmd, addr, next, write, pages,nr))
129 if (!gup_pte_range(pmd, addr, next, write, pages,nr))
138 int write, struct page **pages, int *nr)
144 if (write && !pte_write(pte))
168 int write, struc
37 gup_pte_range(pmd_t pmd, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
71 gup_huge_pmd(pmd_t pmd, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
101 gup_pmd_range(pud_t pud, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
137 gup_huge_pud(pud_t pud, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
167 gup_pud_range(pgd_t pgd, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
196 __get_user_pages_fast(unsigned long start, int nr_pages, int write, struct page **pages) argument
263 get_user_pages_fast(unsigned long start, int nr_pages, int write, struct page **pages) argument
[all...]
/arch/powerpc/include/asm/
H A Dscom.h17 * along with this program; if not, write to the Free Software
58 int (*write)(scom_map_t map, u64 reg, u64 value); member in struct:scom_controller
154 * @value: Value to write
160 return scom_controller->write(map, reg, value);
/arch/score/mm/
H A Dfault.c21 * along with this program; if not, see the file COPYING, or write
43 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long write, argument
99 if (write) {
140 tsk->thread.error_code = write;
/arch/sh/mm/
H A Dhugetlbpage.c71 unsigned long address, int write)
87 pmd_t *pmd, int write)
70 follow_huge_addr(struct mm_struct *mm, unsigned long address, int write) argument
86 follow_huge_pmd(struct mm_struct *mm, unsigned long address, pmd_t *pmd, int write) argument
H A Dgup.c75 unsigned long end, int write, struct page **pages, int *nr)
82 if (write)
86 if (write)
90 if (write)
120 int write, struct page **pages, int *nr)
132 if (!gup_pte_range(pmd, addr, next, write, pages, nr))
140 int write, struct page **pages, int *nr)
152 if (!gup_pmd_range(pud, addr, next, write, pages, nr))
163 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, argument
177 if (unlikely(!access_ok(write
74 gup_pte_range(pmd_t pmd, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
119 gup_pmd_range(pud_t pud, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
139 gup_pud_range(pgd_t pgd, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
217 get_user_pages_fast(unsigned long start, int nr_pages, int write, struct page **pages) argument
[all...]
/arch/um/drivers/
H A Dchan_user.h23 int (*write)(int, const char *, int, void *); member in struct:chan_ops
/arch/mips/include/asm/
H A Dpmon.h18 int (*write) (int, void*, int); member in struct:callvectors
36 #define pmon_write(fd, buf, count) debug_vectors->write(fd, buf, count)
/arch/mips/lasat/
H A Dsysctl.c15 * with this program; if not, write to the Free Software Foundation, Inc.,
42 int proc_dolasatstring(struct ctl_table *table, int write, argument
47 r = proc_dostring(table, write, buffer, lenp, ppos);
48 if ((!write) || r)
56 /* proc function to write EEPROM after changing int entry */
57 int proc_dolasatint(struct ctl_table *table, int write, argument
62 r = proc_dointvec(table, write, buffer, lenp, ppos);
63 if ((!write) || r)
74 /* proc function to read/write RealTime Clock */
75 int proc_dolasatrtc(struct ctl_table *table, int write, argument
100 proc_lasat_ip(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
160 proc_lasat_prid(struct ctl_table *table, int write, void *buffer, size_t *lenp, loff_t *ppos) argument
[all...]
/arch/x86/mm/
H A Dhugetlbpage.c21 follow_huge_addr(struct mm_struct *mm, unsigned long address, int write)
57 pmd_t *pmd, int write)
64 follow_huge_addr(struct mm_struct *mm, unsigned long address, int write) argument
/arch/ia64/mm/
H A Dhugetlbpage.c92 struct page *follow_huge_addr(struct mm_struct *mm, unsigned long addr, int write) argument
118 follow_huge_pmd(struct mm_struct *mm, unsigned long address, pmd_t *pmd, int write) argument
/arch/m68k/mm/
H A Dmcfmmu.c84 int cf_tlb_miss(struct pt_regs *regs, int write, int dtlb, int extension_word) argument
123 if (write) {
/arch/metag/kernel/perf/
H A Dperf_event.h31 * older cores will clear the counter bits on write.
65 * @write: write a value to a counter
84 void (*write)(int idx, u32 val); member in struct:metag_pmu
/arch/metag/mm/
H A Dhugetlbpage.c98 unsigned long address, int write)
114 pmd_t *pmd, int write)
97 follow_huge_addr(struct mm_struct *mm, unsigned long address, int write) argument
113 follow_huge_pmd(struct mm_struct *mm, unsigned long address, pmd_t *pmd, int write) argument
/arch/powerpc/mm/
H A Dgup.c25 unsigned long end, int write, struct page **pages, int *nr)
31 if (write)
64 int write, struct page **pages, int *nr)
92 write, pages, nr))
96 addr, next, write, pages, nr))
98 } else if (!gup_pte_range(pmd, addr, next, write, pages, nr))
106 int write, struct page **pages, int *nr)
120 write, pages, nr))
124 addr, next, write, pages, nr))
126 } else if (!gup_pmd_range(pud, addr, next, write, page
24 gup_pte_range(pmd_t pmd, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
63 gup_pmd_range(pud_t pud, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
105 gup_pud_range(pgd_t pgd, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
133 __get_user_pages_fast(unsigned long start, int nr_pages, int write, struct page **pages) argument
201 get_user_pages_fast(unsigned long start, int nr_pages, int write, struct page **pages) argument
[all...]
/arch/s390/mm/
H A Dgup.c21 unsigned long end, int write, struct page **pages, int *nr)
27 mask = (write ? _PAGE_PROTECT : 0) | _PAGE_INVALID | _PAGE_SPECIAL;
52 unsigned long end, int write, struct page **pages, int *nr)
58 result = write ? 0 : _SEGMENT_ENTRY_PROTECT;
103 unsigned long end, int write, struct page **pages, int *nr)
131 write, pages, nr))
134 write, pages, nr))
142 unsigned long end, int write, struct page **pages, int *nr)
159 if (!gup_pmd_range(pudp, pud, addr, next, write, pages, nr))
170 int __get_user_pages_fast(unsigned long start, int nr_pages, int write, argument
20 gup_pte_range(pmd_t *pmdp, pmd_t pmd, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
51 gup_huge_pmd(pmd_t *pmdp, pmd_t pmd, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
102 gup_pmd_range(pud_t *pudp, pud_t pud, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
141 gup_pud_range(pgd_t *pgdp, pgd_t pgd, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
224 get_user_pages_fast(unsigned long start, int nr_pages, int write, struct page **pages) argument
[all...]
H A Dhugetlbpage.c27 * read-write, clean, old .11...110001 -> 00..0...1...11
28 * read-write, clean, young .01...110101 -> 01..0...0...11
29 * read-write, dirty, old .10...111001 -> 10..0...1...11
30 * read-write, dirty, young .00...111101 -> 11..0...0...11
61 * read-write, clean, old 00..0...1...11 -> .10...110001
62 * read-write, clean, young 01..0...1...11 -> .10...110101
63 * read-write, dirty, old 10..0...1...11 -> .10...111001
64 * read-write, dirty, young 11..0...1...11 -> .10...111101
196 int write)
215 pmd_t *pmdp, int write)
195 follow_huge_addr(struct mm_struct *mm, unsigned long address, int write) argument
214 follow_huge_pmd(struct mm_struct *mm, unsigned long address, pmd_t *pmdp, int write) argument
[all...]
/arch/sparc/mm/
H A Dfault_32.c167 asmlinkage void do_sparc_fault(struct pt_regs *regs, int text_fault, int write, argument
225 if (write) {
229 /* Allow reads even for write-only mappings */
236 if (write)
382 static void force_user_fault(unsigned long address, int write) argument
404 if (write) {
H A Dgup.c21 unsigned long end, int write, struct page **pages, int *nr)
28 if (write)
32 if (write)
70 unsigned long end, int write, struct page **pages,
79 if (write && !pmd_write(pmd))
119 int write, struct page **pages, int *nr)
133 write, pages, nr))
135 } else if (!gup_pte_range(pmd, addr, next, write,
144 int write, struct page **pages, int *nr)
156 if (!gup_pmd_range(pud, addr, next, write, page
20 gup_pte_range(pmd_t pmd, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
69 gup_huge_pmd(pmd_t *pmdp, pmd_t pmd, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
118 gup_pmd_range(pud_t pud, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
143 gup_pud_range(pgd_t pgd, unsigned long addr, unsigned long end, int write, struct page **pages, int *nr) argument
163 __get_user_pages_fast(unsigned long start, int nr_pages, int write, struct page **pages) argument
193 get_user_pages_fast(unsigned long start, int nr_pages, int write, struct page **pages) argument
[all...]
H A Dhugetlbpage.c219 unsigned long address, int write)
235 pmd_t *pmd, int write)
218 follow_huge_addr(struct mm_struct *mm, unsigned long address, int write) argument
234 follow_huge_pmd(struct mm_struct *mm, unsigned long address, pmd_t *pmd, int write) argument

Completed in 517 milliseconds

123