Searched refs:direct (Results 1 - 200 of 958) sorted by relevance

12345

/linux-4.1.27/fs/nilfs2/
H A DMakefile3 btnode.o bmap.o btree.o direct.o dat.o recovery.o \
H A Ddirect.c2 * direct.c - NILFS direct block pointer.
26 #include "direct.h"
30 static inline __le64 *nilfs_direct_dptrs(const struct nilfs_bmap *direct) nilfs_direct_dptrs() argument
33 ((struct nilfs_direct_node *)direct->b_u.u_data + 1); nilfs_direct_dptrs()
37 nilfs_direct_get_ptr(const struct nilfs_bmap *direct, __u64 key) nilfs_direct_get_ptr() argument
39 return le64_to_cpu(*(nilfs_direct_dptrs(direct) + key)); nilfs_direct_get_ptr()
42 static inline void nilfs_direct_set_ptr(struct nilfs_bmap *direct, nilfs_direct_set_ptr() argument
45 *(nilfs_direct_dptrs(direct) + key) = cpu_to_le64(ptr); nilfs_direct_set_ptr()
48 static int nilfs_direct_lookup(const struct nilfs_bmap *direct, nilfs_direct_lookup() argument
55 ptr = nilfs_direct_get_ptr(direct, key); nilfs_direct_lookup()
63 static int nilfs_direct_lookup_contig(const struct nilfs_bmap *direct, nilfs_direct_lookup_contig() argument
74 ptr = nilfs_direct_get_ptr(direct, key); nilfs_direct_lookup_contig()
78 if (NILFS_BMAP_USE_VBN(direct)) { nilfs_direct_lookup_contig()
79 dat = nilfs_bmap_get_dat(direct); nilfs_direct_lookup_contig()
88 (ptr2 = nilfs_direct_get_ptr(direct, key + cnt)) != nilfs_direct_lookup_contig()
105 nilfs_direct_find_target_v(const struct nilfs_bmap *direct, __u64 key) nilfs_direct_find_target_v() argument
109 ptr = nilfs_bmap_find_target_seq(direct, key); nilfs_direct_find_target_v()
115 return nilfs_bmap_find_target_in_group(direct); nilfs_direct_find_target_v()
176 static int nilfs_direct_seek_key(const struct nilfs_bmap *direct, __u64 start, nilfs_direct_seek_key() argument
182 if (nilfs_direct_get_ptr(direct, key) != nilfs_direct_seek_key()
191 static int nilfs_direct_last_key(const struct nilfs_bmap *direct, __u64 *keyp) nilfs_direct_last_key() argument
197 if (nilfs_direct_get_ptr(direct, key) != nilfs_direct_last_key()
214 static int nilfs_direct_gather_data(struct nilfs_bmap *direct, nilfs_direct_gather_data() argument
225 ptr = nilfs_direct_get_ptr(direct, key); nilfs_direct_gather_data()
299 static int nilfs_direct_assign_v(struct nilfs_bmap *direct, nilfs_direct_assign_v() argument
305 struct inode *dat = nilfs_bmap_get_dat(direct); nilfs_direct_assign_v()
319 static int nilfs_direct_assign_p(struct nilfs_bmap *direct, nilfs_direct_assign_p() argument
325 nilfs_direct_set_ptr(direct, key, blocknr); nilfs_direct_assign_p()
H A Ddirect.h2 * direct.h - NILFS direct block pointer.
32 * struct nilfs_direct_node - direct node
/linux-4.1.27/arch/powerpc/include/uapi/asm/
H A Dfcntl.h7 #define O_DIRECT 0400000 /* direct disk access hint */
/linux-4.1.27/arch/x86/pci/
H A DMakefile4 obj-$(CONFIG_PCI_MMCONFIG) += mmconfig_$(BITS).o direct.o mmconfig-shared.o
5 obj-$(CONFIG_PCI_DIRECT) += direct.o
H A Ddirect.c2 * direct.c - Low-level direct PCI config space access
185 * Before we decide to use direct hardware access mechanisms, we try to do some
189 * attempt to make use of direct access hints provided by the PCI BIOS).
H A Dearly.c3 #include <asm/pci-direct.h>
H A Dbroadcom_bus.c18 #include <asm/pci-direct.h>
H A Dmmconfig_32.c9 * mmconfig.c - Low-level direct PCI config space access via MMCONFIG
H A Dmmconfig_64.c2 * mmconfig.c - Low-level direct PCI config space access via MMCONFIG
/linux-4.1.27/samples/seccomp/
H A DMakefile4 hostprogs-$(CONFIG_SECCOMP_FILTER) := bpf-fancy dropper bpf-direct
16 HOSTCFLAGS_bpf-direct.o += -I$(objtree)/usr/include
17 HOSTCFLAGS_bpf-direct.o += -idirafter $(objtree)/include
18 bpf-direct-objs := bpf-direct.o
31 HOSTCFLAGS_bpf-direct.o += $(MFLAG)
35 HOSTLOADLIBES_bpf-direct += $(MFLAG)
/linux-4.1.27/arch/blackfin/include/uapi/asm/
H A Dfcntl.h12 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */
/linux-4.1.27/arch/m68k/include/uapi/asm/
H A Dfcntl.h6 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */
/linux-4.1.27/arch/arm/include/uapi/asm/
H A Dfcntl.h6 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */
/linux-4.1.27/include/linux/platform_data/
H A Dkeypad-pxa27x.h15 * 1. direct_key_num indicates the number of keys in the direct keypad
20 * 2. direct_key_map is the key code map for the direct keys, if rotary
21 * encoder(s) are enabled, direct key 0/1(2/3) will be ignored
26 * 4. matrix key and direct key will use the same debounce_interval by
43 /* direct keys */
48 /* give board a chance to choose the start direct key */
/linux-4.1.27/drivers/hwmon/pmbus/
H A Dmax34440.c207 .format[PSC_VOLTAGE_IN] = direct,
208 .format[PSC_VOLTAGE_OUT] = direct,
209 .format[PSC_TEMPERATURE] = direct,
210 .format[PSC_CURRENT_OUT] = direct,
249 .format[PSC_VOLTAGE_IN] = direct,
250 .format[PSC_VOLTAGE_OUT] = direct,
251 .format[PSC_TEMPERATURE] = direct,
252 .format[PSC_CURRENT_OUT] = direct,
253 .format[PSC_FAN] = direct,
292 .format[PSC_VOLTAGE_IN] = direct,
293 .format[PSC_VOLTAGE_OUT] = direct,
294 .format[PSC_TEMPERATURE] = direct,
295 .format[PSC_CURRENT_OUT] = direct,
296 .format[PSC_POWER] = direct,
329 .format[PSC_VOLTAGE_OUT] = direct,
330 .format[PSC_TEMPERATURE] = direct,
360 .format[PSC_VOLTAGE_OUT] = direct,
361 .format[PSC_TEMPERATURE] = direct,
H A Dmax16064.c79 .format[PSC_VOLTAGE_IN] = direct,
80 .format[PSC_VOLTAGE_OUT] = direct,
81 .format[PSC_TEMPERATURE] = direct,
H A Dmax8688.c153 .format[PSC_VOLTAGE_IN] = direct,
154 .format[PSC_VOLTAGE_OUT] = direct,
155 .format[PSC_TEMPERATURE] = direct,
156 .format[PSC_CURRENT_OUT] = direct,
H A Dpmbus.c134 info->format[PSC_VOLTAGE_OUT] = direct; pmbus_identify()
145 * If it is, and the chip is configured for direct mode, we can read pmbus_identify()
151 * without testing it. Until then, abort if a chip configured for direct pmbus_identify()
154 if (info->format[PSC_VOLTAGE_OUT] == direct) { pmbus_identify()
H A Dadm1275.c290 info->format[PSC_VOLTAGE_IN] = direct; adm1275_probe()
291 info->format[PSC_VOLTAGE_OUT] = direct; adm1275_probe()
292 info->format[PSC_CURRENT_OUT] = direct; adm1275_probe()
330 info->format[PSC_POWER] = direct; adm1275_probe()
363 info->format[PSC_POWER] = direct; adm1275_probe()
H A Dlm25066.c453 info->format[PSC_VOLTAGE_IN] = direct; lm25066_probe()
454 info->format[PSC_VOLTAGE_OUT] = direct; lm25066_probe()
455 info->format[PSC_CURRENT_IN] = direct; lm25066_probe()
456 info->format[PSC_TEMPERATURE] = direct; lm25066_probe()
457 info->format[PSC_POWER] = direct; lm25066_probe()
H A Dpmbus.h338 enum pmbus_data_format { linear = 0, direct, vid }; enumerator in enum:pmbus_data_format
345 * Used for chips providing data in direct mode.
347 int m[PSC_NUM_CLASSES]; /* mantissa for direct data format */
/linux-4.1.27/arch/sparc/include/asm/
H A Dcache.h2 * and direct tag/data line access.
H A Dhighmem.h5 * are not addressable by direct kernel virtual addresses.
H A Dio-unit.h38 #define IOUPTE_INTRA 0x00000008 /* SBUS direct slot->slot transfer */
/linux-4.1.27/arch/mips/include/asm/mach-malta/
H A Dmach-gt64120.h2 * This is a direct copy of the ev96100.h file, with a global
H A Dspaces.h26 * to peform direct mapping from virtual to physical addresses. In other
/linux-4.1.27/arch/alpha/include/asm/
H A Dcache.h14 direct-mapped, physical.
/linux-4.1.27/arch/arm/mach-lpc32xx/
H A Dpm.c17 * direct-run, and halt modes. When switching between halt and run modes,
18 * the CPU transistions through direct-run mode. For Linux, direct-run
38 * wake the system up back into direct-run mode.
43 * SDRAM will still be accessible in direct-run mode. In DDR based systems,
44 * a transition to direct-run mode will stop all DDR accesses (no clocks).
54 * Enter direct-run mode
58 * System enters direct-run mode when an enabled event occurs
/linux-4.1.27/arch/mips/include/asm/mach-lasat/
H A Dmach-gt64120.h2 * This is a direct copy of the ev96100.h file, with a global
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_adminq_cmd.h288 * - no suffix for direct command descriptor structures
291 * - _completion for direct return data
313 /* Get version (direct 0x0001) */
338 /* Queue Shutdown (direct 0x0003) */
347 /* Set PF context (0x0004, direct) */
355 /* Request resource ownership (direct 0x0008)
356 * Release resource ownership (direct 0x0009)
431 /* Set CPPM Configuration (direct 0x0103) */
545 /* Clear PXE Command and response (direct 0x0110) */
616 /* Add Statistics (direct 0x0201)
617 * Remove Statistics (direct 0x0202)
628 /* Set Port Parameters command (direct 0x0203) */
848 /* Add Port Virtualizer (direct 0x0220)
849 * also used for update PV (direct 0x0221) but only flags are used
877 /* Get PV Params (direct 0x0222)
894 /* Add VEB (direct 0x0230) */
928 /* Get VEB Parameters (direct 0x0232)
943 /* Delete Element (direct 0x0243)
1058 /* Set VSI Promiscuous Modes (direct 0x0254) */
1077 /* Add S/E-tag command (direct 0x0255)
1102 /* Remove S/E-tag command (direct 0x0256)
1116 /* Add multicast E-Tag (direct 0x0257)
1117 * del multicast E-Tag (direct 0x0258) only uses pv_seid and etag fields
1142 /* Update S/E-Tag (direct 0x0259) */
1163 /* Add Control Packet filter (direct 0x025A)
1164 * Remove Control Packet filter (direct 0x025B)
1166 * and the generic direct completion structure
1285 /* Add Mirror Rule (indirect or direct 0x0260)
1286 * Delete Mirror Rule (indirect or direct 0x0261)
1322 /* PFC Ignore (direct 0x0301)
1335 /* DCB Update (direct 0x0302) uses the i40e_aq_desc structure
1358 /* Configure VSI BW limits (direct 0x0400) */
1426 /* Configure Switching Component Bandwidth Limit (direct 0x0410) */
1528 * (direct 0x041B and 0x041C) uses the generic SEID struct
1543 * (direct 0x0500) and (direct 0x0501)
1656 /* Set PHY Config (direct 0x0601) */
1673 /* Set MAC Config command data structure (direct 0x0603) */
1699 /* Restart Auto-Negotiation (direct 0x605) */
1709 /* Get Link Status cmd & response data structure (direct 0x0607) */
1756 /* Set event mask command (direct 0x613) */
1774 /* Get Local AN advt register (direct 0x0614)
1775 * Set Local AN advt register (direct 0x0615)
1776 * Get Link Partner AN advt register (direct 0x0616)
1820 * NVM Erase commands (direct 0x0702)
1903 /* Direct write (direct 0x0900)
1904 * Direct read (direct 0x0902)
1928 /* Done alternate write (direct 0x0904)
1942 /* Set OEM mode (direct 0x0905) */
1952 /* Clear port Alternate RAM (direct 0x0906) uses i40e_aq_desc */
1956 /* Lan Queue Overflow Event (direct, 0x1001) */
1989 /* Configure LLDP MIB Change Event (direct 0x0A01)
2030 /* Stop LLDP (direct 0x0A05) */
2040 /* Start LLDP (direct 0x0A06) */
2123 /* Stop/Start LLDP Agent (direct 0x0A09)
2136 /* Add Udp Tunnel command and completion (direct 0x0B00) */
2203 /* OEM mode commands (direct 0xFE0x) */
2225 /* Initialize OCSD (0xFE02, direct) */
2236 /* Initialize OCBB (0xFE03, direct) */
2292 /* Debug Modify register (direct 0xFF07) */
H A Di40e_hmc.h119 * @type: if sd entry is direct or paged
140 * @type: if sd entry is direct or paged
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/
H A Di40e_adminq_cmd.h286 * - no suffix for direct command descriptor structures
289 * - _completion for direct return data
311 /* Get version (direct 0x0001) */
336 /* Queue Shutdown (direct 0x0003) */
345 /* Set PF context (0x0004, direct) */
353 /* Request resource ownership (direct 0x0008)
354 * Release resource ownership (direct 0x0009)
429 /* Set CPPM Configuration (direct 0x0103) */
543 /* Clear PXE Command and response (direct 0x0110) */
614 /* Add Statistics (direct 0x0201)
615 * Remove Statistics (direct 0x0202)
626 /* Set Port Parameters command (direct 0x0203) */
846 /* Add Port Virtualizer (direct 0x0220)
847 * also used for update PV (direct 0x0221) but only flags are used
875 /* Get PV Params (direct 0x0222)
892 /* Add VEB (direct 0x0230) */
926 /* Get VEB Parameters (direct 0x0232)
941 /* Delete Element (direct 0x0243)
1056 /* Set VSI Promiscuous Modes (direct 0x0254) */
1075 /* Add S/E-tag command (direct 0x0255)
1100 /* Remove S/E-tag command (direct 0x0256)
1114 /* Add multicast E-Tag (direct 0x0257)
1115 * del multicast E-Tag (direct 0x0258) only uses pv_seid and etag fields
1140 /* Update S/E-Tag (direct 0x0259) */
1161 /* Add Control Packet filter (direct 0x025A)
1162 * Remove Control Packet filter (direct 0x025B)
1164 * and the generic direct completion structure
1283 /* Add Mirror Rule (indirect or direct 0x0260)
1284 * Delete Mirror Rule (indirect or direct 0x0261)
1320 /* PFC Ignore (direct 0x0301)
1333 /* DCB Update (direct 0x0302) uses the i40e_aq_desc structure
1356 /* Configure VSI BW limits (direct 0x0400) */
1424 /* Configure Switching Component Bandwidth Limit (direct 0x0410) */
1526 * (direct 0x041B and 0x041C) uses the generic SEID struct
1541 * (direct 0x0500) and (direct 0x0501)
1654 /* Set PHY Config (direct 0x0601) */
1671 /* Set MAC Config command data structure (direct 0x0603) */
1697 /* Restart Auto-Negotiation (direct 0x605) */
1707 /* Get Link Status cmd & response data structure (direct 0x0607) */
1754 /* Set event mask command (direct 0x613) */
1772 /* Get Local AN advt register (direct 0x0614)
1773 * Set Local AN advt register (direct 0x0615)
1774 * Get Link Partner AN advt register (direct 0x0616)
1818 * NVM Erase commands (direct 0x0702)
1901 /* Direct write (direct 0x0900)
1902 * Direct read (direct 0x0902)
1926 /* Done alternate write (direct 0x0904)
1940 /* Set OEM mode (direct 0x0905) */
1950 /* Clear port Alternate RAM (direct 0x0906) uses i40e_aq_desc */
1954 /* Lan Queue Overflow Event (direct, 0x1001) */
1987 /* Configure LLDP MIB Change Event (direct 0x0A01)
2028 /* Stop LLDP (direct 0x0A05) */
2038 /* Start LLDP (direct 0x0A06) */
2052 /* Add Udp Tunnel command and completion (direct 0x0B00) */
2135 /* OEM mode commands (direct 0xFE0x) */
2157 /* Initialize OCSD (0xFE02, direct) */
2168 /* Initialize OCBB (0xFE03, direct) */
2224 /* Debug Modify register (direct 0xFF07) */
H A Di40e_hmc.h119 * @type: if sd entry is direct or paged
140 * @type: if sd entry is direct or paged
/linux-4.1.27/fs/reiserfs/
H A Dtail_conversion.c17 * Converts direct items to an unformatted node. Panics if file has no
21 * path points to first direct item of the file regardless of how many of
99 /* Set the key to search for the direct items of the file */ direct2indirect()
104 * Move bytes from the direct items to the new unformatted node direct2indirect()
117 "direct item (%K) not found", &end_key); direct2indirect()
120 "vs-14055: direct item expected(%K), found %h", direct2indirect()
143 /* done: file does not have direct items anymore */ direct2indirect()
195 * reads tail through page cache, insert direct item. When direct item
264 /* Set direct item header to insert. */ indirect2direct()
281 /* Insert tail as new direct item in the tree */ indirect2direct()
286 * to the direct item. In this case we used to adjust indirect2direct()
307 * We have inserted new direct item and must remove last indirect2direct()
312 /* we store position of first direct item in the in-core inode */ indirect2direct()
H A Dioctl.c17 * 1) REISERFS_IOC_UNPACK - try to unpack tail from direct item into indirect
168 * Function try to convert tail from direct item into indirect.
H A Dstree.c824 * then we point to an imaginary entry. for direct items, the
930 /* prepare for delete or cut of direct item */ prepare_for_direct_item()
1006 * If the path points to a directory or direct item, calculate mode
1012 * converted to a direct item.
1137 * direct item? prepare_for_delete_or_cut()
1327 * the only thing we really care about is the direct item's reiserfs_delete_item()
1574 * we did indirect_to_direct conversion. And we have inserted direct
1577 * direct item(s)
1669 * convert last unformatted node to direct item or reiserfs_cut_from_item()
1695 * inserting the new direct item. Now we are reiserfs_cut_from_item()
1772 * For direct items, we only change the quota when deleting the last reiserfs_cut_from_item()
1815 * item is direct item of this file reiserfs_cut_from_item()
1823 * we've done an indirect->direct conversion. when the reiserfs_cut_from_item()
1932 * this may mismatch with real file size: if last direct item reiserfs_do_truncate()
2040 reiserfs_panic(NULL, "PAP-5720", "found direct item " check_research_for_paste()
H A Dfile.c27 * unformatted node, the tail is converted back into a direct item.
111 * appended (we append by unformatted node only) or its direct reiserfs_file_release()
H A Dinode.c186 * but tail is still sitting in a direct item, and we can't write to
278 * for 'block'-th logical block of file. When it hits direct item it
279 * returns 0 (being called from bmap) or read direct item into piece
358 /* requested data are in direct item(s) */ _get_block_create_0()
362 * when it is stored in direct item(s) _get_block_create_0()
371 * if we've got a direct item, and the buffer or page was uptodate, _get_block_create_0()
410 * correct, and when direct item padding results in a few _get_block_create_0()
411 * extra bytes at the end of the direct item _get_block_create_0()
431 * we done, if read direct item is not the last item of _get_block_create_0()
433 * to see whether direct item continues in the right _get_block_create_0()
469 * read direct item
478 /* do not read the direct item */ reiserfs_bmap()
534 /* don't allow direct io onto tail pages */ reiserfs_get_blocks_direct_io()
537 * make sure future calls to the direct io funcs for this reiserfs_get_blocks_direct_io()
567 * but the file tail is still in a direct item
673 * . 3 balancings in direct->indirect conversion reiserfs_get_block()
844 * desired position is not found or is in the direct item. We have reiserfs_get_block()
846 * direct items to indirect one if necessary reiserfs_get_block()
887 /* direct item has to be converted */ reiserfs_get_block()
895 * direct item we just found fits into block we have reiserfs_get_block()
906 * we have to pad file tail stored in direct reiserfs_get_block()
2297 * then we have an unformatted node. Otherwise, we have a direct item, reiserfs_truncate_file()
2508 * we've copied data from the page into the direct item, so the map_block_for_writepage()
2577 /* first map all the buffers, logging any direct items we find */ reiserfs_write_full_page()
2592 * not mapped yet, or it points to a direct item, search reiserfs_write_full_page()
2593 * the btree for the mapping info, and log any direct reiserfs_write_full_page()
2635 * real block and not a direct item reiserfs_write_full_page()
2681 * if this page only had a direct item, it is very possible for reiserfs_write_full_page()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
H A Dalloc.c60 buf->direct.buf = dma_zalloc_coherent(&dev->pdev->dev, mlx5_buf_alloc()
62 if (!buf->direct.buf) mlx5_buf_alloc()
65 buf->direct.map = t; mlx5_buf_alloc()
74 buf->direct.buf = NULL; mlx5_buf_alloc()
100 buf->direct.buf = vmap(pages, buf->nbufs, VM_MAP, PAGE_KERNEL); mlx5_buf_alloc()
102 if (!buf->direct.buf) mlx5_buf_alloc()
121 dma_free_coherent(&dev->pdev->dev, buf->size, buf->direct.buf, mlx5_buf_free()
122 buf->direct.map); mlx5_buf_free()
125 vunmap(buf->direct.buf); mlx5_buf_free()
234 addr = buf->direct.map + (i << buf->page_shift); mlx5_fill_page_array()
/linux-4.1.27/fs/nfs/
H A DMakefile9 direct.o pagelist.o read.o symlink.o unlink.o \
H A Ddirect.c2 * linux/fs/nfs/direct.c
21 * held on permanent storage before a direct write system call returns to
35 * 31 Mar 2004 Handle direct I/O without VFS support --cel
155 * @dreq - direct request possibly spanning multiple servers
183 * @dreq - direct request possibly spanning multiple servers
201 * @dreq - direct request possibly spanning multiple servers
223 * @dreq - direct request possibly spanning multiple servers
245 * nfs_direct_IO - NFS address space operation for direct I/O
252 * the NFS client supports direct I/O. However, for most direct IO, we
253 * shunt off direct read and write requests before the VFS gets them,
401 dprintk("NFS: direct read done (%s/%llu %d@%lld)\n", nfs_direct_readpage_release()
548 * nfs_file_direct_read - file direct read operation for NFS files
553 * We use this function for direct reads instead of calling
556 * to work, we must generate a GETATTR before each direct read, and
579 dfprintk(FILE, "NFS: direct read(%pD2, %zd@%Ld)\n", nfs_file_direct_read()
938 * nfs_file_direct_write - file direct write operation for NFS files
943 * We use this function for direct writes instead of calling
950 * We eliminate local atime updates, see direct read above.
955 * Note that O_APPEND is not supported for NFS direct writes, as there
968 dfprintk(FILE, "NFS: direct write(%pD2, %zd@%Ld)\n", nfs_file_direct_write()
/linux-4.1.27/arch/metag/include/asm/
H A Dcore_reg.h10 * These macros allow direct access from C to any register known to the
/linux-4.1.27/include/xen/interface/
H A Dfeatures.h14 * update them via direct writes.
20 * tables, and can update them via direct writes.
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Den_resources.c99 buf->direct.buf = vmap(pages, buf->nbufs, VM_MAP, PAGE_KERNEL); mlx4_en_map_buffer()
101 if (!buf->direct.buf) mlx4_en_map_buffer()
112 vunmap(buf->direct.buf); mlx4_en_unmap_buffer()
H A Dalloc.c595 buf->direct.buf = dma_alloc_coherent(&dev->persist->pdev->dev, mlx4_buf_alloc()
597 if (!buf->direct.buf) mlx4_buf_alloc()
600 buf->direct.map = t; mlx4_buf_alloc()
607 memset(buf->direct.buf, 0, size); mlx4_buf_alloc()
611 buf->direct.buf = NULL; mlx4_buf_alloc()
640 buf->direct.buf = vmap(pages, buf->nbufs, VM_MAP, PAGE_KERNEL); mlx4_buf_alloc()
642 if (!buf->direct.buf) mlx4_buf_alloc()
662 buf->direct.buf, mlx4_buf_free()
663 buf->direct.map); mlx4_buf_free()
666 vunmap(buf->direct.buf); mlx4_buf_free()
/linux-4.1.27/arch/x86/xen/
H A Dxen-asm_64.S2 * Asm versions of Xen pv-ops, suitable for either direct use or
3 * inlining. The inline versions are the same as the direct-use
9 * We only bother with direct forms (ie, vcpu in pda) of the
H A Dxen-asm.S2 * Asm versions of Xen pv-ops, suitable for either direct use or
3 * inlining. The inline versions are the same as the direct-use
9 * We only bother with direct forms (ie, vcpu in percpu data) of the
H A Dxen-asm_32.S2 * Asm versions of Xen pv-ops, suitable for either direct use or
3 * inlining. The inline versions are the same as the direct-use
9 * We only bother with direct forms (ie, vcpu in pda) of the
/linux-4.1.27/include/linux/
H A Dnfs.h51 /* used by direct.c to mark verf as invalid */
H A Dcompaction.h7 /* compaction didn't start as it was not possible or direct reclaim was more suitable */
11 /* direct compaction partially compacted a zone and there are suitable pages */
H A Dcoda.h37 and publicity pertaining to direct or indirect use of this code or its
H A Dfsl_hypervisor.h28 * direct, indirect, incidental, special, exemplary, or consequential damages
/linux-4.1.27/arch/powerpc/platforms/cell/
H A Dspu_priv1_mmio.h2 * spu hypervisor abstraction for direct hardware access.
/linux-4.1.27/arch/powerpc/include/asm/
H A Dbootx.h15 * component. Later versions may contain the gamma table for direct-color
H A Dhighmem.h7 * are not addressable by direct kernel virtual addresses.
/linux-4.1.27/arch/arm64/include/uapi/asm/
H A Dfcntl.h24 #define O_DIRECT 0200000 /* direct disk access hint - currently ignored */
/linux-4.1.27/arch/arm/mach-pxa/include/mach/
H A Dpm.h33 * ugly, but let's keep the crap minimum here, instead of direct
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192de/
H A Dhw.h59 u8 direct);
60 u32 rtl92de_read_dword_dbi(struct ieee80211_hw *hw, u16 offset, u8 direct);
H A Drf.c414 u8 direct = bmac0 ? BIT(3) | BIT(2) : BIT(3); rtl92d_phy_enable_anotherphy() local
428 rtl92de_read_dword_dbi(hw, REG_SYS_ISO_CTRL, direct) | rtl92d_phy_enable_anotherphy()
429 BIT(29) | BIT(16) | BIT(17), direct); rtl92d_phy_enable_anotherphy()
445 u8 direct = bmac0 ? BIT(3) | BIT(2) : BIT(3); rtl92d_phy_powerdown_anotherphy() local
459 0x00000000, direct); rtl92d_phy_powerdown_anotherphy()
/linux-4.1.27/arch/sparc/kernel/
H A Dirq.h27 /* This maps direct to CPU specific interrupt registers */
34 /* This maps direct to global interrupt registers */
H A Dleon_pci.c20 * PCI Memory and Prefetchable Memory is direct-mapped. However I/O Space is
/linux-4.1.27/include/video/
H A Duvesafb.h56 /* Direct color fields for direct/6 and YUV/7 memory models. */
66 u8 direct_color_info; /* direct color mode attributes */
/linux-4.1.27/arch/m68k/include/asm/
H A Dcontregs.h26 #define AC_CACHETAGS 0x80000000 /* 34c direct access to the VAC tags */
27 #define AC_CACHEDDATA 0x90000000 /* 3 c direct access to the VAC data */
H A Dsun3mmu.h40 #define AC_CACHETAGS 0x80000000 /* 34c direct access to the VAC tags */
41 #define AC_CACHEDDATA 0x90000000 /* 3 c direct access to the VAC data */
H A Dmcf8390.h25 * direct addressing method, others use a side-band address space
/linux-4.1.27/fs/befs/
H A Dendian.h111 data.direct[i] = fsrun_to_cpu(sb, n->direct[i]); fsds_to_cpu()
H A Dbefs_fs_types.h147 befs_disk_block_run direct[BEFS_NUM_DIRECT_BLOCKS]; member in struct:__anon10756
157 befs_block_run direct[BEFS_NUM_DIRECT_BLOCKS]; member in struct:__anon10757
H A Ddebug.c111 fsrun_to_cpu(sb, inode->data.datastream.direct[i]); befs_dump_inode()
112 befs_debug(sb, " direct %d [%u, %hu, %hu]", i, befs_dump_inode()
/linux-4.1.27/tools/testing/selftests/memfd/
H A Dfuse_mnt.c10 * We use direct_io==1 to force the kernel to use direct-IO for this
68 /* force direct-IO */ memfd_open()
H A Dfuse_test.c4 * fuse_mnt.c program to provide a fake direct-IO FUSE mount-point for us. This
5 * file-system delays _all_ reads by 1s and forces direct-IO. This means, any
/linux-4.1.27/drivers/infiniband/hw/mthca/
H A Dmthca_allocator.c209 buf->direct.buf = dma_alloc_coherent(&dev->pdev->dev, mthca_buf_alloc()
211 if (!buf->direct.buf) mthca_buf_alloc()
214 dma_unmap_addr_set(&buf->direct, mapping, t); mthca_buf_alloc()
216 memset(buf->direct.buf, 0, size); mthca_buf_alloc()
291 dma_free_coherent(&dev->pdev->dev, size, buf->direct.buf, mthca_buf_free()
292 dma_unmap_addr(&buf->direct, mapping)); mthca_buf_free()
/linux-4.1.27/drivers/input/keyboard/
H A Dpxa27x_keypad.c52 #define KPC_DKN(n) ((((n) - 1) & 0x7) << 6) /* direct key number */
163 error = of_property_read_u32(np, "marvell,direct-key-count", pxa27x_keypad_direct_key_parse_dt()
167 * If do not have marvel,direct-key-count defined, pxa27x_keypad_direct_key_parse_dt()
168 * it means direct key is not supported. pxa27x_keypad_direct_key_parse_dt()
173 error = of_property_read_u32(np, "marvell,direct-key-mask", pxa27x_keypad_direct_key_parse_dt()
180 * If marvell,direct-key-mask is not defined, driver will use pxa27x_keypad_direct_key_parse_dt()
187 "marvell,direct-key-low-active"); pxa27x_keypad_direct_key_parse_dt()
189 prop = of_get_property(np, "marvell,direct-key-map", &proplen); pxa27x_keypad_direct_key_parse_dt()
251 * Now we depends on direct-rel-code. pxa27x_keypad_rotary_parse_dt()
306 dev_err(dev, "failed to parse direct key\n"); pxa27x_keypad_build_keycode_from_dt()
324 * The keycodes may not only includes matrix key but also the direct pxa27x_keypad_build_keycode_from_dt()
360 * The keycodes may not only include matrix keys but also the direct pxa27x_keypad_build_keycode()
365 /* For direct keys. */ pxa27x_keypad_build_keycode()
610 /* enable rotary key, debounce interval same as direct keys */ pxa27x_keypad_config()
635 /* enable direct key */ pxa27x_keypad_config()
/linux-4.1.27/arch/ia64/sn/pci/pcibr/
H A Dpcibr_dma.c29 * The Bridge ASIC provides three methods of doing DMA: via a "direct map"
31 * address space on some other widget), via "direct" addressing via 64-bit
36 * For efficiency, we most prefer to use the 32bit direct mapping facility,
38 * PMU over the 64-bit direct is that single-cycle PCI addressing can be
39 * used; the advantage of using 64-bit direct over PMU addressing is that
376 /* Handle 32-63 bit cards via direct mapping */ pcibr_dma_map()
381 * It is a 32 bit card and we cannot do direct mapping, pcibr_dma_map()
/linux-4.1.27/fs/f2fs/
H A Dnode.h284 * |- direct node (1)
285 * |- direct node (2)
287 * | `- direct node (4 => 4 + N - 1)
289 * | `- direct node (5 + N => 5 + 2N - 1)
292 * `- direct node
295 * `- direct node
298 * `- direct node
/linux-4.1.27/drivers/media/pci/bt8xx/
H A Dbttv-if.c92 because we set direct input on init */ bttv_read_gpio()
110 because direct input is set on init */ bttv_write_gpio()
/linux-4.1.27/drivers/gpu/host1x/hw/
H A Dhw_host1x01_channel.h42 * This value is suitable for direct comparison with other unshifted
46 * field <y> of register <x>. This value is suitable for direct
H A Dhw_host1x02_channel.h42 * This value is suitable for direct comparison with other unshifted
46 * field <y> of register <x>. This value is suitable for direct
H A Dhw_host1x04_channel.h42 * This value is suitable for direct comparison with other unshifted
46 * field <y> of register <x>. This value is suitable for direct
H A Dhw_host1x01_uclass.h42 * This value is suitable for direct comparison with other unshifted
46 * field <y> of register <x>. This value is suitable for direct
H A Dhw_host1x02_uclass.h42 * This value is suitable for direct comparison with other unshifted
46 * field <y> of register <x>. This value is suitable for direct
H A Dhw_host1x04_uclass.h42 * This value is suitable for direct comparison with other unshifted
46 * field <y> of register <x>. This value is suitable for direct
H A Dhw_host1x01_sync.h42 * This value is suitable for direct comparison with other unshifted
46 * field <y> of register <x>. This value is suitable for direct
H A Dhw_host1x02_sync.h42 * This value is suitable for direct comparison with other unshifted
46 * field <y> of register <x>. This value is suitable for direct
H A Dhw_host1x04_sync.h42 * This value is suitable for direct comparison with other unshifted
46 * field <y> of register <x>. This value is suitable for direct
/linux-4.1.27/drivers/platform/x86/
H A Dintel_mid_thermal.c94 int direct; member in struct:thermal_device_info
124 * @direct: true if ths channel is direct index
135 static int adc_to_temp(int direct, uint16_t adc_val, unsigned long *tp) adc_to_temp() argument
140 if (direct) { adc_to_temp()
216 ret = adc_to_temp(td_info->direct, adc_val, &curr_temp); mid_read_temp()
413 /* Sensor 3 is direct conversion */ initialize_sensor()
415 td_info->direct = 1; initialize_sensor()
/linux-4.1.27/drivers/media/usb/gspca/stv06xx/
H A Dstv06xx_st6422.h4 * but instead direct bridge writes.
/linux-4.1.27/arch/x86/mm/
H A Dinit_64.c792 bool direct) remove_pte_table()
820 * Do not free direct mapping pages since they were remove_pte_table()
823 if (!direct) remove_pte_table()
830 /* For non-direct mapping, pages means nothing. */ remove_pte_table()
835 * direct mapped memory ranges to be freed are aligned. remove_pte_table()
858 if (direct) remove_pte_table()
864 bool direct) remove_pmd_table()
881 if (!direct) remove_pmd_table()
909 remove_pte_table(pte_base, addr, next, direct); remove_pmd_table()
914 if (direct) remove_pmd_table()
920 bool direct) remove_pud_table()
937 if (!direct) remove_pud_table()
965 remove_pmd_table(pmd_base, addr, next, direct); remove_pud_table()
969 if (direct) remove_pud_table()
975 remove_pagetable(unsigned long start, unsigned long end, bool direct) remove_pagetable() argument
991 remove_pud_table(pud, addr, next, direct); remove_pagetable()
791 remove_pte_table(pte_t *pte_start, unsigned long addr, unsigned long end, bool direct) remove_pte_table() argument
863 remove_pmd_table(pmd_t *pmd_start, unsigned long addr, unsigned long end, bool direct) remove_pmd_table() argument
919 remove_pud_table(pud_t *pud_start, unsigned long addr, unsigned long end, bool direct) remove_pud_table() argument
H A Dinit.c173 printk(KERN_INFO "Using GB pages for direct mapping\n"); probe_page_size_mask()
390 * Setup the direct mapping of the physical memory at PAGE_OFFSET.
417 * We need to iterate through the E820 memory map and create direct mappings
419 * create direct mappings for all pfns from [0 to max_low_pfn) and
481 * This function will setup direct mapping for memory range
534 * This function will setup direct mapping for memory range
590 * If the allocation is in bottom-up direction, we setup direct mapping init_mem_mapping()
591 * in bottom-up, otherwise we setup direct mapping in top-down. init_mem_mapping()
H A Dpageattr-test.c4 * Clears the a test pte bit on random pages in the direct mapping,
110 /* Change the global bit on random pages in the direct mapping */ pageattr_test()
H A Damdtopology.c24 #include <asm/pci-direct.h>
/linux-4.1.27/arch/sparc/include/uapi/asm/
H A Dfcntl.h18 #define O_DIRECT 0x100000 /* direct disk access hint */
/linux-4.1.27/arch/tile/include/asm/
H A Dhighmem.h17 * are not addressable by direct kernel virtual addresses.
/linux-4.1.27/arch/microblaze/mm/
H A Dhighmem.c7 * are not addressable by direct kernel virtual addresses.
/linux-4.1.27/arch/mips/include/asm/
H A Dhighmem.h5 * are not addressable by direct kernel virtual addresses.
/linux-4.1.27/fs/minix/
H A Ditree_common.c353 unsigned blocks, res, direct = DIRECT, i = DEPTH; nblocks() local
356 while (--i && blocks > direct) { nblocks()
357 blocks -= direct; nblocks()
361 direct = 1; nblocks()
/linux-4.1.27/arch/powerpc/mm/
H A Dhighmem.c7 * are not addressable by direct kernel virtual addresses.
/linux-4.1.27/arch/arm/mach-sa1100/include/mach/
H A Dcollie.h54 /* GPIO definitions for direct register access */
/linux-4.1.27/arch/alpha/include/uapi/asm/
H A Dfcntl.h15 #define O_DIRECT 02000000 /* direct disk access - should check with OSF/1 */
/linux-4.1.27/sound/
H A Dac97_bus.c22 * probe method. Drivers have direct access to the struct snd_ac97
/linux-4.1.27/sound/core/seq/oss/
H A Dseq_oss_midi.h43 int snd_seq_oss_midi_input(struct snd_seq_event *ev, int direct, void *private);
H A Dseq_oss_event.h109 int snd_seq_oss_event_input(struct snd_seq_event *ev, int direct, void *private_data, int atomic, int hop);
/linux-4.1.27/drivers/gpio/
H A Dgpio-davinci.c281 * NOTE: The first few GPIOs also have direct INTC hookups in addition
284 * All those INTC hookups (direct, plus several IRQ banks) can also
385 * can provide direct-mapped IRQs to AINTC (up to 32 GPIOs). gpio_to_irq_unbanked()
528 * Arrange gpio_to_irq() support, handling either direct IRQs or davinci_gpio_irq_setup()
529 * banked IRQs. Having GPIOs in the first GPIO bank use direct davinci_gpio_irq_setup()
539 * AINTC can handle direct/unbanked IRQs for GPIOs, with the GPIO davinci_gpio_irq_setup()
561 /* set the direct IRQs up to use that irqchip */ davinci_gpio_irq_setup()
/linux-4.1.27/drivers/mtd/maps/
H A Dphysmap_of.c74 /* Helper function to handle probing of the obsolete "direct-mapped"
85 dev_warn(&dev->dev, "Device tree uses obsolete \"direct-mapped\" " obsolete_probe()
195 map_indirect = of_property_read_bool(dp, "no-unaligned-direct-access"); of_flash_probe()
255 * On some platforms (e.g. MPC5200) a direct 1:1 mapping of_flash_probe()
356 .compatible = "direct-mapped"
H A Duclinux.c91 * The filesystem is guaranteed to be in direct mapped memory. It is uclinux_mtd_init()
/linux-4.1.27/security/apparmor/
H A Dmatch.c316 /* default is direct to next state */ aa_dfa_match_len()
325 /* default is direct to next state */ aa_dfa_match_len()
366 /* default is direct to next state */ aa_dfa_match()
375 /* default is direct to next state */ aa_dfa_match()
411 /* default is direct to next state */ aa_dfa_next()
419 /* default is direct to next state */ aa_dfa_next()
/linux-4.1.27/drivers/media/usb/pvrusb2/
H A Dpvrusb2-eeprom.c44 /* Grab EEPROM contents, needed for direct method. */ pvr2_eeprom_fetch()
137 trace_eeprom("eeprom direct call results:"); pvr2_eeprom_analyze()
/linux-4.1.27/drivers/video/fbdev/matrox/
H A Dmatroxfb_DAC1064.h70 #define M1064_XMULCTRL_DEPTH_24BPP_8BPP 0x04 /* 24 bpp direct + 8 bpp overlay paletized */
71 #define M1064_XMULCTRL_2G8V16 0x05 /* 15 bpp video direct, half xres, 8bpp paletized */
/linux-4.1.27/arch/arm64/include/asm/
H A Dmemory.h117 * The maximum physical address that the linear direct mapping
129 * direct-mapped view. We assume this is the first page
/linux-4.1.27/fs/freevxfs/
H A Dvxfs_inode.h43 #define VXFS_NDADDR 10 /* Number of direct addrs in inode */
76 struct direct { /* Direct extents */ struct in struct:vxfs_ext4
H A Dvxfs_lookup.c102 * @dp: dentry for which we want to find a direct
111 * The wanted direct on success, else a NULL pointer.
/linux-4.1.27/drivers/staging/emxx_udc/
H A Demxx_udc.c274 _nbu2ss_endpoint_toggle_reset(udc, (ep->epnum|ep->direct)); _nbu2ss_ep_init()
276 if (ep->direct == USB_DIR_OUT) { _nbu2ss_ep_init()
324 if (ep->direct == USB_DIR_OUT) { _nbu2ss_epn_exit()
364 if (ep->direct == USB_DIR_OUT) { _nbu2ss_ep_dma_init()
410 if (ep->direct == USB_DIR_OUT) { _nbu2ss_ep_dma_exit()
484 u8 direct _nbu2ss_dma_map_single()
495 (direct == USB_DIR_IN) _nbu2ss_dma_map_single()
505 (direct == USB_DIR_IN) _nbu2ss_dma_map_single()
517 u8 direct _nbu2ss_dma_unmap_single()
524 if (direct == USB_DIR_OUT) { _nbu2ss_dma_unmap_single()
535 if (direct == USB_DIR_OUT) _nbu2ss_dma_unmap_single()
541 (direct == USB_DIR_IN) _nbu2ss_dma_unmap_single()
550 (direct == USB_DIR_IN) _nbu2ss_dma_unmap_single()
1278 if (ep->direct == USB_DIR_OUT) { _nbu2ss_start_transfer()
1571 if (ep->direct == USB_DIR_IN) { _nbu2ss_epn_set_stall()
1586 ep_adrs = ep->epnum | ep->direct; _nbu2ss_epn_set_stall()
1978 if ((ep->direct == USB_DIR_OUT) && (ep->epnum > 0) && _nbu2ss_ep_done()
2642 ep->direct = desc->bEndpointAddress & USB_ENDPOINT_DIR_MASK; nbu2ss_ep_enable()
2794 if (ep->direct == USB_DIR_IN) nbu2ss_ep_queue()
2800 if ((ep->epnum > 0) && (ep->direct == USB_DIR_OUT) && nbu2ss_ep_queue()
2818 } else if ((ep->epnum > 0) && (ep->direct == USB_DIR_OUT)) { nbu2ss_ep_queue()
2912 ep_adrs = ep->epnum | ep->direct; nbu2ss_ep_set_halt()
/linux-4.1.27/drivers/scsi/dpt/
H A Dosd_defs.h14 * liable for any direct, indirect, incidental, special, exemplary or
/linux-4.1.27/drivers/pci/
H A Dsyscall.c4 * For architectures where we want to allow direct access
/linux-4.1.27/arch/x86/include/asm/
H A Dlguest_hcall.h33 * operations? There are two ways: the direct way is to make a "hypercall",
H A Dhighmem.h5 * are not addressable by direct kernel virtual addresses.
/linux-4.1.27/arch/microblaze/include/asm/
H A Dhighmem.h5 * are not addressable by direct kernel virtual addresses.
/linux-4.1.27/fs/sysv/
H A Ditree.c432 unsigned blocks, res, direct = DIRECT, i = DEPTH; sysv_nblocks() local
435 while (--i && blocks > direct) { sysv_nblocks()
436 blocks = ((blocks - direct - 1) >> ptrs_bits) + 1; sysv_nblocks()
438 direct = 1; sysv_nblocks()
/linux-4.1.27/include/sound/
H A Dpcm_oss.h28 direct:1, member in struct:snd_pcm_oss_setup
H A Dasequencer.h58 /* direct dispatched events */
H A Dseq_kernel.h65 int (*event_input)(struct snd_seq_event *ev, int direct, void *private_data, int atomic, int hop);
/linux-4.1.27/arch/sh/kernel/cpu/sh3/
H A Dprobe.c60 * 2K(direct) 7702 is not supported (yet) cpu_probe()
/linux-4.1.27/arch/mips/include/uapi/asm/
H A Dfcntl.h37 #define O_DIRECT 0x8000 /* direct disk access hint */
/linux-4.1.27/arch/mips/kernel/
H A Dsegment.c28 * there is no direct physical address mapping. build_segment_config()
/linux-4.1.27/arch/mn10300/mm/
H A Dcache-dbg-flush-by-tag.S1 /* MN10300 CPU cache invalidation routines, using direct tag flushing
H A Dcache-dbg-inv-by-tag.S1 /* MN10300 CPU cache invalidation routines, using direct tag flushing
/linux-4.1.27/arch/m68k/math-emu/
H A Dfp_decode.h46 * d0 - will contain source operand for data direct mode,
120 | .long "data register direct","addr register direct"
214 | addressing mode: data register direct
/linux-4.1.27/kernel/gcov/
H A Dgcov.h38 * implementation of gcov. This also means no direct access to the members in
/linux-4.1.27/drivers/scsi/
H A Dst.h39 unsigned short do_dio; /* direct i/o set up? */
121 unsigned char try_dio; /* try direct i/o in general? */
122 unsigned char try_dio_now; /* try direct i/o before next close? */
H A Dosst_options.h91 direct SCSI command. The file number status is lost but this method
H A Dst_options.h83 direct SCSI command. The file number status is lost but this method
/linux-4.1.27/arch/mn10300/include/asm/
H A Dbusctl-regs.h29 #define BCCR_BxAD_EXBUS 0x0 /* - direct to system bus controller */
30 #define BCCR_BxAD_OPEXBUS 0x1 /* - direct to memory bus controller */
31 #define BCCR_BxAD_OCMBUS 0x2 /* - direct to on chip memory */
/linux-4.1.27/arch/ia64/include/asm/
H A Dmca_asm.h31 * direct mapped to physical addresses.
39 * direct mapped to physical addresses.
47 * direct mapped to physical addresses.
H A Dpci.h37 * PCI_DMA_BUS_IS_PHYS should be set to 1 if there is _necessarily_ a direct
/linux-4.1.27/fs/efs/
H A Dinode.c247 * work out which direct extent contains `cur'. efs_map_block()
250 * indirect extent contained within direct extent `cur'. efs_map_block()
261 pr_err("couldn't find direct extent for indirect extent %d (block %u)\n", efs_map_block()
/linux-4.1.27/arch/powerpc/perf/
H A Dpower6-pmu.c20 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */
54 * Map of which direct events on which PMCs are marked instruction events.
58 * 0 = direct marked event,
121 0x01000000, /* direct events set 1: byte 3 bit 0 */
122 0x00010000, /* direct events set 2: byte 2 bit 0 */
H A Dpower5+-pmu.c20 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */
240 * Some direct events for decodes of event bus byte 3 have alternative
359 * Map of which direct events on which PMCs are marked instruction events.
558 /* Bus event or any-PMC direct event */ power5p_compute_mmcr()
H A Dpower5-pmu.c20 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */
249 * Some direct events for decodes of event bus byte 3 have alternative
295 * Map of which direct events on which PMCs are marked instruction events.
498 /* Bus event or any-PMC direct event */ power5_compute_mmcr()
/linux-4.1.27/fs/autofs4/
H A Dexpire.c184 * Check a direct mount point for busyness.
204 /* Timeout of a direct mount is determined by its top dentry */ autofs4_direct_busy()
295 /* Check if we can expire a direct mount (possibly a tree) */ autofs4_expire_direct()
359 * Case 1: (i) indirect mount or top level pseudo direct mount should_expire()
401 * Case 3: pseudo direct mount, expire individual leaves should_expire()
H A Dwaitq.c140 * Kernel protocol v5 packet for handling indirect and direct autofs4_notify_daemon()
370 * cases. A direct or offset mount "always" has its mount autofs4_wait()
386 /* If this is a direct mount request create a dummy name */ autofs4_wait()
496 * For direct and offset mounts we need to track the requester's autofs4_wait()
508 /* direct mount or browsable map */ autofs4_wait()
H A Dinode.c94 seq_printf(m, ",direct"); autofs4_show_options()
124 {Opt_direct, "direct"},
/linux-4.1.27/arch/ia64/sn/pci/
H A Dtioca_provider.c270 * tioca_dma_d64 - create a DMA mapping using 64-bit direct mode
299 * tioca_dma_d48 - create a DMA mapping using 48-bit direct mode
305 * The CA agp 48 bit direct address falls out as follows:
307 * When direct mapping AGP addresses, the 48 bit AGP address is
459 * For mappings created using the direct modes (64 or 48) there are no
524 * If card is 64 or 48 bit addressable, use a direct mapping. 32 tioca_dma_map()
525 * bit direct is so restrictive w.r.t. where the memory resides that tioca_dma_map()
/linux-4.1.27/arch/alpha/kernel/
H A Dpci_iommu.c267 /* First check to see if we can use the direct map window. */ pci_map_single_1()
272 DBGA2("pci_map_single: [%p,%zx] -> direct %llx from %pf\n", pci_map_single_1()
387 DBGA2("pci_unmap_single: direct [%llx,%zx] from %pf\n", alpha_pci_unmap_page()
567 fall into the direct-map window, use it. */ sg_fill()
574 DBGA(" sg_fill: [%p,%lx] -> direct %llx\n", sg_fill()
599 /* If we attempted a direct map above but failed, die. */ sg_fill()
604 hunks into individual direct maps and retry. */ sg_fill()
779 DBGA(" (%ld) direct [%llx,%zx]\n", alpha_pci_unmap_sg()
816 /* If there exists a direct map, and the mask fits either alpha_pci_supported()
817 the entire direct mapped space or the total system memory as alpha_pci_supported()
H A Dcore_t2.c36 * By default, we direct-map starting at 2GB, in order to allow the
37 * maximum size direct-map window (2GB) to match the maximum amount of
352 /* Note we can only do 1 SG window, as the other is for direct, so t2_sg_map_window2()
454 * Window 1 is direct mapped. t2_init_arch()
H A Dcore_wildfire.c107 * Window 1 is direct access 1GB at 1GB wildfire_init_hose()
108 * Window 2 is direct access 1GB at 2GB wildfire_init_hose()
319 /* Normal direct PCI DMA mapping. */ wildfire_init_arch()
/linux-4.1.27/arch/frv/mb93090-mb00/
H A Dpci-vdk.c176 * Before we decide to use direct hardware access mechanisms, we try to do some
180 * attempt to make use of direct access hints provided by the PCI BIOS).
312 * using both PCI BIOS and direct access: in such cases, we use I/O ports
/linux-4.1.27/fs/ext2/
H A Dinode.c204 * @depth: depth of the chain (1 - direct pointer, etc.)
347 * of direct blocks need to be allocated for the given branch.
355 * direct and indirect blocks.
390 * the indirect blocks(if needed) and the first direct block,
392 * direct blocks
409 * the first direct block of this branch. That's the ext2_alloc_blocks()
416 /* allocating blocks for indirect blocks and direct blocks */ ext2_alloc_blocks()
432 /* save the new block number for the first direct block */ ext2_alloc_blocks()
435 /* total number of blocks allocated for direct blocks */ ext2_alloc_blocks()
548 * @blks: number of direct blocks we are adding
570 * direct blocks blocks ext2_splice_branch()
718 * direct blocks to allocate for this branch. ext2_get_blocks()
/linux-4.1.27/lib/zlib_inflate/
H A Dinffast.c264 from = out - dist; /* copy direct from output */ inflate_fast()
353 - Three separate decoding do-loops for direct, window, and write == 0
358 - Swapping window/direct else
/linux-4.1.27/sound/synth/emux/
H A Demux_oss.c41 static int snd_emux_event_oss_input(struct snd_seq_event *ev, int direct,
302 snd_emux_event_oss_input(struct snd_seq_event *ev, int direct, void *private_data, snd_emux_event_oss_input() argument
316 return snd_emux_event_input(ev, direct, private_data, atomic, hop); snd_emux_event_oss_input()
H A Demux_voice.h37 int snd_emux_event_input(struct snd_seq_event *ev, int direct, void *private,
/linux-4.1.27/tools/lib/traceevent/
H A Dplugin_kvm.c359 unsigned direct:1; member in struct:kvm_mmu_page_role::__anon14781
392 role.direct ? " direct" : "", kvm_mmu_print_role()
/linux-4.1.27/drivers/isdn/hisax/
H A Djade.h18 #define DIRECT_IO_JADE 0x0000 /* Jade direct io access area */
/linux-4.1.27/drivers/media/pci/zoran/
H A Dzr36016.h49 /* direct register addresses */
/linux-4.1.27/drivers/pci/hotplug/
H A Dcpcihp_zt5550.h46 /* Masks for interrupt bits in CSR_INTMASK direct register */
/linux-4.1.27/arch/x86/include/asm/numachip/
H A Dnumachip_csr.h38 * when using the direct mapping on x86_64, both start and size needs to be
/linux-4.1.27/arch/x86/power/
H A Dhibernate_64.c66 /* Set up the direct mapping from scratch */ set_up_temporary_mappings()
/linux-4.1.27/arch/unicore32/include/asm/
H A Dmemory.h86 * direct-mapped view. We assume this is the first page
/linux-4.1.27/fs/proc/
H A Dkcore.c9 * Safe accesses to vmalloc/direct-mapped discontiguous areas, Kanoj Sarcar <kanoj@sgi.com>
225 /* cut when vmalloc() area is higher than direct-map area */ kclist_add_private()
594 * direct-map area. We need to create special TEXT section.
638 /* Store direct-map area from physical memory map */ proc_kcore_init()
/linux-4.1.27/fs/xfs/
H A Dxfs_icache.h54 /* recovery needs direct inode allocation capability */
H A Dxfs_aops.c867 * inode that can trip a BUG() in xfs_get_blocks() later on if a direct IO read
963 * random callers for direct reclaim or memcg reclaim. We explicitly xfs_vm_writepage()
974 * Given that we do not allow direct reclaim to call us, we should xfs_vm_writepage()
1244 * types. But because the direct IO can only have a single private pointer, we
1252 * actually get one IO completion callback from the direct IO, and that spans
1352 int direct) __xfs_get_blocks()
1372 if (!create && direct && offset >= i_size_read(inode)) __xfs_get_blocks()
1382 if (create && !direct) { __xfs_get_blocks()
1404 if (direct || xfs_get_extsz_hint(ip)) { __xfs_get_blocks()
1448 if (direct || size > (1 << inode->i_blkbits)) __xfs_get_blocks()
1462 /* direct IO needs special help */ __xfs_get_blocks()
1463 if (create && direct) __xfs_get_blocks()
1489 BUG_ON(direct); __xfs_get_blocks()
1525 * Complete a direct I/O write request.
1347 __xfs_get_blocks( struct inode *inode, sector_t iblock, struct buffer_head *bh_result, int create, int direct) __xfs_get_blocks() argument
H A Dxfs_file.c311 * for direct IO, we effectively serialise all new concurrent xfs_file_read_iter()
316 * This allows the normal direct IO case of no page cache pages to xfs_file_read_iter()
543 * if called for a direct write beyond i_size.
630 * xfs_file_dio_aio_write - handle direct IO writes
632 * Lock the inode appropriately to prepare for and issue a direct IO write.
640 * In most cases the direct IO writes will be done holding IOLOCK_SHARED
641 * allowing them to be done in parallel with reads and other direct IO writes.
642 * However, if the IO is not aligned to filesystem blocks, the direct IO layer
644 * direct IOs to the same block. In this case we need to serialise the
/linux-4.1.27/arch/sh/boards/mach-microdev/
H A Dio.c21 * we need to have a 'safe' address to re-direct all I/O requests
/linux-4.1.27/arch/sh/include/asm/
H A Dpci.h86 * direct memory write.
/linux-4.1.27/kernel/irq/
H A Dirqdomain.c35 * @direct_max: Maximum value of direct maps; Use ~0 for no limit; 0 for no
36 * direct mapping
343 * irq_create_direct_mapping() - Allocate an irq for direct mapping
582 "name", "mapped", "linear-max", "direct-max", "devtree-node"); virq_debug_show()
611 bool direct; virq_debug_show() local
623 direct = (i == hwirq) && (i < domain->revmap_direct_max_irq); virq_debug_show()
626 direct ? "(DIRECT)" : ""); virq_debug_show()
660 * irq_domain_xlate_onecell() - Generic xlate for direct one cell bindings
678 * irq_domain_xlate_twocell() - Generic xlate for direct two cell bindings
/linux-4.1.27/mm/
H A Dinternal.h187 int order; /* order a direct compactor needs */
188 const gfp_t gfp_mask; /* gfp mask of a direct compactor */
189 const int alloc_flags; /* alloc flags of a direct compactor */
190 const int classzone_idx; /* zone index of a direct compactor */
/linux-4.1.27/net/atm/
H A Dlec_arpc.h89 * to this address via the data direct VC.
/linux-4.1.27/include/linux/input/
H A Dmt.h19 #define INPUT_MT_DIRECT 0x0002 /* direct device, e.g. touchscreen */
/linux-4.1.27/fs/
H A DMakefile17 obj-y += buffer.o block_dev.o direct-io.o mpage.o
/linux-4.1.27/net/batman-adv/
H A Dbat_iv_ogm.c434 /* we might have aggregated direct link packets with an batadv_iv_ogm_send_to_if()
519 * @directlink: true if this is a direct link packet
556 * -> direct link packets are broadcasted on batadv_iv_ogm_can_aggregate()
570 /* packets without direct link flag and high TTL batadv_iv_ogm_can_aggregate()
593 /* packets from direct neighbors or batadv_iv_ogm_can_aggregate()
617 * @direct_link: whether this OGM has direct link status
685 /* save packet direct link flag status */ batadv_iv_ogm_aggregate_new()
721 /* save packet direct link flag status */ batadv_iv_ogm_aggregate()
1171 /* if orig_node is direct neighbor update neigh_node last_seen */ batadv_iv_ogm_calc_tq()
1448 /* if sender is a direct neighbor the sender mac equals batadv_iv_ogm_process_per_outif()
1467 /* drop packet if sender is not a direct neighbor and if we batadv_iv_ogm_process_per_outif()
1503 /* is single hop (direct) neighbor */ batadv_iv_ogm_process_per_outif()
1514 /* mark direct link on incoming interface */ batadv_iv_ogm_process_per_outif()
1521 "Forwarding packet: rebroadcast neighbor packet with direct link flag\n"); batadv_iv_ogm_process_per_outif()
1655 /* neighbor has to indicate direct link and it has to batadv_iv_ogm_process()
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_hw.h46 /* Read from a direct address offset from BAR0, additional registers */
50 /* Write to a direct address offset from BAR0, additional registers */
/linux-4.1.27/drivers/net/wan/lmc/
H A Dlmc_ioctl.h65 #define LMC_NET 2 /* use direct net interface */
66 #define LMC_RAW 3 /* use direct net interface */
/linux-4.1.27/drivers/net/wireless/orinoco/
H A Dorinoco_pci.c3 * Driver for Prism 2.5/3 devices that have a direct PCI interface
240 MODULE_DESCRIPTION("Driver for wireless LAN cards using direct PCI interface");
/linux-4.1.27/arch/x86/kvm/
H A Dmmutrace.h38 role.direct ? " direct" : "", \
H A Dmmu.c756 if (!sp->role.direct) kvm_mmu_page_get_gfn()
764 if (sp->role.direct) kvm_mmu_page_set_gfn()
1620 if (!sp->role.direct) kvm_mmu_free_page()
1653 u64 *parent_pte, int direct) kvm_mmu_alloc_page()
1659 if (!direct) kvm_mmu_alloc_page()
1822 if ((_sp)->role.direct || (_sp)->role.invalid) {} else
2014 int direct, kvm_mmu_get_page()
2025 role.direct = direct; kvm_mmu_get_page()
2026 if (role.direct) kvm_mmu_get_page()
2060 sp = kvm_mmu_alloc_page(vcpu, parent_pte, direct); kvm_mmu_get_page()
2067 if (!direct) { kvm_mmu_get_page()
2153 * For the direct sp, if the guest pte's dirty bit validate_direct_spte()
2253 if (!sp->role.invalid && !sp->role.direct) kvm_mmu_prepare_zap_page()
2698 WARN_ON(!sp->role.direct); __direct_pte_prefetch()
2892 WARN_ON(!sp->role.direct); fast_pf_fix_direct_spte()
2895 * The gfn of direct spte is stable since it is calculated fast_pf_fix_direct_spte()
2987 * Currently, fast page fault only works for direct mapping since
3315 static bool quickly_check_mmio_pf(struct kvm_vcpu *vcpu, u64 addr, bool direct) quickly_check_mmio_pf() argument
3317 if (direct) quickly_check_mmio_pf()
3340 int handle_mmio_page_fault_common(struct kvm_vcpu *vcpu, u64 addr, bool direct) handle_mmio_page_fault_common() argument
3344 if (quickly_check_mmio_pf(vcpu, addr, direct)) handle_mmio_page_fault_common()
3356 if (direct) handle_mmio_page_fault_common()
3373 u32 error_code, bool direct) handle_mmio_page_fault()
3377 ret = handle_mmio_page_fault_common(vcpu, addr, direct); handle_mmio_page_fault()
4453 if (sp->role.direct && kvm_mmu_zap_collapsible_spte()
1652 kvm_mmu_alloc_page(struct kvm_vcpu *vcpu, u64 *parent_pte, int direct) kvm_mmu_alloc_page() argument
2010 kvm_mmu_get_page(struct kvm_vcpu *vcpu, gfn_t gfn, gva_t gaddr, unsigned level, int direct, unsigned access, u64 *parent_pte) kvm_mmu_get_page() argument
3372 handle_mmio_page_fault(struct kvm_vcpu *vcpu, u64 addr, u32 error_code, bool direct) handle_mmio_page_fault() argument
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Diommu.c580 /* Count number of direct PCI children of the PHB. */ pci_dma_bus_setup_pSeries()
678 /* If we're the direct child of a root bus, then we need to allocate pci_dma_dev_setup_pSeries()
756 pr_warning("%s: failed to remove direct window: rtas returned " remove_ddw()
760 pr_debug("%s: successfully removed direct window: rtas returned " remove_ddw()
768 pr_warning("%s: failed to remove direct window property: %d\n", remove_ddw()
979 dev_dbg(&dev->dev, "no supported direct page size in mask %x", enable_ddw()
1028 dev_info(&dev->dev, "failed to map direct window for %s: %d\n", enable_ddw()
1157 dev_info(dev, "Using 64-bit direct DMA at offset %llx\n", dma_offset); dma_set_mask_pSeriesLP()
/linux-4.1.27/arch/powerpc/kernel/
H A Drtas_pci.c99 /* Search only direct children of the bus */ rtas_pci_read_config()
160 /* Search only direct children of the bus */ rtas_pci_write_config()
/linux-4.1.27/scripts/
H A Dgen_initramfs_list.sh29 as direct input to initramfs.
187 # if only one file is specified and it is .cpio file then use it direct as fs
/linux-4.1.27/sound/pcmcia/pdaudiocf/
H A Dpdaudiocf_core.c254 /* disable interrupts, but use direct write to preserve old register value in chip->regmap */ snd_pdacf_powerdown()
269 /* disable interrupts, but use direct write to preserve old register value in chip->regmap */ snd_pdacf_suspend()
/linux-4.1.27/fs/9p/
H A Dvfs_addr.c232 * v9fs_direct_IO - 9P address space operation for direct I/O
239 * In the non-cached mode, we shunt off direct read and write requests before
/linux-4.1.27/fs/ext4/
H A Dindirect.c115 * @depth: depth of the chain (1 - direct pointer, etc.)
258 * of direct blocks need to be allocated for the given branch.
266 * direct and indirect blocks.
299 * @blks: number of allocated direct blocks
405 * @blks: number of direct blocks we are adding
436 * direct blocks blocks ext4_splice_branch()
462 * OK, we spliced it into the inode itself on a direct block. ext4_splice_branch()
465 jbd_debug(5, "splicing direct\n"); ext4_splice_branch()
571 /* Set up for the direct block allocation */ ext4_ind_map_blocks()
587 * direct blocks to allocate for this branch. ext4_ind_map_blocks()
1003 * @this_bh will be %NULL if @first and @last point into the inode's direct
1244 } else if (n == 1) { /* direct blocks */ ext4_ind_truncate()
1342 /* We're punching only within direct block range */ ext4_ind_remove_space()
1356 * Start is at the direct block level, free ext4_ind_remove_space()
/linux-4.1.27/arch/ia64/include/asm/sn/
H A Dtioca.h523 * | AGP48 direct
534 * | PCI32 direct
566 * CA has an addressing glitch w.r.t. PCI direct 32 bit DMA that makes it
567 * generally unusable. The problem is that for PCI direct 32
573 * as well. So there can be no PCI32 direct DMA below 3GB!! For this
/linux-4.1.27/arch/parisc/kernel/
H A Dmodule.c491 * for direct branches (jumps between different section of the get_stub()
603 /* direct 32-bit ref */ apply_relocate_add()
635 /* calculate direct call offset */ apply_relocate_add()
639 /* direct distance too far, create apply_relocate_add()
650 /* calculate direct call offset */ apply_relocate_add()
654 /* direct distance too far, create apply_relocate_add()
764 /* direct distance too far, create apply_relocate_add()
/linux-4.1.27/drivers/media/pci/saa7164/
H A Dsaa7164.h30 | : firmware direct into the PCIe bus, bypassing layers.
42 | | : direct into the device
149 /* The PCIe bridge doesn't grant direct access to i2c.
/linux-4.1.27/fs/xfs/libxfs/
H A Dxfs_inode_fork.c970 * Otherwise use a linear (direct) extent list. xfs_iext_add()
973 * inline to direct extent allocation mode. xfs_iext_add()
1221 * This removes ext_diff extents from a linear (direct) extent list,
1258 * Reallocate the direct extent list. If the extents xfs_iext_remove_direct()
1260 * will switch from direct to inline extent allocation xfs_iext_remove_direct()
1344 * Create, destroy, or resize a linear (direct) block of extents.
1363 /* Resize direct extent list and zero any new bytes */ xfs_iext_realloc_direct()
1387 /* Switch from the inline extent buffer to a direct extent list */ xfs_iext_realloc_direct()
1399 * Switch from linear (direct) extent records to inline buffer.
1410 * from inline to direct extent allocation mode, xfs_iext_direct_to_inline()
1421 * Switch from inline buffer to linear (direct) extent records.
1470 * Switch from indirection array to linear (direct) extent allocations.
/linux-4.1.27/drivers/video/fbdev/
H A Dxilinxfb.c56 * In case of direct BUS access the second control register will be at
60 * direct BUS access.
435 * Fill the resource structure if its direct BUS interface xilinxfb_of_probe()
/linux-4.1.27/arch/mn10300/unit-asb2305/
H A Dpci.c236 * Before we decide to use direct hardware access mechanisms, we try to do some
240 * attempt to make use of direct access hints provided by the PCI BIOS).
337 * using both PCI BIOS and direct access: in such cases, we use I/O ports
/linux-4.1.27/sound/pci/hda/
H A Dpatch_ca0132.c145 int direct; /* 0:output; 1:input*/ member in struct:ct_effect
159 .direct = EFX_DIR_OUT,
167 .direct = EFX_DIR_OUT,
175 .direct = EFX_DIR_OUT,
183 .direct = EFX_DIR_OUT,
191 .direct = EFX_DIR_OUT,
200 .direct = EFX_DIR_OUT,
210 .direct = EFX_DIR_IN,
218 .direct = EFX_DIR_IN,
226 .direct = EFX_DIR_IN,
234 .direct = EFX_DIR_IN,
242 .direct = EFX_DIR_IN,
277 int direct; /* 0:output; 1:input*/ member in struct:ct_tuning_ctl
287 .direct = EFX_DIR_IN,
295 .direct = EFX_DIR_IN,
303 .direct = EFX_DIR_OUT,
311 .direct = EFX_DIR_OUT,
319 .direct = EFX_DIR_OUT,
327 .direct = EFX_DIR_OUT,
335 .direct = EFX_DIR_OUT,
343 .direct = EFX_DIR_OUT,
351 .direct = EFX_DIR_OUT,
359 .direct = EFX_DIR_OUT,
367 .direct = EFX_DIR_OUT,
375 .direct = EFX_DIR_OUT,
3093 ca0132_tuning_ctls[i].direct); add_tuning_ctls()
3950 ca0132_effects[i].direct); ca0132_build_controls()
/linux-4.1.27/sound/core/oss/
H A Dpcm_oss.c846 int direct; snd_pcm_oss_change_params() local
866 direct = 1; snd_pcm_oss_change_params()
868 direct = substream->oss.setup.direct; snd_pcm_oss_change_params()
878 if (!direct) snd_pcm_oss_change_params()
893 if (direct) snd_pcm_oss_change_params()
917 if (direct) { snd_pcm_oss_change_params()
942 if (!direct) { snd_pcm_oss_change_params()
1779 int direct; snd_pcm_oss_get_formats() local
1788 direct = 1; snd_pcm_oss_get_formats()
1790 direct = substream->oss.setup.direct; snd_pcm_oss_get_formats()
1791 if (!direct) snd_pcm_oss_get_formats()
2856 setup->direct ? " direct" : "", snd_pcm_oss_proc_read()
2916 } else if (!strcmp(str, "direct")) { snd_pcm_oss_proc_write()
2917 template.direct = 1; snd_pcm_oss_proc_write()
/linux-4.1.27/drivers/irqchip/
H A Dirq-versatile-fpga.c219 * On Versatile AB/PB, some secondary interrupts have a direct fpga_irq_of_init()
/linux-4.1.27/drivers/mmc/host/
H A Dmmci_qcom_dml.c148 * Disable direct mode as we don't DML to MASTER the AHB bus. dml_hw_init()
/linux-4.1.27/drivers/scsi/libfc/
H A Dfc_libfc.h108 * Set up direct-data placement for this I/O request
/linux-4.1.27/drivers/staging/speakup/
H A Dspeakup_acntsa.c65 __ATTR(direct, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
H A Dspeakup_audptr.c69 __ATTR(direct, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
H A Dspeakup_bns.c62 __ATTR(direct, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
H A Dspeakup_dummy.c64 __ATTR(direct, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
H A Dspeakup_ltlk.c74 __ATTR(direct, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
H A Dspeakup_spkout.c68 __ATTR(direct, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
H A Dspeakup_txprt.c62 __ATTR(direct, S_IWUSR|S_IRUGO, spk_var_show, spk_var_store);
/linux-4.1.27/drivers/staging/octeon/
H A Dethernet-mdio.c201 /* If there is no phy, assume a direct MAC connection and that cvm_oct_phy_setup_device()
/linux-4.1.27/drivers/clk/tegra/
H A Dclk-super.c92 * For LP mode super-clock switch between PLLX direct clk_super_set_parent()

Completed in 3837 milliseconds

12345