Searched refs:filemap (Results 1 - 10 of 10) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/router/hotplug2/
H A Dfilemap_utils.c19 int map_file(char *filename, struct filemap_t *filemap) { argument
22 filemap->fd = open(filename, O_RDONLY);
23 if (filemap->fd == -1) {
27 if (fstat(filemap->fd, &statbuf)) {
28 close(filemap->fd);
32 filemap->size = statbuf.st_size;
34 filemap->map = mmap(0, filemap->size, PROT_READ, MAP_SHARED, filemap->fd, 0);
35 if (filemap
43 unmap_file(struct filemap_t *filemap) argument
[all...]
H A Dhotplug2.c398 void *filemap; local
445 filemap = MAP_FAILED;
459 filemap = mmap(0, statbuf.st_size, PROT_READ, MAP_SHARED, rule_fd, 0);
460 if (filemap == MAP_FAILED) {
466 rules = rules_from_config((char*)filemap);
473 if (filemap != MAP_FAILED)
474 munmap(filemap, statbuf.st_size);
/netgear-WNDR4500-V1.0.1.40_1.0.68/ap/gpl/timemachine/expat-2.0.1/xmlwf/
H A Dfilemap.h8 int filemap(const wchar_t *name,
13 int filemap(const char *name,
H A Dreadfilemap.c41 #include "filemap.h"
44 filemap(const char *name, function
H A Dunixfilemap.c18 #include "filemap.h"
21 filemap(const char *name, function
H A Dwin32filemap.c21 #include "filemap.h"
26 filemap(const TCHAR *name, function
H A Dxmlfile.c26 #include "filemap.h"
146 if (!filemap(filename, processFile, &args))
238 if (!filemap(filename, processFile, &args))
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/mm/
H A DMakefile10 obj-y := bootmem.o filemap.o mempool.o oom_kill.o fadvise.o \
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/md/
H A Dbitmap.c609 * return a pointer to the page in the filemap that contains the given bit
619 return bitmap->filemap[file_page_index(chunk) - file_page_index(0)];
631 map = bitmap->filemap;
632 bitmap->filemap = NULL;
740 if (!bitmap->filemap) {
780 if (!bitmap->filemap) {
784 page = bitmap->filemap[i];
859 bitmap->filemap = kmalloc(sizeof(struct page *) * num_pages, GFP_KERNEL);
860 if (!bitmap->filemap)
918 /* release, page not in filemap ye
[all...]
/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/linux/raid/
H A Dbitmap.h232 struct page **filemap; /* list of cache pages for the file */ member in struct:bitmap
233 unsigned long *filemap_attr; /* attributes associated w/ filemap pages */

Completed in 94 milliseconds