Debian Codegraph @

templates/man2/remap_file_pages.2.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "remap_file_pages"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "remap_file_pages - create a nonlinear file mapping"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid ""
77 "B<#define _GNU_SOURCE> /* See feature_test_macros(7) */\n"
78 "B<#include E<lt>sys/mman.hE<gt>>\n"
79 msgstr ""
80
81 #. type: Plain text
82 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
83 #: opensuse-tumbleweed
84 #, no-wrap
85 msgid ""
86 "B<[[deprecated]] int remap_file_pages(>size_t size;\n"
87 "B< void >I<addr>B<[>I<size>B<], size_t >I<size>B<,>\n"
88 "B< int >I<prot>B<, size_t >I<pgoff>B<, int >I<flags>B<);>\n"
89 msgstr ""
90
91 #. type: SH
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 #, no-wrap
95 msgid "DESCRIPTION"
96 msgstr ""
97
98 #. commit 33041a0d76d3c3e0aff28ac95a2ffdedf1282dbc
99 #. http://lwn.net/Articles/597632/
100 #. commit c8d78c1823f46519473949d33f0d1d33fe21ea16
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 msgid ""
105 "B<Note>: this system call was marked as deprecated starting with Linux "
106 "3.16. In Linux 4.0, the implementation was replaced by a slower in-kernel "
107 "emulation. Those few applications that use this system call should consider "
108 "migrating to alternatives. This change was made because the kernel code for "
109 "this system call was complex, and it is believed to be little used or "
110 "perhaps even completely unused. While it had some use cases in database "
111 "applications on 32-bit systems, those use cases don't exist on 64-bit "
112 "systems."
113 msgstr ""
114
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid ""
119 "The B<remap_file_pages>() system call is used to create a nonlinear "
120 "mapping, that is, a mapping in which the pages of the file are mapped into a "
121 "nonsequential order in memory. The advantage of using "
122 "B<remap_file_pages>() over using repeated calls to B<mmap>(2) is that the "
123 "former approach does not require the kernel to create additional VMA "
124 "(Virtual Memory Area) data structures."
125 msgstr ""
126
127 #. type: Plain text
128 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
129 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
130 msgid "To create a nonlinear mapping we perform the following steps:"
131 msgstr ""
132
133 #. type: TP
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 #, no-wrap
137 msgid "1."
138 msgstr ""
139
140 #. type: Plain text
141 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
142 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
143 msgid ""
144 "Use B<mmap>(2) to create a mapping (which is initially linear). This "
145 "mapping must be created with the B<MAP_SHARED> flag."
146 msgstr ""
147
148 #. type: TP
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 #, no-wrap
152 msgid "2."
153 msgstr ""
154
155 #. type: Plain text
156 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
157 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
158 msgid ""
159 "Use one or more calls to B<remap_file_pages>() to rearrange the "
160 "correspondence between the pages of the mapping and the pages of the file. "
161 "It is possible to map the same page of a file into multiple locations within "
162 "the mapped region."
163 msgstr ""
164
165 #. type: Plain text
166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
168 msgid ""
169 "The I<pgoff> and I<size> arguments specify the region of the file that is to "
170 "be relocated within the mapping: I<pgoff> is a file offset in units of the "
171 "system page size; I<size> is the length of the region in bytes."
172 msgstr ""
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid ""
178 "The I<addr> argument serves two purposes. First, it identifies the mapping "
179 "whose pages we want to rearrange. Thus, I<addr> must be an address that "
180 "falls within a region previously mapped by a call to B<mmap>(2). Second, "
181 "I<addr> specifies the address at which the file pages identified by I<pgoff> "
182 "and I<size> will be placed."
183 msgstr ""
184
185 #. This rounding is weird, and not consistent with the treatment of
186 #. the analogous arguments for munmap()/mprotect() and for mlock().
187 #. MTK, 14 Sep 2005
188 #. type: Plain text
189 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
190 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
191 msgid ""
192 "The values specified in I<addr> and I<size> should be multiples of the "
193 "system page size. If they are not, then the kernel rounds I<both> values "
194 "I<down> to the nearest multiple of the page size."
195 msgstr ""
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 msgid "The I<prot> argument must be specified as 0."
201 msgstr ""
202
203 #. type: Plain text
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 msgid ""
207 "The I<flags> argument has the same meaning as for B<mmap>(2), but all flags "
208 "other than B<MAP_NONBLOCK> are ignored."
209 msgstr ""
210
211 #. type: SH
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid "RETURN VALUE"
216 msgstr ""
217
218 #. type: Plain text
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 msgid ""
222 "On success, B<remap_file_pages>() returns 0. On error, -1 is returned, and "
223 "I<errno> is set to indicate the error."
224 msgstr ""
225
226 #. type: SH
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 #, no-wrap
230 msgid "ERRORS"
231 msgstr ""
232
233 #. type: TP
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 #, no-wrap
237 msgid "B<EINVAL>"
238 msgstr ""
239
240 #. type: Plain text
241 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
242 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
243 msgid ""
244 "I<addr> does not refer to a valid mapping created with the B<MAP_SHARED> "
245 "flag."
246 msgstr ""
247
248 #. And possibly others from vma->vm_ops->populate()
249 #. type: Plain text
250 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
251 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
252 msgid "I<addr>, I<size>, I<prot>, or I<pgoff> is invalid."
253 msgstr ""
254
255 #. type: SH
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 #, no-wrap
259 msgid "STANDARDS"
260 msgstr ""
261
262 #. type: Plain text
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 msgid "Linux."
266 msgstr ""
267
268 #. type: SH
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "HISTORY"
273 msgstr ""
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid "Linux 2.5.46, glibc 2.3.3."
279 msgstr ""
280
281 #. type: SH
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid "NOTES"
286 msgstr ""
287
288 #. commit 3ee6dafc677a68e461a7ddafc94a580ebab80735
289 #. type: Plain text
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 msgid ""
293 "Since Linux 2.6.23, B<remap_file_pages>() creates non-linear mappings only "
294 "on in-memory filesystems such as B<tmpfs>(5), hugetlbfs or ramfs. On "
295 "filesystems with a backing store, B<remap_file_pages>() is not much more "
296 "efficient than using B<mmap>(2) to adjust which parts of the file are "
297 "mapped to which addresses."
298 msgstr ""
299
300 #. type: SH
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 #, no-wrap
304 msgid "SEE ALSO"
305 msgstr ""
306
307 #. type: Plain text
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 msgid ""
311 "B<getpagesize>(2), B<mmap>(2), B<mmap2>(2), B<mprotect>(2), B<mremap>(2), "
312 "B<msync>(2)"
313 msgstr ""
314
315 #. type: TH
316 #: debian-trixie
317 #, no-wrap
318 msgid "2024-05-02"
319 msgstr ""
320
321 #. type: TH
322 #: debian-trixie
323 #, no-wrap
324 msgid "Linux man-pages 6.9.1"
325 msgstr ""
326
327 #. type: Plain text
328 #: debian-trixie
329 msgid "Standard C library (I<libc>, I<-lc>)"
330 msgstr ""
331
332 #. type: Plain text
333 #: debian-trixie fedora-44 fedora-rawhide
334 #, no-wrap
335 msgid ""
336 "B<[[deprecated]] int remap_file_pages(void >I<addr>B<[.>I<size>B<], size_t >I<size>B<,>\n"
337 "B< int >I<prot>B<, size_t >I<pgoff>B<, int >I<flags>B<);>\n"
338 msgstr ""
339
340 #. type: TH
341 #: fedora-44 fedora-rawhide
342 #, no-wrap
343 msgid "2024-07-23"
344 msgstr ""
345
346 #. type: TH
347 #: fedora-44 fedora-rawhide
348 #, no-wrap
349 msgid "Linux man-pages 6.13"
350 msgstr ""
351
352 #. type: TH
353 #: mageia-cauldron
354 #, no-wrap
355 msgid "Linux man-pages 6.17"
356 msgstr ""
357
358 #. type: TH
359 #: opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "Linux man-pages (unreleased)"
362 msgstr ""