Home
last modified time | relevance | path

Searched full:like (Results 1 – 25 of 3842) sorted by relevance

12345678910>>...154

/linux/block/partitions/
H A DKconfig10 Say Y here if you would like to use hard disks under Linux which
31 Say Y here if you would like to use hard disks under Linux which
44 Say Y here if you would like to use hard disks under Linux which
77 Say Y here if you would like to be able to read the hard disk
89 Say Y here if you would like to use hard disks under Linux which
96 Say Y here if you would like to use hard disks under Linux which
103 Say Y here if you would like to use hard disks under Linux which
110 Say Y here if you would like to be able to read the hard disk
118 Say Y here if you would like to use hard disks under Linux which
152 Like most systems, Solaris x86 uses its own hard disk partition
[all …]
/linux/tools/memory-model/Documentation/
H A DREADME8 depending on what you know and what you would like to learn. Please note
17 like an overview of the types of low-level concurrency primitives
26 o You would like to access lock-protected shared variables without
30 like a detailed intuitive understanding of LKMM, including
33 o You would like a detailed understanding of what your compiler can
36 o You would like to mark concurrent normal accesses to shared
42 LKMM, and would like a quick reference: cheatsheet.txt
45 of LKMM, and would like to learn about LKMM's requirements,
/linux/Documentation/core-api/
H A Dentry.rst16 exceptions`_, `NMI and NMI-like exceptions`_.
64 invoked from low-level assembly code looks like this:
88 and then invokes the various entry work functions like ptrace, seccomp, audit,
94 returning to user space like tracing, audit, signals, task work etc. After
197 NMI and NMI-like exceptions
200 NMIs and NMI-like exceptions (machine checks, double faults, debug
206 in kernel mode (code patching). From user-space, they are treated like
207 interrupts, while from kernel mode they are treated like NMIs.
209 NMIs and other NMI-like exceptions handle state transitions without
229 Architecture-specific code looks like this:
[all …]
H A Dasm-annotations.rst12 Some code like entries, trampolines, or boot code needs to be written in
21 Over time, the Linux kernel has adopted macros from various projects (like
42 annotated objects like this, tools can be run on them to generate more useful
76 1. ``SYM_FUNC_*`` -- to annotate C-like functions. This means functions with
83 Checking tools like ``objtool`` should ensure such marked functions conform
85 debugging information (like *ORC data*) automatically.
93 this code needs hints like ``UNWIND_HINT_REGS`` provided by developers.
111 conventions -- global and local. Like in C, they both align the functions to
124 So in most cases, developers should write something like in the following
H A Dpacking.rst51 1. Normally (no quirks), we would do it like this:
67 2. If QUIRK_MSB_ON_THE_RIGHT is set, we do it like this:
80 3. If QUIRK_LITTLE_ENDIAN is set, we do it like this:
94 like this:
104 5. If just QUIRK_LSW32_IS_FIRST is set, we do it like this:
118 6. If QUIRK_LSW32_IS_FIRST and QUIRK_MSB_ON_THE_RIGHT are set, we do it like
129 7. If QUIRK_LSW32_IS_FIRST and QUIRK_LITTLE_ENDIAN are set, it looks like
141 are set, it looks like this:
H A Ddma-api-howto.rst25 "resource_size_t". The kernel manages device resources like registers as
85 an interface like dma_map_single(), which sets up any required IOMMU
129 something like __va(). [ EDIT: Update this when we integrate
206 The 24-bit addressing device would do something like this::
213 The standard 64-bit addressing device would do something like this::
218 error code like::
225 So typical code like::
235 it would look like this::
248 address you might do something like::
332 something like::
[all …]
/linux/drivers/misc/lkdtm/
H A Drefcount.c42 /* refcount_add() should behave just like refcount_inc() above. */
60 /* refcount_inc_not_zero() should behave just like refcount_inc() above. */
72 /* refcount_add_not_zero() should behave just like refcount_inc() above. */
156 * A refcount_dec_and_test() should act like refcount_dec() above when
171 * A refcount_sub_and_test() should act like refcount_dec_and_test()
186 * A refcount_sub_and_test() by zero when the counter is at zero should act like
243 * A refcount_add() should act like refcount_inc() above when starting
295 /* Should act like refcount_inc() above from saturated. */
306 /* Should act like refcount_inc() above from saturated. */
317 /* Should act like refcount_inc() above from saturated. */
[all …]
/linux/scripts/mod/
H A Dfile2alias.c168 /* Looks like "usb:vNpNdNdcNdscNdpNicNiscNipNinN" */
238 /* Returns the previous value, so it works like i++ or i-- */
399 /* Looks like: hid:bNvNpN */
417 /* Looks like: ieee1394:venNmoNspNverN */
441 /* Looks like: pci:vNdNsvNsdNbcNscNiN or <prefix>_pci:vNdNsvNsdNbcNscNiN. */
497 /* looks like: "ccw:tNmNdtNdmN" */
520 /* looks like: "ap:tN" */
530 /* looks like: "css:tN" */
540 /* Looks like: "serio:tyNprNidNexN" */
559 /* looks like: "acpi:ACPI0003" or "acpi:PNP0C0B" or "acpi:LNXVIDEO" or
[all …]
/linux/Documentation/trace/coresight/
H A Dcoresight-perf.rst13 can log such data with a perf record command like::
20 readable text with a command like::
24 You should find some sections of this file have AUX data blocks like::
68 enabled like::
87 kernel tree. Some tests will check some internal perf support like:
95 tests are in the same directory. These will all look like:
109 directory (e.g. tools/perf) and will be named stats-\*.csv like:
138 test like::
144 directory for later inspection like::
/linux/Documentation/kbuild/
H A Dkconfig-macro-language.rst14 can write a makefile like follows::
24 and handles as if the source file were input like follows::
33 file like this::
53 Like in Make, a variable in Kconfig works as a macro variable. A macro
96 Like Make, Kconfig provides several built-in functions. Every function takes a
145 Kconfig adopts Make-like macro language, but the function call syntax is
148 A function call in Make looks like this::
156 to make "info" function print " hello", you can write like follows::
173 'call', like this::
241 Instead, you can do like follows so that any function call is statically
/linux/Documentation/userspace-api/media/v4l/
H A Dlibv4l-introduction.rst72 applications work with v4l2 devices. These functions work exactly like
113 Those functions operate just like the gcc function ``dup()`` and
121 operates like the :c:func:`open()` function.
125 operates like the :c:func:`close()` function.
129 operates like the libc ``dup()`` function, duplicating a file handler.
133 operates like the :c:func:`ioctl()` function.
137 operates like the :c:func:`read()` function.
141 operates like the :c:func:`mmap()` function.
145 operates like the :c:func:`munmap()` function.
/linux/Documentation/sound/designs/
H A Doss-emulation.rst29 ``alias sound-slot-0 snd-card-0`` doesn't work any more like the old
65 (NOTE: Some distributions have the device files like /dev/midi0 and
90 define like this:
97 device on the second card to /dev/adsp1, define like below:
125 This will lead to some problems for some applications like quake or
168 quake, send a command via echo like the following:
191 for OSS devices, define like the following:
209 and restore it like
271 file, /proc/asound/cardX/oss_mixer, which will be like the following
288 send the command like the following:
[all …]
/linux/kernel/time/
H A Dclocksource-wdtest.c114 * Verify that jiffies-like clocksources get the manually in wdtest_func()
117 pr_info("--- Verify jiffies-like uncertainty margin.\n"); in wdtest_func()
129 * Verify that tsc-like clocksources are assigned a reasonable in wdtest_func()
132 pr_info("--- Verify tsc-like uncertainty margin.\n"); in wdtest_func()
139 pr_info("--- tsc-like times: %lu - %lu = %lu.\n", j2, j1, j2 - j1); in wdtest_func()
142 /* Verify tsc-like stability with various numbers of errors injected. */ in wdtest_func()
160 /* Verify tsc-like stability with clock-value-fuzz error injection. */ in wdtest_func()
/linux/Documentation/spi/
H A Dspi-summary.rst28 Unlike serial busses like USB or SMBus, even low level protocols for
30 (except for commodities like SPI memory chips).
44 - Sometimes SPI is used to daisy-chain devices, like shift registers.
79 sensors and codecs, to memory, to peripherals like USB controllers
138 for those calls, including ones for common transaction types like writing
155 data to filesystems stored on SPI flash like DataFlash; and others might
216 like the physical address of the controller's first register and its IRQ.
225 So for example arch/.../mach-*/board-*.c files might have code like::
242 And SOC-specific utility code might look something like::
282 small handful.) That might look like::
[all …]
/linux/Documentation/doc-guide/
H A Dkernel-doc.rst44 the comment is formatted like a normal multi-line comment with a column
67 The general format of a function and function-like macro kernel-doc comment is::
234 It is possible to document nested structs and unions, like::
288 on a line of their own, like all other kernel-doc comments::
344 Object-like macro documentation
347 Object-like macros are distinct from function-like macros. They are
349 left parenthesis ('(') for function-like macros or not followed by one
350 for object-like macros.
352 Function-like macros are handled like functions by ``scripts/kernel-doc``.
353 They may have a parameter list. Object-like macros have do not have a
[all …]
/linux/arch/loongarch/include/asm/
H A Duaccess.h36 * space. It supports simple types like char and int, but not larger
37 * data types like structures or arrays.
63 * space. It supports simple types like char and int, but not larger
64 * data types like structures or arrays.
88 * space. It supports simple types like char and int, but not larger
89 * data types like structures or arrays.
118 * space. It supports simple types like char and int, but not larger
119 * data types like structures or arrays.
/linux/Documentation/process/
H A Dbotching-up-ioctls.rst19 only cover technicalities and not the big-picture issues like what the command
20 submission ioctl exactly should look like. Learning these lessons is probably
31 the kernel has special types like __u32, __s64. Use them.
47 diminishes the checking tools like sparse can provide. The macro
117 killable. GPUs just die and your users won't like you more if you hang their
137 derived from different clock domains like your main system clock (provided
154 Especially if your reference clock is something really slow like the display
187 that the per-device modeset objects like connectors share a namespace with
215 per-device settings, or for child objects with fairly static lifetimes (like
/linux/Documentation/networking/device_drivers/cable/
H A Dsb1000.rst107 root to do this. It's better to use a utility like sudo to execute
108 frequently used commands like this with root permissions if possible. If you
110 driver message like this at the console::
123 11. If you can't get site names (like www.yahoo.com) to resolve into
124 IP addresses (like 204.71.200.67), be sure your /etc/resolv.conf file
126 If this doesn't help, try something like ``ping -c 5 204.71.200.67`` to
137 interface. It looks like I'm connected but I can't even ping any
203 and try setting the delay to something like 60 microseconds with:
205 it out. If it still doesn't work or you like playing with the driver, you may
/linux/Documentation/
H A Datomic_t.txt64 (which implies -fwrapv) and defines signed overflow to behave like
73 With this we also conform to the C/C++ _Atomic behaviour and things like
174 Except of course when a successful operation has an explicit ordering like:
184 subsequent. Therefore a fully ordered primitive is like having an smp_mb()
193 ordering inherent to the op. These barriers act almost like a full smp_mb():
220 Further, while something like:
228 as well. Similarly, something like:
283 compact code. The functions relate like:
336 which on LL/SC becomes something like:
/linux/Documentation/admin-guide/
H A Dquickly-build-trimmed-linux.rst20 If your system uses techniques like Secure Boot, prepare it to permit starting
162 version you deepened to (``v6.0`` above); later releases like ``v6.1`` and
163 pre-release like ``v6.2-rc1`` will work, too. Stable or longterm versions
164 like ``v6.1.5`` work just the same, if you added the appropriate
171 * In case you want to apply a kernel patch, do so now. Often a command like
191 Running ``uname -r`` under your kernel later will then print something like
219 did not use since you booted your Linux -- like drivers for currently
246 by using make targets like 'menuconfig' or 'xconfig'.
272 On a few distributions like Arch Linux and its derivatives the above command
375 -- especially if you fiddle with crucial parts like the kernel of an operating
[all …]
/linux/include/uapi/linux/
H A Dsound.h17 #define SND_DEV_DSP16 5 /* Like /dev/dsp but 16 bits/sample */
27 #define SND_DEV_ADSP 12 /* Like /dev/dsp (obsolete) */
28 #define SND_DEV_AMIDI 13 /* Like /dev/midi (obsolete) */
29 #define SND_DEV_ADMMIDI 14 /* Like /dev/dmmidi (onsolete) */
H A Dif_vlan.h43 VLAN_NAME_TYPE_PLUS_VID, /* Name will look like: vlan0005 */
44 VLAN_NAME_TYPE_RAW_PLUS_VID, /* name will look like: eth1.0005 */
45 VLAN_NAME_TYPE_PLUS_VID_NO_PAD, /* Name will look like: vlan5 */
46 VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD, /* Name will look like: eth0.5 */
/linux/Documentation/ABI/stable/
H A Dsysfs-devices-system-cpu70 The format is like 0-3, 8-11, 14,17.
81 The format is like 0-3, 8-11, 14,17.
95 The format is like 0-3, 8-11, 14,17.
104 The format is like 0-3, 8-11, 14,17.
115 The format is like 0-3, 8-11, 14,17. it's only used on s390.
126 The format is like 0-3, 8-11, 14,17. it's only used on s390.
/linux/Documentation/driver-api/usb/
H A Dgadget.rst75 to hardware, through registers, fifos, dma, irqs, and the like. The
127 - networking subsystem (for network gadgets, like the CDC Ethernet
170 hardware-specific, any more than network protocols like X11, HTTP, or
223 Like the Linux-USB host side API, this API exposes the "chunky" nature
226 protocols, USB resembles synchronous protocols like HDLC (N bytes per
240 needs to handle some differences. Use the API like this:
288 enumeration until some higher level component (like a user mode daemon)
383 act like a net2280, a pxa25x, or an sa11x0 in terms of available
415 Pengutronix and Auerswald GmbH. This is like CDC Ethernet, but it runs
424 Familiar tools like GDB and pthreads can be used to develop and debug
[all …]
/linux/drivers/clk/
H A Dclk_kunit_helpers.c58 * Just like clk_get(), except the clk is managed by the test case and is
80 * Just like of_clk_get(), except the clk is managed by the test case and is
102 * Just like clk_hw_get_clk(), except the clk is managed by the test case and
124 * Just like
165 * Just like clk_hw_register(), except the clk registration is managed by the
188 * Just like of_clk_hw_register(), except the clk registration is managed by

12345678910>>...154