/linux-6.8/arch/mips/include/asm/ |
D | unaligned-emul.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 11 "1:\t"type##_lb("%0", "0(%2)")"\n" \ 12 "2:\t"type##_lbu("$1", "1(%2)")"\n\t"\ 13 "sll\t%0, 0x8\n\t" \ 14 "or\t%0, $1\n\t" \ 15 "li\t%1, 0\n" \ 16 "3:\t.set\tat\n\t" \ 17 ".insn\n\t" \ 18 ".section\t.fixup,\"ax\"\n\t" \ 19 "4:\tli\t%1, %3\n\t" \ [all …]
|
D | sim.h | 13 #include <asm/asm-offsets.h> 22 ".text\n\t" \ 23 ".globl\t__" #symbol "\n\t" \ 24 ".align\t2\n\t" \ 25 ".type\t__" #symbol ", @function\n\t" \ 27 #symbol":\n\t" \ 28 ".frame\t$29, 0, $31\n\t" \ 29 "sw\t$16,"__str(PT_R16)"($29)\t\t\t# save_static_function\n\t" \ 30 "sw\t$17,"__str(PT_R17)"($29)\n\t" \ 31 "sw\t$18,"__str(PT_R18)"($29)\n\t" \ [all …]
|
/linux-6.8/arch/powerpc/crypto/ |
D | sha1-powerpc-asm.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * SHA-1 implementation for PowerPC. 9 #include <asm/asm-offsets.h> 10 #include <asm/asm-compat.h> 22 * We roll the registers for T, A, B, C, D, E around on each 23 * iteration; T on iteration t is A on iteration t+1, and so on. 24 * We use registers 7 - 12 for this. 26 #define RT(t) ((((t)+5)%6)+7) argument 27 #define RA(t) ((((t)+4)%6)+7) argument 28 #define RB(t) ((((t)+3)%6)+7) argument [all …]
|
/linux-6.8/lib/raid6/ |
D | avx512.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* -*- linux-c -*- -------------------------------------------------------- 10 * Based on sse2.c: Copyright 2002 H. Peter Anvin - All Rights Reserved 12 * ----------------------------------------------------------------------- 16 * AVX512 implementation of RAID-6 syndrome functions 50 z0 = disks - 3; /* Highest data disk */ in raid6_avx5121_gen_syndrome() 56 asm volatile("vmovdqa64 %0,%%zmm0\n\t" in raid6_avx5121_gen_syndrome() 62 asm volatile("prefetchnta %0\n\t" in raid6_avx5121_gen_syndrome() 63 "vmovdqa64 %0,%%zmm2\n\t" /* P[0] */ in raid6_avx5121_gen_syndrome() 64 "prefetchnta %1\n\t" in raid6_avx5121_gen_syndrome() [all …]
|
/linux-6.8/arch/m68k/lib/ |
D | checksum.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 * Andreas Schwab, <schwab@issan.informatik.uni-dortmund.de> 19 * length-counter instead of the length counter 22 * data-registers to hold input values and one tries to 43 * is aligned on either a 2-byte or 4-byte boundary. in csum_partial() 45 __asm__("movel %2,%3\n\t" in csum_partial() 46 "btst #1,%3\n\t" /* Check alignment */ in csum_partial() 47 "jeq 2f\n\t" in csum_partial() 48 "subql #2,%1\n\t" /* buff%4==2: treat first word */ in csum_partial() 49 "jgt 1f\n\t" in csum_partial() [all …]
|
/linux-6.8/drivers/scsi/esas2r/ |
D | esas2r_targdb.c | 5 * Copyright (c) 2001-2013 ATTO Technology, Inc. 21 * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 40 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 48 struct esas2r_target *t; in esas2r_targ_db_initialize() local 50 for (t = a->targetdb; t < a->targetdb_end; t++) { in esas2r_targ_db_initialize() 51 memset(t, 0, sizeof(struct esas2r_target)); in esas2r_targ_db_initialize() 53 t->target_state = TS_NOT_PRESENT; in esas2r_targ_db_initialize() 54 t->buffered_target_state = TS_NOT_PRESENT; in esas2r_targ_db_initialize() 55 t->new_target_state = TS_INVALID; in esas2r_targ_db_initialize() 61 struct esas2r_target *t; in esas2r_targ_db_remove_all() local [all …]
|
/linux-6.8/arch/sparc/include/asm/ |
D | xor_32.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Optimized RAID-5 checksumming functions for 32-bit Sparc. 23 "ldd [%0 + 0x00], %%g2\n\t" in sparc_2() 24 "ldd [%0 + 0x08], %%g4\n\t" in sparc_2() 25 "ldd [%0 + 0x10], %%o0\n\t" in sparc_2() 26 "ldd [%0 + 0x18], %%o2\n\t" in sparc_2() 27 "ldd [%1 + 0x00], %%o4\n\t" in sparc_2() 28 "ldd [%1 + 0x08], %%l0\n\t" in sparc_2() 29 "ldd [%1 + 0x10], %%l2\n\t" in sparc_2() 30 "ldd [%1 + 0x18], %%l4\n\t" in sparc_2() [all …]
|
/linux-6.8/fs/smb/server/ |
D | transport_rdma.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 51 * as defined in [MS-SMBD] 3.1.1.1 67 /* The maximum fragmented upper-layer payload receive size supported */ 70 /* The maximum single-message size which can be received */ 160 #define KSMBD_TRANS(t) ((struct ksmbd_transport *)&((t)->transport)) argument 197 struct smb_direct_transport *t; member 220 return DIV_ROUND_UP((uintptr_t)buf + size, PAGE_SIZE) - in get_buf_page_count() 226 static int smb_direct_post_send_data(struct smb_direct_transport *t, 232 smb_trans_direct_transfort(struct ksmbd_transport *t) in smb_trans_direct_transfort() argument 234 return container_of(t, struct smb_direct_transport, transport); in smb_trans_direct_transfort() [all …]
|
/linux-6.8/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0 80 [CGX_STAT4] = "Filtered DMAC0 (NIX-bound) packets", 81 [CGX_STAT5] = "Filtered DMAC0 (NIX-bound) octets", 85 [CGX_STAT9] = "Filtered DMAC1 (NCSI-bound) packets", 86 [CGX_STAT10] = "Filtered DMAC1 (NCSI-bound) octets", 87 [CGX_STAT11] = "NCSI-bound packets dropped", 88 [CGX_STAT12] = "NCSI-bound octets dropped", 100 [CGX_STAT8] = "Packets sent with an octet count of 65-127", 101 [CGX_STAT9] = "Packets sent with an octet count of 128-255", 102 [CGX_STAT10] = "Packets sent with an octet count of 256-511", [all …]
|
/linux-6.8/arch/sh/include/asm/ |
D | switch_to_32.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 (!!(tsk->thread.dsp_status.status & SR_DSP)) 13 (u32 *)&tsk->thread.dsp_status; \ 15 ".balign 4\n\t" \ 16 "movs.l @r2+, a0\n\t" \ 17 "movs.l @r2+, a1\n\t" \ 18 "movs.l @r2+, a0g\n\t" \ 19 "movs.l @r2+, a1g\n\t" \ 20 "movs.l @r2+, m0\n\t" \ 21 "movs.l @r2+, m1\n\t" \ [all …]
|
D | spinlock-llsc.h | 1 /* SPDX-License-Identifier: GPL-2.0 3 * include/asm-sh/spinlock-llsc.h 18 #define arch_spin_is_locked(x) ((x)->lock <= 0) 32 "1: \n\t" in arch_spin_lock() 33 "movli.l @%2, %0 ! arch_spin_lock \n\t" in arch_spin_lock() 34 "mov %0, %1 \n\t" in arch_spin_lock() 35 "mov #0, %0 \n\t" in arch_spin_lock() 36 "movco.l %0, @%2 \n\t" in arch_spin_lock() 37 "bf 1b \n\t" in arch_spin_lock() 38 "cmp/pl %1 \n\t" in arch_spin_lock() [all …]
|
/linux-6.8/fs/bcachefs/ |
D | bset.c | 1 // SPDX-License-Identifier: GPL-2.0 26 unsigned n = ARRAY_SIZE(iter->data); in __btree_node_iter_used() 28 while (n && __btree_node_iter_set_end(iter, n - 1)) in __btree_node_iter_used() 29 --n; in __btree_node_iter_used() 40 * There are never duplicate live keys in the btree - but including keys that 50 * prior to the first key greater than the key we're inserting - our insert 63 if (!i->u64s) in bch2_dump_bset() 66 for (_k = i->start; in bch2_dump_bset() 71 if (!_k->u64s) { in bch2_dump_bset() 72 printk(KERN_ERR "block %u key %5zu - u64s 0? aieee!\n", set, in bch2_dump_bset() [all …]
|
/linux-6.8/arch/mips/mm/ |
D | c-r3k.c | 1 // SPDX-License-Identifier: GPL-2.0 49 *p = -1; in r3k_cache_size() 108 size = end - start; in r3k_flush_icache_range() 121 asm( "sb\t$0, 0x000(%0)\n\t" in r3k_flush_icache_range() 122 "sb\t$0, 0x004(%0)\n\t" in r3k_flush_icache_range() 123 "sb\t$0, 0x008(%0)\n\t" in r3k_flush_icache_range() 124 "sb\t$0, 0x00c(%0)\n\t" in r3k_flush_icache_range() 125 "sb\t$0, 0x010(%0)\n\t" in r3k_flush_icache_range() 126 "sb\t$0, 0x014(%0)\n\t" in r3k_flush_icache_range() 127 "sb\t$0, 0x018(%0)\n\t" in r3k_flush_icache_range() [all …]
|
/linux-6.8/arch/sparc/include/uapi/asm/ |
D | ioctls.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 7 /* Big T */ 8 #define TCGETA _IOR('T', 1, struct termio) 9 #define TCSETA _IOW('T', 2, struct termio) 10 #define TCSETAW _IOW('T', 3, struct termio) 11 #define TCSETAF _IOW('T', 4, struct termio) 12 #define TCSBRK _IO('T', 5) 13 #define TCXONC _IO('T', 6) 14 #define TCFLSH _IO('T', 7) 15 #define TCGETS _IOR('T', 8, struct termios) [all …]
|
/linux-6.8/tools/debugging/ |
D | kernel-chktaint | 2 # SPDX-License-Identifier: GPL-2.0 22 if [ "$1"x == "--helpx" ] || [ "$1"x == "-hx" ] ; then 25 elif [ $1 -ge 0 ] 2>/dev/null ; then 33 if [ ! -r $TAINTFILE ]; then 41 if [ $taint -eq 0 ]; then 48 T=$taint 55 if [ `expr $T % 2` -eq 0 ]; then 62 T=`expr $T / 2` 63 if [ `expr $T % 2` -eq 0 ]; then 70 T=`expr $T / 2` [all …]
|
/linux-6.8/tools/testing/selftests/bpf/prog_tests/ |
D | btf_write.c | 1 // SPDX-License-Identifier: GPL-2.0 10 const struct btf_type *t; in gen_btf() local 18 ASSERT_EQ(str_off, -ENOENT, "int_str_missing_off"); in gen_btf() 30 t = btf__type_by_id(btf, 1); in gen_btf() 31 /* should re-use previously added "int" string */ in gen_btf() 32 ASSERT_EQ(t->name_off, str_off, "int_name_off"); in gen_btf() 33 ASSERT_STREQ(btf__str_by_offset(btf, t->name_off), "int", "int_name"); in gen_btf() 34 ASSERT_EQ(btf_kind(t), BTF_KIND_INT, "int_kind"); in gen_btf() 35 ASSERT_EQ(t->size, 4, "int_sz"); in gen_btf() 36 ASSERT_EQ(btf_int_encoding(t), BTF_INT_SIGNED, "int_enc"); in gen_btf() [all …]
|
/linux-6.8/arch/xtensa/include/asm/ |
D | checksum.h | 2 * include/asm-xtensa/checksum.h 8 * Copyright (C) 2001 - 2005 Tensilica Inc. 20 * and adds in "sum" (32-bit) 22 * returns a 32-bit number suitable for feeding into itself 28 * it's best to have buff aligned on a 32-bit boundary 34 * checksums, and handles user-space pointer exceptions correctly, when needed. 36 * here even more important to align src and dst on a 32-bit (or even 37 * better 64-bit) boundary 70 __asm__("extui %1, %0, 16, 16\n\t" in csum_fold() 71 "extui %0 ,%0, 0, 16\n\t" in csum_fold() [all …]
|
/linux-6.8/drivers/net/wireguard/selftest/ |
D | counter.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. 15 pr_err("nonce counter self-test malloc: FAIL\n"); in wg_packet_counter_selftest() 21 spin_lock_init(&counter->lock); \ in wg_packet_counter_selftest() 24 #define T(n, v) do { \ in wg_packet_counter_selftest() macro 27 pr_err("nonce counter self-test %u: FAIL\n", \ in wg_packet_counter_selftest() 34 /* 1 */ T(0, true); in wg_packet_counter_selftest() 35 /* 2 */ T(1, true); in wg_packet_counter_selftest() 36 /* 3 */ T(1, false); in wg_packet_counter_selftest() 37 /* 4 */ T(9, true); in wg_packet_counter_selftest() [all …]
|
/linux-6.8/arch/sparc/lib/ |
D | bitext.c | 1 // SPDX-License-Identifier: GPL-2.0 19 * bit_map_string_get - find and set a bit string in bit map. 20 * @t: the bit map. 24 * Returns offset in the map or -1 if out of space. 28 int bit_map_string_get(struct bit_map *t, int len, int align) in bit_map_string_get() argument 35 if (t->num_colors) { in bit_map_string_get() 38 align = t->num_colors; in bit_map_string_get() 44 align1 = align - 1; in bit_map_string_get() 47 if (align < 0 || align >= t->size) in bit_map_string_get() 49 if (len <= 0 || len > t->size) in bit_map_string_get() [all …]
|
/linux-6.8/arch/sparc/math-emu/ |
D | sfp-util_32.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 __asm__ ("addcc %r4,%5,%1\n\t" \ 18 __asm__ ("subcc %r4,%5,%1\n\t" \ 29 __asm__ ("! Inlined umul_ppmm\n\t" \ 30 "wr %%g0,%2,%%y ! SPARC has 0-3 delay insn after a wr\n\t" \ 31 "sra %3,31,%%g2 ! Don't move this insn\n\t" \ 32 "and %2,%%g2,%%g2 ! Don't move this insn\n\t" \ 33 "andcc %%g0,0,%%g1 ! Don't move this insn\n\t" \ 34 "mulscc %%g1,%3,%%g1\n\t" \ 35 "mulscc %%g1,%3,%%g1\n\t" \ [all …]
|
/linux-6.8/drivers/media/v4l2-core/ |
D | tuner-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright(c) 2005-2011 by Mauro Carvalho Chehab 9 * - Added support for a separate Radio tuner 10 * - Major rework and cleanups at the code 31 #include <media/tuner-types.h> 32 #include <media/v4l2-device.h> 33 #include <media/v4l2-ioctl.h> 39 #include "tuner-simple.h" 45 #define UNSET (-1U) 64 static char pal[] = "--"; [all …]
|
/linux-6.8/net/sctp/ |
D | transport.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 1999-2000 Cisco, Inc. 4 * Copyright (c) 1999-2001 Motorola, Inc. 5 * Copyright (c) 2001-2003 International Business Machines Corp. 17 * lksctp developers <linux-sctp@vger.kernel.org> 46 peer->af_specific = sctp_get_af_specific(addr->sa.sa_family); in sctp_transport_init() 47 memcpy(&peer->ipaddr, addr, peer->af_specific->sockaddr_len); in sctp_transport_init() 48 memset(&peer->saddr, 0, sizeof(union sctp_addr)); in sctp_transport_init() 50 peer->sack_generation = 0; in sctp_transport_init() 58 peer->rto = msecs_to_jiffies(net->sctp.rto_initial); in sctp_transport_init() [all …]
|
/linux-6.8/drivers/gpu/drm/i915/gem/selftests/ |
D | i915_gem_client_blt.c | 1 // SPDX-License-Identifier: MIT 56 * F so we can use the Y-tile algorithm to get to that point. in linear_x_y_to_ftiled_pos() 86 CLIENT_TILING_Y, /* Y-major, either Tile4 (Xe_HP and beyond) or legacy TileY */ 114 /* XY_FAST_COPY_BLT does not exist on pre-gen9 platforms */ in fastblit_supports_x_tiling() 115 drm_WARN_ON(&i915->drm, gen < 9); in fastblit_supports_x_tiling() 128 /* XY_FAST_COPY_BLT does not exist on pre-gen9 platforms */ in fast_blit_ok() 129 if (GRAPHICS_VER(buf->vma->vm->i915) < 9) in fast_blit_ok() 132 /* filter out platforms with unsupported X-tile support in fastblit */ in fast_blit_ok() 133 if (buf->tiling == CLIENT_TILING_X && !fastblit_supports_x_tiling(buf->vma->vm->i915)) in fast_blit_ok() 139 static int prepare_blit(const struct tiled_blits *t, in prepare_blit() argument [all …]
|
/linux-6.8/drivers/media/pci/saa7134/ |
D | saa7134-reg.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 /* ------------------------------------------------------------------ */ 24 /* ------------------------------------------------------------------ */ 26 * registers -- 32 bit 157 /* ------------------------------------------------------------------ */ 159 * registers -- 8 bit 210 #define SAA7134_TASK_CONDITIONS(t) (0x000 +t) argument 211 #define SAA7134_FIELD_HANDLING(t) (0x001 +t) argument 212 #define SAA7134_DATA_PATH(t) (0x002 +t) argument 213 #define SAA7134_VBI_H_START1(t) (0x004 +t) argument [all …]
|
/linux-6.8/drivers/clocksource/ |
D | timer-ti-dm-systimer.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 #include <linux/clk/clk-conf.h> 17 #include <clocksource/timer-ti-dm.h> 18 #include <dt-bindings/bus/ti-sysc.h> 55 struct dmtimer_systimer t; member 61 struct dmtimer_systimer t; member 66 static bool dmtimer_systimer_revision1(struct dmtimer_systimer *t) in dmtimer_systimer_revision1() argument 68 u32 tidr = readl_relaxed(t->base); in dmtimer_systimer_revision1() 73 static void dmtimer_systimer_enable(struct dmtimer_systimer *t) in dmtimer_systimer_enable() argument 77 if (dmtimer_systimer_revision1(t)) in dmtimer_systimer_enable() [all …]
|