Home
last modified time | relevance | path

Searched refs:shmem (Results 1 – 21 of 21) sorted by relevance

/linux-4.1.27/drivers/isdn/icn/
Dicn.h176 icn_shmem __iomem *shmem; /* Pointer to memory-mapped-buffers */ member
205 #define sbfree (((readb(&dev.shmem->data_control.scns) + 1) & 0xf) != \
206 readb(&dev.shmem->data_control.scnr))
209 #define sbnext (writeb((readb(&dev.shmem->data_control.scns) + 1) & 0xf, \
210 &dev.shmem->data_control.scns))
213 #define sbuf_n dev.shmem->data_control.scns
214 #define sbuf_d dev.shmem->data_buffers.send_buf[readb(&sbuf_n)].data
215 #define sbuf_l dev.shmem->data_buffers.send_buf[readb(&sbuf_n)].length
216 #define sbuf_f dev.shmem->data_buffers.send_buf[readb(&sbuf_n)].endflag
219 #define rbavl (readb(&dev.shmem->data_control.ecnr) != \
[all …]
Dicn.c621 c = readb(&dev.shmem->comm_buffers.iopc_buf[i & 0xff]); in icn_polldchan()
755 if (readb(&dev.shmem->data_control.scns) || in icn_check_loader()
756 readb(&dev.shmem->data_control.scnr)) { in icn_check_loader()
840 dev.shmem = ioremap(dev.memaddr, 0x4000); in icn_loadboot()
859 memcpy_toio(dev.shmem, codebuf, ICN_CODE_STAGE1); /* Copy code */ in icn_loadboot()
874 memcpy_toio(dev.shmem, codebuf, ICN_CODE_STAGE1); /* Copy code */ in icn_loadboot()
1062 &dev.shmem->comm_buffers.pcio_buf[pp & 0xff]); in icn_writecmd()
1180 iounmap(dev.shmem); in icn_command()
1686 iounmap(dev.shmem); in icn_exit()
/linux-4.1.27/drivers/net/arcnet/
Dcom90xx.c58 static int com90xx_found(int ioaddr, int airq, u_long shmem, void __iomem *);
107 static int shmem; variable
112 module_param(shmem, int, 0);
127 if (!io && !irq && !shmem && !*device && com90xx_skip_probe) in com90xx_probe()
150 if (shmem) in com90xx_probe()
151 shmems[numshmems++] = shmem; in com90xx_probe()
458 static int __init com90xx_found(int ioaddr, int airq, u_long shmem, void __iomem *p) in com90xx_found() argument
470 release_mem_region(shmem, MIRROR_SIZE); in com90xx_found()
482 check_mirror(shmem - MIRROR_SIZE, MIRROR_SIZE) == 0 && in com90xx_found()
483 check_mirror(shmem - 2 * MIRROR_SIZE, MIRROR_SIZE) == 1) in com90xx_found()
[all …]
Darc-rimi.c146 unsigned long first_mirror, last_mirror, shmem; in arcrimi_found() local
166 shmem = dev->mem_start; in arcrimi_found()
178 check_mirror(shmem - MIRROR_SIZE, MIRROR_SIZE) == 0 && in arcrimi_found()
179 check_mirror(shmem - 2 * MIRROR_SIZE, MIRROR_SIZE) == 1) in arcrimi_found()
182 first_mirror = shmem - mirror_size; in arcrimi_found()
187 last_mirror = shmem + mirror_size; in arcrimi_found()
214 release_mem_region(shmem, MIRROR_SIZE); in arcrimi_found()
/linux-4.1.27/Documentation/cgroups/
Dmemcg_test.txt89 The best way to understand shmem's page state transition is to read
90 mm/shmem.c.
91 But brief explanation of the behavior of memcg around shmem will be
95 - radix-tree of shmem's inode.
101 - A new page is added to shmem's radix-tree.
133 Historically, memcg's shmem handling was poor and we saw some amount
134 of troubles here. This is because shmem is page-cache but can be
135 SwapCache. Test with shmem/tmpfs is always good test.
Dmemory.txt205 When you do swapoff and make swapped-out pages of shmem(tmpfs) to
207 caller of swapoff rather than the users of shmem.
489 mapped_file - # of bytes of mapped file (includes tmpfs/shmem)
535 (Note: file and shmem may be shared among other cgroups. In that case,
/linux-4.1.27/drivers/isdn/sc/
DMakefile9 sc-y := shmem.o init.o packet.o command.o event.o \
/linux-4.1.27/drivers/net/ethernet/8390/
Dmac8390.c764 long shmem = (start_page - WD_START_PG)<<8; in sane_block_output() local
766 memcpy_toio(dev->mem_start + shmem, buf, count); in sane_block_output()
806 long shmem = (start_page - WD_START_PG)<<8; in dayna_block_output() local
808 dayna_memcpy_tocard(dev, shmem, buf, count); in dayna_block_output()
845 long shmem = (start_page - WD_START_PG)<<8; in slow_sane_block_output() local
847 word_memcpy_tocard(dev->mem_start + shmem, buf, count); in slow_sane_block_output()
Dwd.c466 void __iomem *shmem = ei_status.mem + ((start_page - WD_START_PG)<<8); in wd_block_output() local
472 memcpy_toio(shmem, buf, count); in wd_block_output()
475 memcpy_toio(shmem, buf, count); in wd_block_output()
Dsmc-ultra.c487 void __iomem *shmem = ei_status.mem + ((start_page - START_PG)<<8); in ultra_block_output() local
492 memcpy_toio(shmem, buf, count); in ultra_block_output()
Dpcnet_cs.c1392 void __iomem *shmem = ei_status.mem + (start_page << 8); in shmem_block_output() local
1393 shmem -= ei_status.tx_start_page << 8; in shmem_block_output()
1394 copyout(shmem, buf, count); in shmem_block_output()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
DTODO8 . GEM/shmem backed pages can have existing mappings (kernel linear map,
/linux-4.1.27/Documentation/namespaces/
Dcompatibility-list.txt24 or IPC shmem/message. The fact is that this ID is only valid
/linux-4.1.27/mm/
DMakefile19 readahead.o swap.o truncate.o vmscan.o shmem.o \
/linux-4.1.27/Documentation/networking/
Darcnet.txt129 com90xx=[<io>[,<irq>[,<shmem>]]][,<name>] | <name>
132 io=<io> irq=<irq> shmem=<shmem> device=<name>
160 you have so many ARCnet cards in your machine that you run out of shmem slots.
175 arcrimi=<shmem>,<irq>,<node_ID>[,<name>]
178 shmem=<shmem> irq=<irq> node=<node_ID> device=<name>
/linux-4.1.27/Documentation/vm/
Dnuma_memory_policy.txt115 added to hugetlbfs shmem segments. At the time, hugetlbfs did not
117 shmem segments were never "hooked up" to the shared policy support.
/linux-4.1.27/drivers/isdn/hisax/
DKconfig98 non-standard IRQ/port/shmem settings.
/linux-4.1.27/init/
DKconfig1549 bool "Use full shmem filesystem" if EXPERT
1553 The shmem is an internal filesystem used to manage shared memory.
1556 option replaces shmem and tmpfs with the much simpler ramfs code,
/linux-4.1.27/Documentation/
Ddma-buf-sharing.txt458 shmem file already provided by gem (and set vm_pgoff = 0). Exporters can then
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c9444 u32 shmem; in bnx2x_reset_mcp_prep() local
9454 shmem = REG_RD(bp, MISC_REG_SHARED_MEM_ADDR); in bnx2x_reset_mcp_prep()
9459 if (shmem > 0) in bnx2x_reset_mcp_prep()
9460 REG_WR(bp, shmem + validity_offset, 0); in bnx2x_reset_mcp_prep()
/linux-4.1.27/
DMAINTAINERS10042 F: mm/shmem.c