Home
last modified time | relevance | path

Searched +full:blocking +full:- +full:io (Results 1 – 25 of 469) sorted by relevance

12345678910>>...19

/kernel/linux/linux-6.6/Documentation/block/
Dnull_blk.rst1 .. SPDX-License-Identifier: GPL-2.0
11 block-layer implementations. It emulates a block device of X gigabytes in size.
15 Multi-queue block-layer
17 - Request-based.
18 - Configurable submission queues per device.
20 No block-layer (Known as bio-based)
22 - Bio-based. IO requests are submitted directly to the device driver.
23 - Directly accepts bio data structure and returns them.
30 queue_mode=[0-2]: Default: 2-Multi-queue
31 Selects which block-layer the module should instantiate with.
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/hwmon/
Dsensirion,shtc1.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Christopher Ruehl chris.ruehl@gtsys.com.hk
14 designed especially for battery-driven high-volume consumer electronics
24 - sensirion,shtc1
25 - sensirion,shtw1
26 - sensirion,shtc3
31 sensirion,blocking-io:
36 sensirion,low-precision:
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/hwmon/
Dsensirion,shtc1.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Christopher Ruehl chris.ruehl@gtsys.com.hk
14 designed especially for battery-driven high-volume consumer electronics
24 - sensirion,shtc1
25 - sensirion,shtw1
26 - sensirion,shtc3
31 sensirion,blocking-io:
36 sensirion,low-precision:
[all …]
/kernel/linux/linux-5.10/Documentation/block/
Dnull_blk.rst1 .. SPDX-License-Identifier: GPL-2.0
11 block-layer implementations. It emulates a block device of X gigabytes in size.
15 Multi-queue block-layer
17 - Request-based.
18 - Configurable submission queues per device.
20 No block-layer (Known as bio-based)
22 - Bio-based. IO requests are submitted directly to the device driver.
23 - Directly accepts bio data structure and returns them.
30 queue_mode=[0-2]: Default: 2-Multi-queue
31 Selects which block-layer the module should instantiate with.
[all …]
/kernel/linux/linux-5.10/fs/btrfs/
Dlocking.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/page-flags.h>
26 * - reader/writer exclusion
27 * - writer/writer exclusion
28 * - reader/reader sharing
29 * - spinning lock semantics
30 * - blocking lock semantics
31 * - try-lock semantics for readers and writers
32 * - one level nesting, allowing read lock to be taken by the same thread that
36 * related to the storage in the b-tree (keys, items, but not the individual
[all …]
/kernel/linux/linux-6.6/arch/m68k/sun3/prom/
Dconsole.c1 // SPDX-License-Identifier: GPL-2.0
3 * console.c: Routines that deal with sending and receiving IO
16 /* Non blocking get character from console input device, returns -1
22 int i = -1; in prom_nbgetchar()
26 i = (*(romvec->pv_nbgetchar))(); in prom_nbgetchar()
31 /* Non blocking put character to console device, returns -1 if
38 int i = -1; in prom_nbputchar()
41 i = (*(romvec->pv_nbputchar))(c); in prom_nbputchar()
46 /* Blocking version of get character routine above. */
51 while((character = prom_nbgetchar()) == -1) ; in prom_getchar()
[all …]
/kernel/linux/linux-5.10/arch/m68k/sun3/prom/
Dconsole.c1 // SPDX-License-Identifier: GPL-2.0
3 * console.c: Routines that deal with sending and receiving IO
16 /* Non blocking get character from console input device, returns -1
22 int i = -1; in prom_nbgetchar()
26 i = (*(romvec->pv_nbgetchar))(); in prom_nbgetchar()
31 /* Non blocking put character to console device, returns -1 if
38 int i = -1; in prom_nbputchar()
41 i = (*(romvec->pv_nbputchar))(c); in prom_nbputchar()
46 /* Blocking version of get character routine above. */
51 while((character = prom_nbgetchar()) == -1) ; in prom_getchar()
[all …]
/kernel/linux/linux-6.6/kernel/sched/
Dcompletion.c1 // SPDX-License-Identifier: GPL-2.0
4 * Generic wait-for-completion handler;
7 * wait_for_completion default blocks whereas semaphore default non-block. The
20 raw_spin_lock_irqsave(&x->wait.lock, flags); in complete_with_flags()
22 if (x->done != UINT_MAX) in complete_with_flags()
23 x->done++; in complete_with_flags()
24 swake_up_locked(&x->wait, wake_flags); in complete_with_flags()
25 raw_spin_unlock_irqrestore(&x->wait.lock, flags); in complete_with_flags()
34 * complete: - signals a single thread waiting on this completion
52 * complete_all: - signals all threads waiting on this completion
[all …]
/kernel/linux/linux-5.10/kernel/sched/
Dcompletion.c1 // SPDX-License-Identifier: GPL-2.0
3 * Generic wait-for-completion handler;
6 * wait_for_completion default blocks whereas semaphore default non-block. The
17 * complete: - signals a single thread waiting on this completion
32 raw_spin_lock_irqsave(&x->wait.lock, flags); in complete()
34 if (x->done != UINT_MAX) in complete()
35 x->done++; in complete()
36 swake_up_locked(&x->wait); in complete()
37 raw_spin_unlock_irqrestore(&x->wait.lock, flags); in complete()
42 * complete_all: - signals all threads waiting on this completion
[all …]
/kernel/linux/linux-6.6/Documentation/gpu/
Dvgaarbiter.rst7 implemented on PCI will typically have the same "hard-decoded" addresses as
8 they did on ISA. For more details see "PCI Bus Binding to IEEE Std 1275-1994
14 than one legacy device co-exists on the same machine. But the problem happens
23 ---------------------------
46 An IO state string is of the form {io,mem,io+mem,none}, mc and
47 ic are respectively mem and io lock counts (for debugging/
51 unplugged, we get "invalid" then for card_ID and an -ENODEV
63 non-blocking acquire locks on target (returns EBUSY if
90 In the case of devices hot-{un,}plugged, there is a hook - pci_notify() - to
94 There is also an in-kernel API of the arbiter in case DRM, vgacon, or other
[all …]
/kernel/linux/linux-5.10/Documentation/gpu/
Dvgaarbiter.rst7 implemented on PCI will typically have the same "hard-decoded" addresses as
8 they did on ISA. For more details see "PCI Bus Binding to IEEE Std 1275-1994
14 than one legacy device co-exists on the same machine. But the problem happens
23 ---------------------------
46 An IO state string is of the form {io,mem,io+mem,none}, mc and
47 ic are respectively mem and io lock counts (for debugging/
51 unplugged, we get "invalid" then for card_ID and an -ENODEV
63 non-blocking acquire locks on target (returns EBUSY if
90 In the case of devices hot-{un,}plugged, there is a hook - pci_notify() - to
94 There is also an in-kernel API of the arbiter in case DRM, vgacon, or other
[all …]
/kernel/linux/linux-6.6/Documentation/core-api/
Dgfp_mask-from-fs-io.rst4 GFP masks used from FS/IO context
13 Code paths in the filesystem and IO stacks must be careful when
15 memory reclaim calling back into the FS or IO paths and blocking on
16 already held resources (e.g. locks - most commonly those used for the
25 of GFP_NOFS/GFP_NOIO can lead to memory over-reclaim or other memory
36 mask so no memory allocation can recurse back in the FS/IO.
38 .. kernel-doc:: include/linux/sched/mm.h
40 .. kernel-doc:: include/linux/sched/mm.h
43 FS/IO code then simply calls the appropriate save function before
44 any critical section with respect to the reclaim is started - e.g.
[all …]
/kernel/linux/linux-5.10/Documentation/core-api/
Dgfp_mask-from-fs-io.rst4 GFP masks used from FS/IO context
13 Code paths in the filesystem and IO stacks must be careful when
15 memory reclaim calling back into the FS or IO paths and blocking on
16 already held resources (e.g. locks - most commonly those used for the
25 of GFP_NOFS/GFP_NOIO can lead to memory over-reclaim or other memory
36 mask so no memory allocation can recurse back in the FS/IO.
38 .. kernel-doc:: include/linux/sched/mm.h
40 .. kernel-doc:: include/linux/sched/mm.h
43 FS/IO code then simply calls the appropriate save function before
44 any critical section with respect to the reclaim is started - e.g.
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dshtc1.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <linux/hwmon-sysfs.h>
41 /* delays for non-blocking i2c commands, both in us */
75 int ret = i2c_master_send(client, data->command, SHTC1_CMD_LENGTH); in shtc1_update_values()
77 dev_err(&client->dev, "failed to send command: %d\n", ret); in shtc1_update_values()
78 return ret < 0 ? ret : -EIO; in shtc1_update_values()
82 * In blocking mode (clock stretching mode) the I2C bus in shtc1_update_values()
84 * will wait until the data is ready. For non blocking mode, we in shtc1_update_values()
87 if (!data->setup.blocking_io) in shtc1_update_values()
88 usleep_range(data->nonblocking_wait_time, in shtc1_update_values()
[all …]
/kernel/linux/linux-6.6/drivers/hwmon/
Dshtc1.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include <linux/hwmon-sysfs.h>
41 /* delays for non-blocking i2c commands, both in us */
75 int ret = i2c_master_send(client, data->command, SHTC1_CMD_LENGTH); in shtc1_update_values()
77 dev_err(&client->dev, "failed to send command: %d\n", ret); in shtc1_update_values()
78 return ret < 0 ? ret : -EIO; in shtc1_update_values()
82 * In blocking mode (clock stretching mode) the I2C bus in shtc1_update_values()
84 * will wait until the data is ready. For non blocking mode, we in shtc1_update_values()
87 if (!data->setup.blocking_io) in shtc1_update_values()
88 usleep_range(data->nonblocking_wait_time, in shtc1_update_values()
[all …]
/kernel/linux/linux-5.10/arch/sparc/prom/
Dconsole_32.c1 // SPDX-License-Identifier: GPL-2.0
3 * console.c: Routines that deal with sending and receiving IO
19 /* Non blocking put character to console device, returns -1 if
25 int i = -1; in prom_nbputchar()
30 if ((*(romvec->pv_nbputchar))(*buf)) in prom_nbputchar()
35 if ((*(romvec->pv_v2devops).v2_dev_write)(*romvec->pv_v2bootargs.fd_stdout, in prom_nbputchar()
53 len--; in prom_console_write_buf()
/kernel/linux/linux-6.6/arch/sparc/prom/
Dconsole_32.c1 // SPDX-License-Identifier: GPL-2.0
3 * console.c: Routines that deal with sending and receiving IO
19 /* Non blocking put character to console device, returns -1 if
25 int i = -1; in prom_nbputchar()
30 if ((*(romvec->pv_nbputchar))(*buf)) in prom_nbputchar()
35 if ((*(romvec->pv_v2devops).v2_dev_write)(*romvec->pv_v2bootargs.fd_stdout, in prom_nbputchar()
53 len--; in prom_console_write_buf()
/kernel/linux/linux-6.6/drivers/block/null_blk/
Dnull_blk.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #include <linux/blk-mq.h>
14 #include <linux/fault-inject.h>
114 bool blocking; /* blocking blk-mq device */ member
115 bool use_per_node_hctx; /* use per-node allocation for hardware context */
121 bool no_sched; /* no IO scheduler for the device */
166 return -EINVAL; in null_init_zoned_dev()
170 return -ENODEV; in null_register_zoned_dev()
188 return -EOPNOTSUPP; in zone_cond_store()
/kernel/linux/linux-6.6/io_uring/
Drw.c1 // SPDX-License-Identifier: GPL-2.0
6 #include <linux/blk-mq.h>
34 if (req->flags & REQ_F_SUPPORT_NOWAIT) in io_file_supports_nowait()
40 return vfs_poll(req->file, &pt) & mask; in io_file_supports_nowait()
52 uiov = u64_to_user_ptr(rw->addr); in io_iov_compat_buffer_select_prep()
54 return -EFAULT; in io_iov_compat_buffer_select_prep()
55 if (__get_user(clen, &uiov->iov_len)) in io_iov_compat_buffer_select_prep()
56 return -EFAULT; in io_iov_compat_buffer_select_prep()
58 return -EINVAL; in io_iov_compat_buffer_select_prep()
60 rw->len = clen; in io_iov_compat_buffer_select_prep()
[all …]
/kernel/linux/linux-6.6/arch/m68k/include/asm/
Doplib.h1 /* SPDX-License-Identifier: GPL-2.0 */
35 * and usage utility functions. Only prom-lib should use these,
52 /* Map and unmap devices in IO space at virtual addresses. Note that the
65 * of the string is different on V0 vs. V2->higher proms. The caller must
90 * These lists are returned pre-sorted, this should make your life easier
108 /* Enter the prom, with no chance of continuation for the stand-alone
117 * XXX The arguments are different on V0 vs. V2->higher proms, grrr! XXX
139 /* Non-blocking get character from console. */
142 /* Non-blocking put character to console. */
145 /* Blocking get character from console. */
[all …]
/kernel/linux/linux-5.10/arch/m68k/include/asm/
Doplib.h1 /* SPDX-License-Identifier: GPL-2.0 */
35 * and usage utility functions. Only prom-lib should use these,
52 /* Map and unmap devices in IO space at virtual addresses. Note that the
65 * of the string is different on V0 vs. V2->higher proms. The caller must
90 * These lists are returned pre-sorted, this should make your life easier
108 /* Enter the prom, with no chance of continuation for the stand-alone
117 * XXX The arguments are different on V0 vs. V2->higher proms, grrr! XXX
139 /* Non-blocking get character from console. */
142 /* Non-blocking put character to console. */
145 /* Blocking get character from console. */
[all …]
/kernel/linux/linux-6.6/fs/fuse/
Dfile.c3 Copyright (C) 2001-2008 Miklos Szeredi <miklos@szeredi.hu>
32 if (!fm->fc->atomic_o_trunc) in fuse_send_open()
35 if (fm->fc->handle_killpriv_v2 && in fuse_send_open()
66 ff->fm = fm; in fuse_file_alloc()
67 ff->release_args = kzalloc(sizeof(*ff->release_args), in fuse_file_alloc()
69 if (!ff->release_args) { in fuse_file_alloc()
74 INIT_LIST_HEAD(&ff->write_entry); in fuse_file_alloc()
75 mutex_init(&ff->readdir.lock); in fuse_file_alloc()
76 refcount_set(&ff->count, 1); in fuse_file_alloc()
77 RB_CLEAR_NODE(&ff->polled_node); in fuse_file_alloc()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/supply/
Dsbs,sbs-battery.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
16 - $ref: power-supply.yaml#
21 - items:
22 - enum:
23 - ti,bq20z45
24 - ti,bq20z65
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/supply/
Dsbs,sbs-battery.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/power/supply/sbs,sbs-battery.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Sebastian Reichel <sre@kernel.org>
19 - items:
20 - enum:
21 - ti,bq20z65
22 - ti,bq20z75
23 - enum:
[all …]
/kernel/linux/linux-5.10/drivers/misc/mei/
Dmei_dev.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2003-2019, Intel Corporation. All rights reserved.
39 #define MEI_MAX_OPEN_HANDLE_COUNT (MEI_CLIENTS_MAX - 1)
73 * enum mei_cb_file_ops - file operation associated with the callback
93 * enum mei_cl_io_mode - io mode between driver and fw
95 * @MEI_CL_IO_TX_BLOCKING: send is blocking
98 * @MEI_CL_IO_RX_NONBLOCK: recv is non-blocking
116 * struct mei_dma_dscr - dma address descriptor
135 * struct mei_fw_status - storage of FW status data
146 * struct mei_me_client - representation of me (fw) client
[all …]

12345678910>>...19