/linux/Documentation/ABI/testing/ |
H A D | sysfs-block-bcache | 5 A write to this file causes the backing device or cache to be 6 unregistered. If a backing device had dirty data in the cache, 9 all associated backing devices before unregistering themselves. 21 For a backing device that has cache, a symlink to 28 For backing devices: integer number of full cache hits, 35 For backing devices: integer number of cache misses. 41 For backing devices: cache hits as a percentage. 47 For backing devices: Threshold past which sequential IO will 63 For backing devices: When on, writeback caching is enabled and 72 For backing devices: when off, dirty data will not be written [all …]
|
/linux/Documentation/admin-guide/ |
H A D | bcache.rst | 30 dirty data to the backing device is always done sequentially, scanning from the 48 and backing device must be formatted before use:: 54 you format your backing devices and cache device at the same time, you won't 69 Registering the backing device makes the bcache device show up in /dev; you can 73 slow devices as bcache backing devices without a cache, and you can choose to add 101 After your cache device and backing device are registered, the backing device 102 must be attached to your cache set to enable caching. Attaching a backing 109 your bcache devices. If a backing device has data in a cache somewhere, the 114 can force run the backing device:: 118 (You need to use /sys/block/sdb (or whatever your backing device is called), not [all …]
|
/linux/Documentation/usb/ |
H A D | mass-storage.rst | 10 multiple logical units (LUNs). Backing storage for each LUN is 41 backing storage for each logical unit. There may be at most 45 *BEWARE* that if a file is used as a backing storage, it may not 53 simulating CD-ROM, block size of the device if the backing file is 64 backing file will be closed to simulate ejection and the logical 65 unit will not be mountable by the host until a new backing file is 69 If a logical unit is not removable (the default), a backing file 96 backing files. 99 backing file could not be opened in read/write mode, the gadget 163 When read it returns the path to the backing file for the given [all …]
|
/linux/arch/x86/kernel/cpu/sgx/ |
H A D | encl.c | 16 struct sgx_backing *backing); 37 * The backing storage to which enclave pages are reclaimed is laid out as 92 * to ensure that the page is not already in backing store. in reclaimer_writing_to_pcmd() 106 * follow right after the EPC data in the backing storage. In addition to the 119 * Free a page from the backing storage in the given page index. 123 struct inode *inode = file_inode(encl->backing); in sgx_encl_truncate_backing_page() 320 * When an initialized enclave accesses a page with no backing EPC page 756 if (encl->backing) in sgx_encl_release() 757 fput(encl->backing); in sgx_encl_release() 952 struct address_space *mapping = encl->backing->f_mapping; in sgx_encl_get_backing_page() [all …]
|
H A D | main.c | 161 struct sgx_backing *backing) in __sgx_encl_ewb() argument 169 pginfo.contents = (unsigned long)kmap_local_page(backing->contents); in __sgx_encl_ewb() 170 pginfo.metadata = (unsigned long)kmap_local_page(backing->pcmd) + in __sgx_encl_ewb() 171 backing->pcmd_offset; in __sgx_encl_ewb() 174 set_page_dirty(backing->pcmd); in __sgx_encl_ewb() 175 set_page_dirty(backing->contents); in __sgx_encl_ewb() 178 backing->pcmd_offset)); in __sgx_encl_ewb() 199 struct sgx_backing *backing) in sgx_encl_ewb() argument 217 ret = __sgx_encl_ewb(epc_page, va_slot, backing); in sgx_encl_ewb() 225 ret = __sgx_encl_ewb(epc_page, va_slot, backing); in sgx_encl_ewb() [all …]
|
H A D | encl.h | 64 struct file *backing; member 111 struct sgx_backing *backing); 112 void sgx_encl_put_backing(struct sgx_backing *backing);
|
/linux/drivers/md/bcache/ |
H A D | bcache_ondisk.h | 140 * Version 1: Backing device 143 * Version 4: Backing device with data offset 198 /* Backing devices */ 203 * backing devices, so don't add anything here until we fix 204 * things to not need it for backing devices anymore 257 /* Backing devices */ 262 * backing devices, so don't add anything here until we fix 263 * things to not need it for backing devices anymore 385 /* UUIDS - per backing device/flash only volume metadata */ 435 /* UUIDS - per backing device/flash only volume metadata */
|
/linux/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_hmc.c | 48 /* allocate a 4K pd page or 2M backing page */ in i40e_add_sd_table_entry() 74 /* Increment backing page reference count */ in i40e_add_sd_table_entry() 136 /* allocate a 4K backing page */ in i40e_add_pd_table_entry() 154 /* Add the backing page physical address in the pd entry */ in i40e_add_pd_table_entry() 167 * i40e_remove_pd_bp - remove a backing page from a page descriptor 175 * 2. Write to register PMPDINV to invalidate the backing page in FV cache 178 * 1. Caller can deallocate the memory used by backing storage after this 233 * i40e_prep_remove_sd_bp - Prepares to remove a backing page from a sd entry 259 * i40e_remove_sd_bp_new - Removes a backing page from a segment descriptor
|
H A D | i40e_lan_hmc.c | 30 * @txq_num: number of Tx queues needing backing context 31 * @rxq_num: number of Rx queues needing backing context 32 * @fcoe_cntx_num: amount of FCoE statefull contexts needing backing context 33 * @fcoe_filt_num: number of FCoE filters needing backing context 61 * @txq_num: number of Tx queues needing backing context 62 * @rxq_num: number of Rx queues needing backing context 63 * @fcoe_cntx_num: amount of FCoE statefull contexts needing backing context 64 * @fcoe_filt_num: number of FCoE filters needing backing context 223 * 2. write to register PMPDINV to invalidate the backing page in FV cache 242 * i40e_remove_sd_bp - remove a backing page from a segment descriptor [all …]
|
/linux/Documentation/admin-guide/mm/ |
H A D | nommu-mmap.rst | 45 - If possible, the file mapping will be directly on the backing device 46 if the backing device has the NOMMU_MAP_DIRECT capability and 50 - If the backing device can't or won't permit direct sharing, 64 the mapping's backing pages. The page is then backed by swap instead. 72 pages written back to file; writes to file reflected into pages backing 113 paged aligned in the backing store. 158 allocated if mmap() chooses not to map the backing device directly. An 211 The driver should also provide backing device information with capabilities set 260 Memory backed devices are indicated by the mapping's backing device info having
|
/linux/include/uapi/linux/ |
H A D | fs.h | 431 * have file backing. Can be combined with PROCMAP_QUERY_COVERING_OR_NEXT_VMA 432 * to iterate all VMAs with file backing. 484 /* VMA backing page size granularity. */ 487 * VMA file offset. If VMA has file backing, this specifies offset 489 * Is set to zero if VMA has no backing file. 492 /* Backing file's inode number, or zero, if VMA has no backing file. */ 494 /* Backing file's device major/minor number, or zero, if VMA has no backing file. */ 499 * (i.e., VMA's backing file's absolute path, with " (deleted)" suffix 519 * VMA's backing file's build ID, if the backing file is an ELF file 522 * Kernel will set this field to zero, if VMA has no backing file, [all …]
|
/linux/tools/include/uapi/linux/ |
H A D | fs.h | 428 * have file backing. Can be combined with PROCMAP_QUERY_COVERING_OR_NEXT_VMA 429 * to iterate all VMAs with file backing. 481 /* VMA backing page size granularity. */ 484 * VMA file offset. If VMA has file backing, this specifies offset 486 * Is set to zero if VMA has no backing file. 489 /* Backing file's inode number, or zero, if VMA has no backing file. */ 491 /* Backing file's device major/minor number, or zero, if VMA has no backing file. */ 496 * (i.e., VMA's backing file's absolute path, with " (deleted)" suffix 516 * VMA's backing file's build ID, if the backing file is an ELF file 519 * Kernel will set this field to zero, if VMA has no backing file, [all …]
|
/linux/tools/perf/trace/beauty/include/uapi/linux/ |
H A D | fs.h | 431 * have file backing. Can be combined with PROCMAP_QUERY_COVERING_OR_NEXT_VMA 432 * to iterate all VMAs with file backing. 484 /* VMA backing page size granularity. */ 487 * VMA file offset. If VMA has file backing, this specifies offset 489 * Is set to zero if VMA has no backing file. 492 /* Backing file's inode number, or zero, if VMA has no backing file. */ 494 /* Backing file's device major/minor number, or zero, if VMA has no backing file. */ 499 * (i.e., VMA's backing file's absolute path, with " (deleted)" suffix 519 * VMA's backing file's build ID, if the backing file is an ELF file 522 * Kernel will set this field to zero, if VMA has no backing file, [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_gem_framebuffer_helper.c | 34 * &drm_framebuffer and use &drm_gem_object for their backing storage. 42 * drm_gem_fb_get_obj() - Get GEM object backing the framebuffer 93 * Frees a GEM backed framebuffer with its backing buffer(s) and the structure 115 * This function creates a handle for the GEM object backing the framebuffer. 137 * @file: DRM file that holds the GEM handle(s) backing the framebuffer 222 * @file: DRM file that holds the GEM handle(s) backing the framebuffer 264 * @file: DRM file that holds the GEM handle(s) backing the framebuffer 269 * backing the framebuffer. 301 * @file: DRM file that holds the GEM handle(s) backing the framebuffer 306 * backing the framebuffer. drm_atomic_helper_dirtyfb() is used for the dirty
|
H A D | drm_gem_shmem_helper.c | 223 * drm_gem_shmem_put_pages - Decrease use count on the backing pages for a shmem GEM object 226 * This function decreases the use count and puts the backing pages when use drops to zero. 275 * drm_gem_shmem_pin - Pin backing pages for a shmem GEM object 278 * This function makes sure the backing pages are pinned in memory while the 302 * drm_gem_shmem_unpin - Unpin backing pages for a shmem GEM object 305 * This function removes the requirement that the backing pages are pinned in 323 * @map: Returns the kernel virtual address of the SHMEM GEM object's backing 327 * exists for the buffer backing the shmem GEM object. It hides the differences 489 * backing pages, *now*. in drm_gem_shmem_purge() 745 * This is the main function for drivers to get at backing storage, and it hides
|
/linux/fs/romfs/ |
H A D | Kconfig | 20 # Select the backing stores to be supported 23 prompt "RomFS backing stores" 27 Select the backing stores to be supported.
|
/linux/drivers/gpu/drm/tests/ |
H A D | drm_gem_shmem_test.c | 124 * Test pinning backing pages for a shmem GEM object. The test case 125 * succeeds if a suitable number of backing pages are allocated, and 157 * case succeeds if the backing memory is mapped and the reference 194 * scatter/gather table large enough to accommodate the backing memory 233 * backing pages are pinned and a scatter/gather table large enough to 234 * accommodate the backing memory is successfully exported. 303 * backing pages. Finally, assert that the shmem GEM object is now
|
/linux/include/xen/ |
H A D | xen-front-pgdir-shbuf.h | 35 /* Page directory backing storage. */ 44 * Backing storage of the shared buffer: these are the pages being 61 /* Number of pages of the buffer backing storage. */
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | vfdi.h | 130 * @u.init_evq.buf_count: Number of 4k buffers backing event queue. 132 * address of each page backing the event queue. 134 * @u.init_rxq.buf_count: Number of 4k buffers backing receive queue. 139 * address of each page backing the receive queue. 141 * @u.init_txq.buf_count: Number of 4k buffers backing transmit queue. 147 * address of each page backing the transmit queue.
|
/linux/drivers/platform/surface/aggregator/ |
H A D | ssh_parser.h | 33 * @ptr: The memory backing the buffer. 34 * @cap: The length of the memory backing the buffer, i.e. its capacity. 36 * Initializes the buffer with the given memory as backing and set its used 73 * Frees a SSH parser buffer by freeing the memory backing it and then
|
/linux/drivers/infiniband/hw/irdma/ |
H A D | hmc.c | 213 * irdma_sc_create_hmc_obj - allocate backing store for hmc objects 217 * This will allocate memory for PDs and backing pages and populate 366 * the memory for PDS and backing storage. After this function is returned, 368 * book-keeping information about PDs and backing storage. 488 /* allocate a 4K pd page or 2M backing page */ in irdma_add_sd_table_entry() 600 * irdma_remove_pd_bp - remove a backing page from a page descriptor 608 * 2. Write to register PMPDINV to invalidate the backing page in FV cache 611 * 1. Caller can deallocate the memory used by backing storage after this 661 * irdma_prep_remove_sd_bp - Prepares to remove a backing page from a sd entry
|
/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_alloc.h | 17 iavf_mem_bp = 6, /* Backing Page - 4KB */ 18 iavf_mem_bp_jumbo = 7, /* Backing Page - > 4KB */
|
/linux/include/linux/ |
H A D | dma-buf.h | 69 * to signal that backing storage is already allocated and incompatible 131 * This call may sleep, e.g. when the backing storage first needs to be 143 * appropriate backing storage for the buffer. 164 * A &sg_table scatter list of the backing storage of the DMA buffer, 186 * For static dma_buf handling this might also unpin the backing 226 * example fail when the backing storage can't be allocated. Can also 264 * pointing at the backing storage. Now linux mm needs a struct 474 * backing store while mappings exists.
|
/linux/drivers/vfio/pci/pds/ |
H A D | lm.h | 21 struct page **pages; /* Backing pages for file */ 23 struct sg_table sg_table; /* SG table for backing pages */
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmw_surface_cache.h | 310 * @bytes: Bytes required in the backing store of this mipmap level. 327 * @mip_chain_bytes: Bytes required in the backing store for the whole chain 329 * @sheet_bytes: Bytes required in the backing store for a sheet 433 * backing store 436 * @offset: Offset into the surface backing store. 478 * of a touched region in the backing store *is* included in the range.
|