Home
last modified time | relevance | path

Searched +full:async +full:- +full:prefix (Results 1 – 25 of 121) sorted by relevance

12345

/kernel/linux/linux-6.6/Documentation/netlink/
Dgenetlink.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
21 required: [ name, doc, attribute-sets, operations ]
36 uapi-header:
37 description: Path to the uAPI header, default is linux/${family-name}.h
51 description: For C-compatible languages, header which already defines this value.
[all …]
Dgenetlink-c.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-c.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
21 required: [ name, doc, attribute-sets, operations ]
35 enum: [ genetlink, genetlink-c ]
36 uapi-header:
37 description: Path to the uAPI header, default is linux/${family-name}.h
[all …]
Dgenetlink-legacy.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/genetlink-legacy.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
21 required: [ name, doc, attribute-sets, operations ]
35 enum: [ genetlink, genetlink-c, genetlink-legacy ] # Trim
36 uapi-header:
37 description: Path to the uAPI header, default is linux/${family-name}.h
[all …]
Dnetlink-raw.yaml1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
3 ---
4 $id: http://kernel.org/schemas/netlink/netlink-raw.yaml#
5 $schema: https://json-schema.org/draft-07/schema
12 len-or-define:
14 pattern: ^[0-9A-Za-z_]+( - 1)?$
21 required: [ name, doc, attribute-sets, operations ]
31 enum: [ netlink-raw ] # Trim
32 # Start netlink-raw
34 description: Protocol number to use for netlink-raw
[all …]
/kernel/linux/linux-6.6/tools/perf/trace/beauty/
Dopen_flags.c1 // SPDX-License-Identifier: LGPL-2.1
27 const char *prefix = "O_"; in open__scnprintf_flags() local
31 printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", "RDONLY"); in open__scnprintf_flags()
36 …printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in open__scnprintf_flags()
42 P_FLAG(ASYNC); in open__scnprintf_flags()
63 …printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in open__scnprintf_flags()
75 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); in open__scnprintf_flags()
82 int flags = arg->val; in syscall_arg__scnprintf_open_flags()
85 arg->mask |= 1 << (arg->idx + 1); /* Mask the mode parm */ in syscall_arg__scnprintf_open_flags()
87 return open__scnprintf_flags(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_open_flags()
/kernel/linux/linux-5.10/tools/perf/trace/beauty/
Dopen_flags.c1 // SPDX-License-Identifier: LGPL-2.1
27 const char *prefix = "O_"; in open__scnprintf_flags() local
31 printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : "", "RDONLY"); in open__scnprintf_flags()
36 …printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in open__scnprintf_flags()
42 P_FLAG(ASYNC); in open__scnprintf_flags()
63 …printed += scnprintf(bf + printed, size - printed, "%s%s%s", printed ? "|" : "", show_prefix ? pre… in open__scnprintf_flags()
75 printed += scnprintf(bf + printed, size - printed, "%s%#x", printed ? "|" : "", flags); in open__scnprintf_flags()
82 int flags = arg->val; in syscall_arg__scnprintf_open_flags()
85 arg->mask |= 1 << (arg->idx + 1); /* Mask the mode parm */ in syscall_arg__scnprintf_open_flags()
87 return open__scnprintf_flags(flags, bf, size, arg->show_string_prefix); in syscall_arg__scnprintf_open_flags()
/kernel/linux/linux-5.10/fs/
Dfs_context.c1 // SPDX-License-Identifier: GPL-2.0-or-later
51 { "async", SB_SYNCHRONOUS },
67 fc->sb_flags |= token; in vfs_parse_sb_flag()
68 fc->sb_flags_mask |= token; in vfs_parse_sb_flag()
74 fc->sb_flags &= ~token; in vfs_parse_sb_flag()
75 fc->sb_flags_mask |= token; in vfs_parse_sb_flag()
79 return -ENOPARAM; in vfs_parse_sb_flag()
83 * vfs_parse_fs_param_source - Handle setting "source" via parameter
90 * Returns 0 on success, -ENOPARAM if this is not "source" parameter, and
91 * -EINVAL otherwise. In the event of failure, supplementary error information
[all …]
/kernel/linux/linux-6.6/fs/
Dfs_context.c1 // SPDX-License-Identifier: GPL-2.0-or-later
51 { "async", SB_SYNCHRONOUS },
67 fc->sb_flags |= token; in vfs_parse_sb_flag()
68 fc->sb_flags_mask |= token; in vfs_parse_sb_flag()
74 fc->sb_flags &= ~token; in vfs_parse_sb_flag()
75 fc->sb_flags_mask |= token; in vfs_parse_sb_flag()
79 return -ENOPARAM; in vfs_parse_sb_flag()
83 * vfs_parse_fs_param_source - Handle setting "source" via parameter
90 * Returns 0 on success, -ENOPARAM if this is not "source" parameter, and
91 * -EINVAL otherwise. In the event of failure, supplementary error information
[all …]
/kernel/linux/linux-5.10/mm/
Dinternal.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
13 #include <linux/tracepoint-defs.h>
163 return !(vma->vm_flags & (VM_LOCKED|VM_HUGETLB|VM_PFNMAP)); in can_madv_lru_vma()
179 force_page_cache_ra(&ractl, &file->f_ra, nr_to_read); in force_page_cache_readahead()
186 * page_evictable - test whether a page is evictable
189 * Test whether page is evictable--i.e., should be placed on active/inactive
209 * Turn a non-refcounted page (->_refcount == 0) into refcounted with
318 if (zone->contiguous) in pageblock_pfn_to_page()
368 enum migrate_mode mode; /* Async or sync migration mode */
402 * general, page_zone(page)->lock must be held by the caller to prevent the
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/usb/
Dpower-management.rst1 .. _usb-power-management:
7 :Date: Last-updated: February 2014
11 ---------
17 * Changing the default idle-delay time
31 -------------------------
35 component is ``suspended`` it is in a nonfunctional low-power state; it
37 ``resumed`` (returned to a functional full-power state) when the kernel
67 ----------------------
85 --------------------------
101 -------------------
[all …]
/kernel/linux/linux-6.6/Documentation/driver-api/usb/
Dpower-management.rst1 .. _usb-power-management:
7 :Date: Last-updated: February 2014
11 ---------
17 * Changing the default idle-delay time
31 -------------------------
35 component is ``suspended`` it is in a nonfunctional low-power state; it
37 ``resumed`` (returned to a functional full-power state) when the kernel
67 ----------------------
85 --------------------------
101 -------------------
[all …]
/kernel/linux/linux-6.6/drivers/android/
Dbinder_alloc.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2007-2017 Google, Inc.
52 return list_entry(buffer->entry.next, struct binder_buffer, entry); in binder_buffer_next()
57 return list_entry(buffer->entry.prev, struct binder_buffer, entry); in binder_buffer_prev()
63 if (list_is_last(&buffer->entry, &alloc->buffers)) in binder_alloc_buffer_size()
64 return alloc->buffer + alloc->buffer_size - buffer->user_data; in binder_alloc_buffer_size()
65 return binder_buffer_next(buffer)->user_data - buffer->user_data; in binder_alloc_buffer_size()
71 struct rb_node **p = &alloc->free_buffers.rb_node; in binder_insert_free_buffer()
77 BUG_ON(!new_buffer->free); in binder_insert_free_buffer()
83 alloc->pid, new_buffer_size, new_buffer); in binder_insert_free_buffer()
[all …]
Dbinder.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2007-2008 Google, Inc.
15 * 1) proc->outer_lock : protects binder_ref
18 * 2) node->lock : protects most fields of binder_node.
21 * 3) proc->inner_lock : protects the thread and node lists
22 * (proc->threads, proc->waiting_threads, proc->nodes)
24 * (proc->todo, thread->todo, proc->delivered_death and
25 * node->async_todo), as well as thread->transaction_stack
35 * foo_olocked() : requires node->outer_lock
36 * foo_nlocked() : requires node->lock
[all …]
/kernel/linux/linux-5.10/drivers/android/
Dbinder_alloc.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2007-2017 Google, Inc.
52 return list_entry(buffer->entry.next, struct binder_buffer, entry); in binder_buffer_next()
57 return list_entry(buffer->entry.prev, struct binder_buffer, entry); in binder_buffer_prev()
63 if (list_is_last(&buffer->entry, &alloc->buffers)) in binder_alloc_buffer_size()
64 return alloc->buffer + alloc->buffer_size - buffer->user_data; in binder_alloc_buffer_size()
65 return binder_buffer_next(buffer)->user_data - buffer->user_data; in binder_alloc_buffer_size()
71 struct rb_node **p = &alloc->free_buffers.rb_node; in binder_insert_free_buffer()
77 BUG_ON(!new_buffer->free); in binder_insert_free_buffer()
83 alloc->pid, new_buffer_size, new_buffer); in binder_insert_free_buffer()
[all …]
Dbinder.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2007-2008 Google, Inc.
15 * 1) proc->outer_lock : protects binder_ref
18 * 2) node->lock : protects most fields of binder_node.
21 * 3) proc->inner_lock : protects the thread and node lists
22 * (proc->threads, proc->waiting_threads, proc->nodes)
24 * (proc->todo, thread->todo, proc->delivered_death and
25 * node->async_todo), as well as thread->transaction_stack
35 * foo_olocked() : requires node->outer_lock
36 * foo_nlocked() : requires node->lock
[all …]
/kernel/linux/linux-6.6/Documentation/driver-api/firmware/
Dfallback-mechanisms.rst97 important to re-iterate that no device is created if a direct filesystem lookup
113 -----------------------
114 .. kernel-doc:: drivers/base/firmware_loader/fallback.c
153 * ASYNC=whether or not the API request was asynchronous
171 in non-traditional paths -- paths outside of the listing documented in the
184 the uevent flag means you want to opt-in for the firmware fallback mechanism
196 The logic behind using MAX_JIFFY_OFFSET for non-uevents is that a custom
212 the peripheral's Linux device-driver needs to access this firmware.
222 .. kernel-doc:: include/linux/efi_embedded_fw.h
225 The EFI embedded-fw code works by scanning all EFI_BOOT_SERVICES_CODE memory
[all …]
/kernel/linux/linux-5.10/Documentation/driver-api/firmware/
Dfallback-mechanisms.rst97 important to re-iterate that no device is created if a direct filesystem lookup
113 -----------------------
114 .. kernel-doc:: drivers/base/firmware_loader/fallback.c
153 * ASYNC=whether or not the API request was asynchronous
171 in non-traditional paths -- paths outside of the listing documented in the
184 the uevent flag means you want to opt-in for the firmware fallback mechanism
196 The logic behind using MAX_JIFFY_OFFSET for non-uevents is that a custom
212 the peripheral's Linux device-driver needs to access this firmware.
222 .. kernel-doc:: include/linux/efi_embedded_fw.h
225 The EFI embedded-fw code works by scanning all EFI_BOOT_SERVICES_CODE memory
[all …]
/kernel/linux/linux-6.6/tools/net/ynl/lib/
Dnlspec.py1 # SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
37 self.ident_name = self.name.replace('-', '_')
119 value_start = self.yaml.get('value-start', 0)
166 self.is_multi = yaml.get('multi-attr', False)
168 self.sub_type = yaml.get('sub-type')
169 self.byte_order = yaml.get('byte-order')
171 self.display_hint = yaml.get('display-hint')
190 self.subset_of = self.yaml.get('subset-of', None)
244 self.byte_order = yaml.get('byte-order')
247 self.display_hint = yaml.get('display-hint')
[all …]
/kernel/linux/linux-6.6/tools/net/ynl/
Dynl-gen-c.py2 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
16 return name.upper().replace('-', '_')
20 return name.lower().replace('-', '_')
25 return 'ys->family_id'
30 … return f"mnl_cb_run2(ys->rx_buf, len, 0, 0, {cb}, {data},{ind}ynl_cb_array, NLMSG_MIN_TYPE)"
32 return f"mnl_cb_run2(ys->rx_buf, len, ys->seq, ys->portid,{ind}{cb}, {data},{ind}" + \
47 if 'nested-attributes' in attr:
48 self.nested_attrs = attr['nested-attributes']
68 if 'name-prefix' in self.attr:
69 enum_name = f"{self.attr['name-prefix']}{self.name}"
[all …]
/kernel/linux/linux-5.10/fs/hmdfs/
Dmain.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2020-2021 Huawei Device Co., Ltd.
84 struct hmdfs_peer *conn = info->conn; in hmdfs_xattr_remote_get()
90 return -ENOMEM; in hmdfs_xattr_remote_get()
104 err = -EOPNOTSUPP; in hmdfs_xattr_merge_get()
122 return -EOPNOTSUPP; in hmdfs_xattr_get()
125 return -EOPNOTSUPP; in hmdfs_xattr_get()
130 if (info->inode_type == HMDFS_LAYER_OTHER_LOCAL) in hmdfs_xattr_get()
132 else if (info->inode_type == HMDFS_LAYER_OTHER_REMOTE) in hmdfs_xattr_get()
134 else if (info->inode_type == HMDFS_LAYER_OTHER_MERGE || in hmdfs_xattr_get()
[all …]
/kernel/linux/linux-6.6/fs/hmdfs/
Dmain.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2020-2021 Huawei Device Co., Ltd.
84 struct hmdfs_peer *conn = info->conn; in hmdfs_xattr_remote_get()
90 return -ENOMEM; in hmdfs_xattr_remote_get()
104 err = -EOPNOTSUPP; in hmdfs_xattr_merge_get()
122 return -EOPNOTSUPP; in hmdfs_xattr_get()
125 return -EOPNOTSUPP; in hmdfs_xattr_get()
130 if (info->inode_type == HMDFS_LAYER_OTHER_LOCAL) in hmdfs_xattr_get()
132 else if (info->inode_type == HMDFS_LAYER_OTHER_REMOTE) in hmdfs_xattr_get()
134 else if (info->inode_type == HMDFS_LAYER_OTHER_MERGE || in hmdfs_xattr_get()
[all …]
/kernel/linux/linux-5.10/sound/soc/
Dsoc-dapm.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-dapm.c -- ALSA SoC Dynamic Audio Power Management
12 // o Platform power domain - can support external components i.e. amps and
15 // o Jack insertion power event initiation - e.g. hp insertion will enable
22 #include <linux/async.h>
42 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++;
67 /* dapm power sequences - make this per codec in the future */
152 if (dapm->card && dapm->card->instantiated) in dapm_assert_locked()
153 lockdep_assert_held(&dapm->card->dapm_mutex); in dapm_assert_locked()
185 return !list_empty(&w->dirty); in dapm_dirty_widget()
[all …]
/kernel/linux/linux-6.6/sound/soc/
Dsoc-dapm.c1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-dapm.c -- ALSA SoC Dynamic Audio Power Management
12 // o Platform power domain - can support external components i.e. amps and
15 // o Jack insertion power event initiation - e.g. hp insertion will enable
22 #include <linux/async.h>
42 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++;
67 /* dapm power sequences - make this per codec in the future */
152 if (snd_soc_card_is_instantiated(dapm->card)) in dapm_assert_locked()
185 return !list_empty(&w->dirty); in dapm_dirty_widget()
190 dapm_assert_locked(w->dapm); in dapm_mark_dirty()
[all …]
/kernel/linux/linux-6.6/mm/
Dinternal.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
15 #include <linux/tracepoint-defs.h>
189 #define FOLIO_PAGES_MAPPED (COMPOUND_MAPPED - 1)
203 return atomic_read(&folio->_nr_pages_mapped) & FOLIO_PAGES_MAPPED; in folio_nr_pages_mapped()
208 unsigned long mapping = (unsigned long)folio->mapping; in folio_raw_mapping()
214 * This is a file-backed mapping, and is about to be memory mapped - invoke its
235 vma->vm_ops = &vma_dummy_vm_ops; in mmap_file()
247 if (vma->vm_ops && vma->vm_ops->close) { in vma_close()
248 vma->vm_ops->close(vma); in vma_close()
254 vma->vm_ops = &vma_dummy_vm_ops; in vma_close()
[all …]
/kernel/linux/linux-6.6/drivers/scsi/
Dscsi_scan.c1 // SPDX-License-Identifier: GPL-2.0
23 * If target is SCSI-3 or up, issue a REPORT LUN, and scan
36 #include <linux/async.h>
63 * Prefix values for the SCSI id's (stored in sysfs name field)
92 "last scsi LUN (should be between 1 and 2^64-1)");
95 #define SCSI_SCAN_TYPE_DEFAULT "async"
104 MODULE_PARM_DESC(scan, "sync, async, manual, or none. "
126 * scsi_enable_async_suspend - Enable async suspend and resume
131 * If a user has disabled async probing a likely reason is due to a in scsi_enable_async_suspend()
132 * storage enclosure that does not inject staggered spin-ups. For in scsi_enable_async_suspend()
[all …]

12345