/linux-6.12.1/scripts/coccinelle/api/ |
D | kvmalloc.cocci | 1 // SPDX-License-Identifier: GPL-2.0-only 8 // Options: --no-includes --include-headers 24 expression E, E1, size; 27 identifier x; 33 * if (size cmp E1 || ...)@p { 37 * (..., size, \(flags\|GFP_KERNEL\|\(GFP_KERNEL\|flags\)|__GFP_NOWARN\), ...) 41 * E = \(vmalloc\|vzalloc\|vmalloc_node\|vzalloc_node\)(..., size, ...) 47 * (..., size, \(flags\|GFP_KERNEL\|\(GFP_KERNEL\|flags\)|__GFP_NOWARN\), ...) 49 when != size = E1 53 * E = \(vmalloc\|vzalloc\|vmalloc_node\|vzalloc_node\)(..., size, ...) [all …]
|
/linux-6.12.1/fs/jffs2/ |
D | nodelist.c | 2 * JFFS2 -- Journalling Flash File System, Version 2. 4 * Copyright © 2001-2007 Red Hat, Inc. 30 dbg_dentlist("add dirent \"%s\", ino #%u\n", new->name, new->ino); in jffs2_add_fd_to_list() 32 while ((*prev) && (*prev)->nhash <= new->nhash) { in jffs2_add_fd_to_list() 33 if ((*prev)->nhash == new->nhash && !strcmp((*prev)->name, new->name)) { in jffs2_add_fd_to_list() 35 if (new->version < (*prev)->version) { in jffs2_add_fd_to_list() 37 (*prev)->name, (*prev)->ino); in jffs2_add_fd_to_list() 38 jffs2_mark_node_obsolete(c, new->raw); in jffs2_add_fd_to_list() 42 (*prev)->name, (*prev)->ino); in jffs2_add_fd_to_list() 43 new->next = (*prev)->next; in jffs2_add_fd_to_list() [all …]
|
/linux-6.12.1/arch/openrisc/include/asm/ |
D | uaccess.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> 25 #include <asm-generic/access_ok.h> 28 * These are the main single-value transfer routines. They automatically 29 * use the right size if we just have the right pointer type. 45 #define get_user(x, ptr) \ argument 46 __get_user_check((x), (ptr), sizeof(*(ptr))) 47 #define put_user(x, ptr) \ argument 48 __put_user_check((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) 50 #define __get_user(x, ptr) \ argument [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/wil6210/ |
D | fw_inc.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2014-2017 Qualcomm Atheros, Inc. 4 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 21 u32 size, const char *msg) in wil_fw_addr_check() argument 23 *ioaddr = wmi_buffer_block(wil, val, size); in wil_fw_addr_check() 25 wil_err_fw(wil, "bad %s: 0x%08x\n", msg, le32_to_cpu(val)); in wil_fw_addr_check() 32 * wil_fw_verify - verify firmware file validity 37 * Return file size or negative error 39 static int wil_fw_verify(struct wil6210_priv *wil, const u8 *data, size_t size) in wil_fw_verify() argument 47 if (size % 4) { in wil_fw_verify() [all …]
|
/linux-6.12.1/tools/perf/trace/beauty/ |
D | ioctl.c | 1 // SPDX-License-Identifier: LGPL-2.1 17 * in 'perf trace', see tools/perf/trace/beauty/Build and builtin-trace.c 19 #include <uapi/asm-generic/ioctls.h> 21 static size_t ioctl__scnprintf_tty_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_tty_cmd() argument 42 return scnprintf(bf, size, "%s", strarray__ioctl_tty_cmd.entries[nr]); in ioctl__scnprintf_tty_cmd() 44 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'T', nr, dir); in ioctl__scnprintf_tty_cmd() 47 static size_t ioctl__scnprintf_drm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_drm_cmd() argument 53 return scnprintf(bf, size, "DRM_%s", strarray__drm_ioctl_cmds.entries[nr]); in ioctl__scnprintf_drm_cmd() 55 return scnprintf(bf, size, "(%#x, %#x, %#x)", 'd', nr, dir); in ioctl__scnprintf_drm_cmd() 58 static size_t ioctl__scnprintf_sndrv_pcm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_pcm_cmd() argument [all …]
|
/linux-6.12.1/Documentation/gpu/amdgpu/display/ |
D | dcn3_cm_drm_current.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- Created with Inkscape (http://www.inkscape.org/) --> 11 inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)" 13 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 30 inkscape:window-width="1920" 31 inkscape:window-height="1011" 32 inkscape:window-x="0" 33 inkscape:window-y="0" 34 inkscape:window-maximized="1" 35 inkscape:current-layer="g2025" /> [all …]
|
D | dcn2_cm_drm_current.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- Created with Inkscape (http://www.inkscape.org/) --> 11 inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)" 13 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 30 inkscape:window-width="1920" 31 inkscape:window-height="1011" 32 inkscape:window-x="0" 33 inkscape:window-y="0" 34 inkscape:window-maximized="1" 35 inkscape:current-layer="g2025" /> [all …]
|
/linux-6.12.1/Documentation/dev-tools/kunit/ |
D | kunit_suitememorydiagram.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 3 <g transform="translate(-13.724 -17.943)"> 4 <g fill="#dad4d4" fill-opacity=".91765" stroke="#1a1a1a"> 5 <rect x="323.56" y="18.443" width="115.75" height="41.331"/> 6 <rect x="323.56" y="463.09" width="115.75" height="41.331"/> 7 <rect x="323.56" y="531.84" width="115.75" height="41.331"/> 8 <rect x="323.56" y="88.931" width="115.75" height="74.231"/> 11 <rect x="323.56" y="421.76" width="115.75" height="41.331" fill="#b9dbc6" stroke="#1a1a1a"/> 12 …x="328.00888" y="446.61826" fill="#000000" font-family="sans-serif" font-size="16px" style="line-h… 14 <g transform="translate(0 -258.6)"> [all …]
|
/linux-6.12.1/sound/soc/sof/ |
D | ipc3-loader.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 9 #include "sof-priv.h" 10 #include "sof-audio.h" 11 #include "ipc3-priv.h" 20 memcpy(&sdev->fw_ready.version, &v->version, sizeof(v->version)); in ipc3_fw_ext_man_get_version() 21 sdev->fw_ready.flags = v->flags; in ipc3_fw_ext_man_get_version() 34 return sof_ipc3_get_ext_windows(sdev, &w->ipc_window.ext_hdr); in ipc3_fw_ext_man_get_windows() 44 return sof_ipc3_get_cc_info(sdev, &cc->cc_version.ext_hdr); in ipc3_fw_ext_man_get_cc_info() 53 if (sdev->first_boot) in ipc3_fw_ext_man_get_dbg_abi_info() 54 dev_dbg(sdev->dev, in ipc3_fw_ext_man_get_dbg_abi_info() [all …]
|
/linux-6.12.1/drivers/usb/host/ |
D | ohci-dbg.c | 1 // SPDX-License-Identifier: GPL-1.0+ 6 * (C) Copyright 2000-2002 David Brownell <dbrownell@users.sourceforge.net> 11 /*-------------------------------------------------------------------------*/ 23 #define ohci_dbg_sw(ohci, next, size, format, arg...) \ argument 27 s_len = scnprintf (*next, *size, format, ## arg ); \ 28 *size -= s_len; *next += s_len; \ 34 #define ohci_dbg_nosw(ohci, next, size, format, arg...) \ argument 37 s_len = scnprintf(*next, *size, format, ## arg); \ 38 *size -= s_len; *next += s_len; \ 47 unsigned *size) in ohci_dump_intr_mask() argument [all …]
|
D | ehci-dbg.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (c) 2001-2002 by David Brownell 6 /* this file is part of ehci-hcd.c */ 13 * see EHCI spec, Table 2-4 for each value 17 u32 params = ehci_readl(ehci, &ehci->caps->hcs_params); in dbg_hcs_params() 20 "%s hcs_params 0x%x dbg=%d%s cc=%d pcc=%d%s%s ports=%d\n", in dbg_hcs_params() 37 byte = readb(&ehci->caps->portroute[(i >> 1)]); in dbg_hcs_params() 49 * see EHCI Spec, Table 2-5 for each value 53 u32 params = ehci_readl(ehci, &ehci->caps->hcc_params); in dbg_hcc_params() 57 "%s hcc_params %04x caching frame %s%s%s\n", in dbg_hcc_params() [all …]
|
/linux-6.12.1/drivers/usb/gadget/udc/cdns2/ |
D | cdns2-debug.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Cadence USBHS-DEV Driver. 14 static inline const char *cdns2_decode_usb_irq(char *str, size_t size, in cdns2_decode_usb_irq() argument 19 ret = scnprintf(str, size, "usbirq: 0x%02x - ", usb_irq); in cdns2_decode_usb_irq() 22 ret += scnprintf(str + ret, size - ret, "SOF "); in cdns2_decode_usb_irq() 24 ret += scnprintf(str + ret, size - ret, "SUTOK "); in cdns2_decode_usb_irq() 26 ret += scnprintf(str + ret, size - ret, "SETUP "); in cdns2_decode_usb_irq() 28 ret += scnprintf(str + ret, size - ret, "Suspend "); in cdns2_decode_usb_irq() 30 ret += scnprintf(str + ret, size - ret, "Reset "); in cdns2_decode_usb_irq() 32 ret += scnprintf(str + ret, size - ret, "HS "); in cdns2_decode_usb_irq() [all …]
|
/linux-6.12.1/arch/xtensa/include/asm/ |
D | uaccess.h | 2 * include/asm-xtensa/uaccess.h 13 * Copyright (C) 2001 - 2005 Tensilica Inc. 22 #include <asm-generic/access_ok.h> 25 * These are the main single-value transfer routines. They 26 * automatically use the right size if we just have the right pointer 35 * (a) re-use the arguments for side effects (sizeof is ok) 38 #define put_user(x, ptr) __put_user_check((x), (ptr), sizeof(*(ptr))) argument 39 #define get_user(x, ptr) __get_user_check((x), (ptr), sizeof(*(ptr))) argument 47 #define __put_user(x, ptr) __put_user_nocheck((x), (ptr), sizeof(*(ptr))) argument 48 #define __get_user(x, ptr) __get_user_nocheck((x), (ptr), sizeof(*(ptr))) argument [all …]
|
/linux-6.12.1/drivers/platform/x86/ |
D | touchscreen_dmi.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 /* The EFI embedded-fw code expects this to be the first member! */ 33 PROPERTY_ENTRY_U32("touchscreen-size-x", 1850), 34 PROPERTY_ENTRY_U32("touchscreen-size-y", 1280), 35 PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"), 36 PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"), 37 PROPERTY_ENTRY_BOOL("silead,home-button"), 38 PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-archos-101-cesium-educ.fw"), 48 PROPERTY_ENTRY_U32("touchscreen-size-x", 1850), 49 PROPERTY_ENTRY_U32("touchscreen-size-y", 1280), [all …]
|
/linux-6.12.1/Documentation/admin-guide/media/ |
D | ipu6_isys_graph.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 4 <!-- Generated by graphviz version 2.43.0 (0) 5 --> 6 <!-- Title: board Pages: 1 --> 11 <polygon fill="white" stroke="transparent" points="-4,4 -4,-1469 1699,-1469 1699,4 -4,4"/> 12 <!-- n00000001 --> 15 …n fill="yellow" stroke="black" points="832.99,-750.08 629.99,-750.08 629.99,-712.08 832.99,-712.08… 16 <text text-anchor="middle" x="731.49" y="-734.88" font-family="Times,serif" font-size="14.00">Intel… 17 <text text-anchor="middle" x="731.49" y="-719.88" font-family="Times,serif" font-size="14.00">/dev/… [all …]
|
/linux-6.12.1/arch/sparc/include/asm/ |
D | uaccess_32.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 #include <asm-generic/access_ok.h> 17 /* Uh, these should become the main single-value transfer routines.. 18 * They automatically use the right size if we just have the right 26 #define put_user(x, ptr) ({ \ argument 29 __put_user_check((__typeof__(*(ptr)))(x), __pu_addr, sizeof(*(ptr))); \ 32 #define get_user(x, ptr) ({ \ argument 35 __get_user_check((x), __gu_addr, sizeof(*(ptr)), __typeof__(*(ptr))); \ 43 #define __put_user(x, ptr) \ argument 44 __put_user_nocheck((__typeof__(*(ptr)))(x), (ptr), sizeof(*(ptr))) [all …]
|
/linux-6.12.1/drivers/misc/bcm-vk/ |
D | bcm_vk_sg.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright 2018-2020 Broadcom. 5 #include <linux/dma-mapping.h> 21 * Valkyrie has a hardware limitation of 16M transfer size. 44 u32 size; in bcm_vk_dma_alloc() local 51 /* Get 64-bit user address */ in bcm_vk_dma_alloc() 52 data = get_unaligned(&vkdata->address); in bcm_vk_dma_alloc() 59 last = ((data + vkdata->size - 1) & PAGE_MASK) >> PAGE_SHIFT; in bcm_vk_dma_alloc() 60 dma->nr_pages = last - first + 1; in bcm_vk_dma_alloc() 63 dma->pages = kmalloc_array(dma->nr_pages, in bcm_vk_dma_alloc() [all …]
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | uaccess.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 9 #include <asm/asm-compat.h> 16 #include <asm-generic/access_ok.h> 19 * These are the main single-value transfer routines. They automatically 20 * use the right size if we just have the right pointer type. 37 #define __put_user(x, ptr) \ argument 41 __typeof__(*(ptr)) __pu_val = (__typeof__(*(ptr)))(x); \ 56 __pu_err = -EFAULT; \ 62 #define put_user(x, ptr) \ argument 67 __put_user(x, _pu_addr) : -EFAULT; \ [all …]
|
/linux-6.12.1/Documentation/networking/device_drivers/can/ctu/ |
D | fsm_txt_buffer_user.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 2 …mlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> 5 …-.6)" d="m8.71859 4.03374-10.9259-4.01772 10.9259-4.01772c-1.7455 2.37206-1.73544 5.61745-6e-7 8.0… 8 …-.6)" d="m8.71859 4.03374-10.9259-4.01772 10.9259-4.01772c-1.7455 2.37206-1.73544 5.61745-6e-7 8.0… 11 …-.6)" d="m8.71859 4.03374-10.9259-4.01772 10.9259-4.01772c-1.7455 2.37206-1.73544 5.61745-6e-7 8.0… 14 …-.6)" d="m8.71859 4.03374-10.9259-4.01772 10.9259-4.01772c-1.7455 2.37206-1.73544 5.61745-6e-7 8.0… 17 …-.6)" d="m8.71859 4.03374-10.9259-4.01772 10.9259-4.01772c-1.7455 2.37206-1.73544 5.61745-6e-7 8.0… 20 …-.6)" d="m8.71859 4.03374-10.9259-4.01772 10.9259-4.01772c-1.7455 2.37206-1.73544 5.61745-6e-7 8.0… 23 …-10.9259-4.01772 10.9259-4.01772c-1.7455 2.37206-1.73544 5.61745-6e-7 8.03544z" fill="#28a4ff" fil… 26 …3374-10.9259-4.01772 10.9259-4.01772c-1.7455 2.37206-1.73544 5.61745-6e-7 8.03544z" fill-rule="eve… [all …]
|
/linux-6.12.1/drivers/tee/amdtee/ |
D | call.c | 1 // SPDX-License-Identifier: MIT 9 #include <linux/psp-tee.h> 25 return -EINVAL; in tee_params_to_amd_params() 27 amd->param_types = 0; in tee_params_to_amd_params() 31 return -EINVAL; in tee_params_to_amd_params() 33 amd->param_types |= ((tee[i].attr & 0xF) << i * 4); in tee_params_to_amd_params() 37 type = TEE_PARAM_TYPE_GET(amd->param_types, i); in tee_params_to_amd_params() 38 pr_debug("%s: type[%d] = 0x%x\n", __func__, i, type); in tee_params_to_amd_params() 41 return -EINVAL; in tee_params_to_amd_params() 46 /* It is assumed that all values are within 2^32-1 */ in tee_params_to_amd_params() [all …]
|
/linux-6.12.1/drivers/infiniband/hw/cxgb4/ |
D | resource.c | 2 * Copyright (c) 2009-2010 Chelsio, Inc. All rights reserved. 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 42 if (c4iw_id_table_alloc(&rdev->resource.qid_table, in c4iw_init_qid_table() 43 rdev->lldi.vr->qp.start, in c4iw_init_qid_table() 44 rdev->lldi.vr->qp.size, in c4iw_init_qid_table() 45 rdev->lldi.vr->qp.size, 0)) in c4iw_init_qid_table() 46 return -ENOMEM; in c4iw_init_qid_table() 48 for (i = rdev->lldi.vr->qp.start; in c4iw_init_qid_table() 49 i < rdev->lldi.vr->qp.start + rdev->lldi.vr->qp.size; i++) in c4iw_init_qid_table() [all …]
|
D | t4.h | 2 * Copyright (c) 2009-2010 Chelsio, Inc. All rights reserved. 14 * - Redistributions of source code must retain the above 17 * - Redistributions in binary form must reproduce the above 43 #define T4_PAGESIZE_MASK 0xffff000 /* 4KB-128MB */ 49 __be32 rsvd1; /* flit 0 - hw owns */ 54 u8 qp_err; /* flit 1 - sw owns */ 70 #define T4_MAX_SEND_SGE ((T4_SQ_NUM_BYTES - sizeof(struct fw_ri_send_wr) - \ 72 #define T4_MAX_SEND_INLINE ((T4_SQ_NUM_BYTES - sizeof(struct fw_ri_send_wr) - \ 74 #define T4_MAX_WRITE_INLINE ((T4_SQ_NUM_BYTES - \ 75 sizeof(struct fw_ri_rdma_write_wr) - \ [all …]
|
/linux-6.12.1/Documentation/admin-guide/blockdev/drbd/ |
D | DRBD-data-packets.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- Created with Inkscape (http://www.inkscape.org/) --> 11 style="fill-rule:evenodd"> 45 x="-3023.845" 47 transform="matrix(0.9895258,-0.1443562,0.1443562,0.9895258,0,0)" 49 …style="font-size:318px;font-weight:400;fill:#008000;visibility:visible;font-family:Helvetica embed… 51 …x="6115.1553 6344.1553 6555.1553 6784.1553 6962.1553 7051.1553 7228.1553 7457.1553 7635.1553 7813.… 64 x="3502.5356" 65 y="-2184.6621" 66 transform="matrix(0.9788674,0.2044961,-0.2044961,0.9788674,0,0)" [all …]
|
/linux-6.12.1/drivers/usb/cdns3/ |
D | cdnsp-debug.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 61 return "Stopped - Length Invalid"; in cdnsp_trb_comp_code_string() 63 return "Stopped - Short Packet"; in cdnsp_trb_comp_code_string() 97 return "No-Op"; in cdnsp_trb_type_string() 119 return "No-Op Command"; in cdnsp_trb_type_string() 177 static inline const char *cdnsp_decode_trb(char *str, size_t size, u32 field0, in cdnsp_decode_trb() argument 180 int ep_id = TRB_TO_EP_INDEX(field3) - 1; in cdnsp_decode_trb() 190 ret = scnprintf(str, size, in cdnsp_decode_trb() 191 "LINK %08x%08x intr %ld type '%s' flags %c:%c:%c:%c", in cdnsp_decode_trb() 203 ret = scnprintf(str, size, in cdnsp_decode_trb() [all …]
|
/linux-6.12.1/include/trace/events/ |
D | fsi_master_aspeed.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 12 TP_PROTO(uint32_t addr, size_t size, uint32_t result, uint32_t status, uint32_t irq_status), 13 TP_ARGS(addr, size, result, status, irq_status), 16 __field(size_t, size) 22 __entry->addr = addr; 23 __entry->size = size; 24 __entry->result = result; 25 __entry->status = status; 26 __entry->irq_status = irq_status; 28 TP_printk("addr %08x size %zu: result %08x sts: %08x irq_sts: %08x", [all …]
|