/linux-6.12.1/tools/perf/util/ |
D | data.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include "data.h" 25 while (--nr >= 0) { in close_dir() 27 zfree(&files[nr].path); in close_dir() 32 void perf_data__close_dir(struct perf_data *data) in perf_data__close_dir() argument 34 close_dir(data->dir.files, data->dir.nr); in perf_data__close_dir() 37 int perf_data__create_dir(struct perf_data *data, int nr) in perf_data__create_dir() argument 43 if (WARN_ON(!data->is_dir)) in perf_data__create_dir() 44 return -EINVAL; in perf_data__create_dir() 48 return -ENOMEM; in perf_data__create_dir() [all …]
|
D | cpumap.c | 1 // SPDX-License-Identifier: GPL-2.0 27 const struct perf_record_cpu_map_data *data) in perf_record_cpu_map_data__test_bit() argument 34 return (data->mask32_data.long_size == 4) in perf_record_cpu_map_data__test_bit() 35 ? (bit_word32 < data->mask32_data.nr) && in perf_record_cpu_map_data__test_bit() 36 (data->mask32_data.mask[bit_word32] & bit_mask32) != 0 in perf_record_cpu_map_data__test_bit() 37 : (bit_word64 < data->mask64_data.nr) && in perf_record_cpu_map_data__test_bit() 38 (data->mask64_data.mask[bit_word64] & bit_mask64) != 0; in perf_record_cpu_map_data__test_bit() 41 /* Read ith mask value from data into the given 64-bit sized bitmap */ 42 static void perf_record_cpu_map_data__read_one_mask(const struct perf_record_cpu_map_data *data, in perf_record_cpu_map_data__read_one_mask() argument 46 if (data->mask32_data.long_size == 4) in perf_record_cpu_map_data__read_one_mask() [all …]
|
/linux-6.12.1/include/net/iucv/ |
D | iucv.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 20 * www.vm.ibm.com/pubs, manual # SC24-6084 23 * - All positive return codes including zero are reflected back 26 * - Return Code of: 27 * -EINVAL: Invalid value 28 * -ENOMEM: storage allocation failed 33 #include <asm/dma-types.h> 44 * path until an iucv_path_resume is issued. 46 * IUCV_IPBUFLST Indicates that an address list is used for the message data. 54 * IUCV_IPANSLST Indicates that an address list is used for the reply data. [all …]
|
/linux-6.12.1/tools/virtio/virtio-trace/ |
D | README | 1 Trace Agent for virtio-trace 4 Trace agent is a user tool for sending trace data of a guest to a Host in low 6 - splice a page of ring-buffer to read_pipe without memory copying 7 - splice the page from write_pipe to virtio-console without memory copying 8 - write trace data to stdout by using -o option 9 - controlled by start/stop orders from a Host 18 5) The read/write threads start to read trace data from ring-buffers and 19 write the data to virtio-serial. 21 stop to read trace data. 28 Makefile: Makefile of trace agent for virtio-trace [all …]
|
/linux-6.12.1/net/iucv/ |
D | iucv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 * CP Programming Service, IBM document # SC24-5760 51 * IPSRCCLS - Indicates you have specified a source class. 52 * IPTRGCLS - Indicates you have specified a target class. 53 * IPFGPID - Indicates you have specified a pathid. 54 * IPFGMID - Indicates you have specified a message ID. 55 * IPNORPY - Indicates a one-way message. No reply expected. 56 * IPALL - Indicates that all paths are affected. 101 dev->bus = &iucv_bus; in iucv_alloc_device() 102 dev->parent = iucv_root; in iucv_alloc_device() [all …]
|
/linux-6.12.1/security/apparmor/ |
D | mount.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 1998-2008 Novell/SUSE 8 * Copyright 2009-2017 Canonical Ltd. 23 #include "include/path.h" 84 * audit_cb - call back for mount specific audit fields 93 if (ad->mnt.type) { in audit_cb() 95 audit_log_untrustedstring(ab, ad->mnt.type); in audit_cb() 97 if (ad->mnt.src_name) { in audit_cb() 99 audit_log_untrustedstring(ab, ad->mnt.src_name); in audit_cb() 101 if (ad->mnt.trans) { in audit_cb() [all …]
|
/linux-6.12.1/sound/soc/intel/avs/ |
D | pcm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // Copyright(c) 2021-2022 Intel Corporation 14 #include <sound/soc-acpi.h> 15 #include <sound/soc-acpi-intel-match.h> 16 #include <sound/soc-component.h> 18 #include "path.h" 25 struct avs_path *path; member 28 /* LINK-stream utilized in BE operations while HOST in FE ones. */ 51 dp = list_first_entry_or_null(&dw->edges[dir], typeof(*dp), list_node[dir]); in avs_dai_find_path_template() 55 /* Get the other widget, with actual path template data */ in avs_dai_find_path_template() [all …]
|
/linux-6.12.1/arch/powerpc/platforms/pseries/ |
D | of_helpers.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * pseries_of_derive_parent - basically like dirname(1) 12 * @path: the full_name of a node to be added to the tree 15 * described by path. E.g., for path = "/foo/bar", returns 18 struct device_node *pseries_of_derive_parent(const char *path) in pseries_of_derive_parent() argument 25 tail = kbasename(path) - 1; in pseries_of_derive_parent() 27 /* reject if path is "/" */ in pseries_of_derive_parent() 28 if (!strcmp(path, "/")) in pseries_of_derive_parent() 29 return ERR_PTR(-EINVAL); in pseries_of_derive_parent() 31 if (tail > path) { in pseries_of_derive_parent() [all …]
|
/linux-6.12.1/drivers/tty/hvc/ |
D | hvc_iucv.c | 1 // SPDX-License-Identifier: GPL-2.0 41 #define MSG_TYPE_DATA 0x10 /* Terminal data */ 48 u8 data[]; /* Payload buffer */ member 50 #define MSG_SIZE(s) ((s) + offsetof(struct iucv_tty_msg, data)) 69 struct iucv_path *path; /* IUCV path pointer */ member 80 u8 info_path[16]; /* IUCV path info (dev attr) */ 86 size_t offset; /* data buffer offset */ 87 struct iucv_tty_msg *mbuf; /* buffer to store input/output data */ 125 * hvc_iucv_get_private() - Return a struct hvc_iucv_private instance. 139 * alloc_tty_buffer() - Return a new struct iucv_tty_buffer element. [all …]
|
/linux-6.12.1/drivers/interconnect/ |
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2017-2019, Linaro Ltd. 14 #include <linux/interconnect-provider.h> 39 seq_printf(s, "%-42s %12u %12u\n", in icc_summary_show_one() 40 n->name, n->avg_bw, n->peak_bw); in icc_summary_show_one() 43 static int icc_summary_show(struct seq_file *s, void *data) in icc_summary_show() argument 48 seq_puts(s, "--------------------------------------------------------------------\n"); in icc_summary_show() 55 list_for_each_entry(n, &provider->nodes, node_list) { in icc_summary_show() 59 hlist_for_each_entry(r, &n->req_list, req_node) { in icc_summary_show() 62 if (!r->dev) in icc_summary_show() [all …]
|
/linux-6.12.1/drivers/gpu/drm/nouveau/nvkm/subdev/acr/ |
D | lsfw.c | 31 nvkm_blob_dtor(&lsfw->img); in nvkm_acr_lsfw_del() 32 kfree(lsfw->sigs); in nvkm_acr_lsfw_del() 33 nvkm_firmware_put(lsfw->sig); in nvkm_acr_lsfw_del() 34 list_del(&lsfw->head); in nvkm_acr_lsfw_del() 42 list_for_each_entry_safe(lsfw, lsft, &acr->lsfw, head) { in nvkm_acr_lsfw_del_all() 51 list_for_each_entry(lsfw, &acr->lsfw, head) { in nvkm_acr_lsfw_get() 52 if (lsfw->id == id) in nvkm_acr_lsfw_get() 64 if (!acr || list_empty(&acr->hsfw)) in nvkm_acr_lsfw_add() 65 return ERR_PTR(-ENOSYS); in nvkm_acr_lsfw_add() 68 if (lsfw && lsfw->func) { in nvkm_acr_lsfw_add() [all …]
|
/linux-6.12.1/arch/mips/include/asm/octeon/ |
D | cvmx-spi.h | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 35 #include <asm/octeon/cvmx-gmxx-defs.h> 37 /* CSR typedefs have been moved to cvmx-csr-*.h */ 62 /** Called for calendar data synchronization */ 89 * can operate as a full duplex (both Tx and Rx data paths 90 * active) or as a halfplex (either the Tx data path is 91 * active or the Rx data path is active, but not both). 107 * can operate as a full duplex (both Tx and Rx data paths [all …]
|
/linux-6.12.1/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-cmdq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Ping-Hsun Wu <ping-hsun.wu@mediatek.com> 9 #include "mtk-mdp3-cfg.h" 10 #include "mtk-mdp3-cmdq.h" 11 #include "mtk-mdp3-comp.h" 12 #include "mtk-mdp3-core.h" 13 #include "mtk-mdp3-m2m.h" 14 #include "mtk-img-ipi.h" 29 ((ctx)->comp->ops && (ctx)->comp->ops->op) 31 (has_op(ctx, op) ? (ctx)->comp->ops->op(ctx, ##__VA_ARGS__) : 0) [all …]
|
/linux-6.12.1/include/video/ |
D | mmp_disp.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 66 /* parameters used by path/overlay */ 83 * pitch[1]/pitch[2]: video u/v pitch if non-zero 93 /* path related para: mode */ 143 /* overlay describes a z-order indexed slot in each path. */ 147 struct mmp_path *path; member 149 /* overlay info: private data */ 175 /* path name used to connect to proper path configed */ 189 int (*check_status)(struct mmp_path *path); 190 struct mmp_overlay *(*get_overlay)(struct mmp_path *path, [all …]
|
/linux-6.12.1/tools/usb/ |
D | p9_fwd.py | 2 # SPDX-License-Identifier: GPL-2.0 17 The string is a Path representation of the position of the USB device on the USB bus tree. 19 This path is used to find a USB device on the bus or all devices connected to a HUB. 20 … The path is made up of the number of the USB controller followed be the ports of the HUB tree.""" 23 return f"{dev.bus}-{dev_path}" 32 def _log_hexdump(data): argument 36 for c in range(0, len(data), L): 37 chars = data[c : c + L] 43 def __init__(self, server, vid, pid, path): argument 54 if path is not None: [all …]
|
/linux-6.12.1/tools/bootconfig/ |
D | main.c | 1 // SPDX-License-Identifier: GPL-2.0 48 while (cnode && xbc_node_is_key(cnode) && !cnode->next) { in xbc_show_compact_tree() 61 if (vnode && xbc_node_is_value(vnode) && vnode->next) in xbc_show_compact_tree() 80 if (cnode->next) { in xbc_show_compact_tree() 89 if (node->next) { in xbc_show_compact_tree() 93 while (!node->next) { in xbc_show_compact_tree() 97 if (!xbc_node_get_child(node)->next) in xbc_show_compact_tree() 100 depth--; in xbc_show_compact_tree() 140 return -ENOMEM; in load_xbc_fd() 144 return -errno; in load_xbc_fd() [all …]
|
/linux-6.12.1/fs/btrfs/ |
D | uuid-tree.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include "disk-io.h" 15 #include "uuid-tree.h" 20 key->type = type; in btrfs_uuid_to_key() 21 key->objectid = get_unaligned_le64(uuid); in btrfs_uuid_to_key() 22 key->offset = get_unaligned_le64(uuid + sizeof(u64)); in btrfs_uuid_to_key() 25 /* return -ENOENT for !found, < 0 for errors, or 0 if an item was found */ 30 struct btrfs_path *path = NULL; in btrfs_uuid_tree_lookup() local 38 ret = -ENOENT; in btrfs_uuid_tree_lookup() 42 path = btrfs_alloc_path(); in btrfs_uuid_tree_lookup() [all …]
|
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | firmware.c | 1 // SPDX-License-Identifier: ISC 36 * struct nvram_parser - internal info for parser. 39 * @data: input buffer being parsed. 53 const u8 *data; member 67 * is_nvram_char() - check if char is a valid one for NVRAM entry 91 c = nvp->data[nvp->pos]; in brcmf_nvram_handle_idle() 99 nvp->entry = nvp->pos; in brcmf_nvram_handle_idle() 103 nvp->line, nvp->column); in brcmf_nvram_handle_idle() 105 nvp->column++; in brcmf_nvram_handle_idle() 106 nvp->pos++; in brcmf_nvram_handle_idle() [all …]
|
/linux-6.12.1/fs/bcachefs/ |
D | btree_update_interior.c | 1 // SPDX-License-Identifier: GPL-2.0 25 #include "sb-members.h" 26 #include "super-io.h" 47 struct bch_fs *c = trans->c; in bch2_btree_node_check_topology() 48 struct bpos node_min = b->key.k.type == KEY_TYPE_btree_ptr_v2 in bch2_btree_node_check_topology() 49 ? bkey_i_to_btree_ptr_v2(&b->key)->v.min_key in bch2_btree_node_check_topology() 50 : b->data->min_key; in bch2_btree_node_check_topology() 57 BUG_ON(b->key.k.type == KEY_TYPE_btree_ptr_v2 && in bch2_btree_node_check_topology() 58 !bpos_eq(bkey_i_to_btree_ptr_v2(&b->key)->v.min_key, in bch2_btree_node_check_topology() 59 b->data->min_key)); in bch2_btree_node_check_topology() [all …]
|
/linux-6.12.1/arch/parisc/kernel/ |
D | drivers.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (c) 2001-2023 Helge Deller <deller@gmx.de> 9 * Copyright (c) 2004-2005 Thibaut VARENE <varenet@parisc-linux.org> 16 * - 715/Mirage device paths have a dummy device between Lasi and its children 17 * - The EISA adapter may show up as a sibling or child of Wax 18 * - Dino has an optionally functional serial port. If firmware enables it, 21 * - Dino has both parisc and pci devices as children 22 * - parisc devices are discovered in a random order, including children 33 #include <linux/dma-map-ops.h> 37 #include <asm/parisc-device.h> [all …]
|
/linux-6.12.1/security/keys/ |
D | big_key.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2017-2020 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. 16 #include <keys/user-type.h> 17 #include <keys/big_key-type.h> 24 u8 *data; member 25 struct path path; member 29 (struct big_key_payload *)((payload).data) 32 * If the data is under this limit, there's no point creating a shm file to 34 * least as large as the data. 40 * arbitrary blob of data as the payload [all …]
|
/linux-6.12.1/fs/devpts/ |
D | inode.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* -*- linux-c -*- --------------------------------------------------------- * 6 * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved 8 * ------------------------------------------------------------------------- */ 30 * ptmx is a new node in /dev/pts and will be unused in legacy (single- 32 * ptmx to 0. Use 'chmod' or remount with '-o ptmxmode' to set meaningful 53 .data = &pty_limit, 61 .data = &pty_reserve, 69 .data = &pty_count, 109 return sb->s_fs_info; in DEVPTS_SB() [all …]
|
/linux-6.12.1/fs/smb/client/ |
D | reparse.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 struct cifs_open_info_data data; in smb2_create_reparse_symlink() local 29 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb); in smb2_create_reparse_symlink() 32 __le16 *path; in smb2_create_reparse_symlink() local 40 return -ENOMEM; in smb2_create_reparse_symlink() 42 data = (struct cifs_open_info_data) { in smb2_create_reparse_symlink() 49 path = cifs_convert_path_to_utf16(sym, cifs_sb); in smb2_create_reparse_symlink() 50 if (!path) { in smb2_create_reparse_symlink() 51 rc = -ENOMEM; in smb2_create_reparse_symlink() 58 * directory cannot be resolved and vice-versa). Try to detect if in smb2_create_reparse_symlink() [all …]
|
/linux-6.12.1/tools/perf/Documentation/ |
D | perf-kvm.txt | 1 perf-kvm(1) 5 ---- 6 perf-kvm - Tool to trace/measure kvm guest os 9 -------- 11 'perf kvm' [--host] [--guest] [--guestmount=<path> 12 [--guestkallsyms=<path> --guestmodules=<path> | --guestvmlinux=<path>]] 13 {top|record|report|diff|buildid-list} [<options>] 14 'perf kvm' [--host] [--guest] [--guestkallsyms=<path> --guestmodules=<path> 15 | --guestvmlinux=<path>] {top|record|report|diff|buildid-list|stat} [<options>] 19 ----------- [all …]
|
/linux-6.12.1/drivers/s390/cio/ |
D | device_pgid.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * CCW device PGID and path verification I/O handling. 32 * Process path verification data and report result. 36 struct subchannel *sch = to_subchannel(cdev->dev.parent); in verify_done() 37 struct ccw_dev_id *id = &cdev->private->dev_id; in verify_done() 38 int mpath = cdev->private->flags.mpath; in verify_done() 39 int pgroup = cdev->private->flags.pgroup; in verify_done() 44 if (sch->config.mp != mpath) { in verify_done() 45 sch->config.mp = mpath; in verify_done() 50 "vpm=%02x\n", id->ssid, id->devno, rc, pgroup, mpath, in verify_done() [all …]
|