/linux-6.12.1/arch/powerpc/crypto/ |
D | crc32c-vpmsum_asm.S | 17 /* x^261120 mod p(x)` << 1, x^261184 mod p(x)` << 1 */ 20 /* x^260096 mod p(x)` << 1, x^260160 mod p(x)` << 1 */ 23 /* x^259072 mod p(x)` << 1, x^259136 mod p(x)` << 1 */ 26 /* x^258048 mod p(x)` << 1, x^258112 mod p(x)` << 1 */ 29 /* x^257024 mod p(x)` << 1, x^257088 mod p(x)` << 1 */ 32 /* x^256000 mod p(x)` << 1, x^256064 mod p(x)` << 1 */ 35 /* x^254976 mod p(x)` << 1, x^255040 mod p(x)` << 1 */ 38 /* x^253952 mod p(x)` << 1, x^254016 mod p(x)` << 1 */ 41 /* x^252928 mod p(x)` << 1, x^252992 mod p(x)` << 1 */ 44 /* x^251904 mod p(x)` << 1, x^251968 mod p(x)` << 1 */ [all …]
|
/linux-6.12.1/drivers/staging/media/av7110/ |
D | av7110_ipack.c | 7 void av7110_ipack_reset(struct ipack *p) in av7110_ipack_reset() argument 9 p->found = 0; in av7110_ipack_reset() 10 p->cid = 0; in av7110_ipack_reset() 11 p->plength = 0; in av7110_ipack_reset() 12 p->flag1 = 0; in av7110_ipack_reset() 13 p->flag2 = 0; in av7110_ipack_reset() 14 p->hlength = 0; in av7110_ipack_reset() 15 p->mpeg = 0; in av7110_ipack_reset() 16 p->check = 0; in av7110_ipack_reset() 17 p->which = 0; in av7110_ipack_reset() [all …]
|
/linux-6.12.1/drivers/usb/host/ |
D | xhci-caps.h | 5 #define HC_LENGTH(p) XHCI_HC_LENGTH(p) argument 7 #define HC_VERSION(p) (((p) >> 16) & 0xffff) argument 11 #define HCS_MAX_SLOTS(p) (((p) >> 0) & 0xff) argument 14 #define HCS_MAX_INTRS(p) (((p) >> 8) & 0x7ff) argument 16 #define HCS_MAX_PORTS(p) (((p) >> 24) & 0x7f) argument 21 #define HCS_IST(p) (((p) >> 0) & 0xf) argument 23 #define HCS_ERST_MAX(p) (((p) >> 4) & 0xf) argument 27 #define HCS_MAX_SCRATCHPAD(p) ((((p) >> 16) & 0x3e0) | (((p) >> 27) & 0x1f)) argument 31 #define HCS_U1_LATENCY(p) (((p) >> 0) & 0xff) argument 33 #define HCS_U2_LATENCY(p) (((p) >> 16) & 0xffff) argument [all …]
|
/linux-6.12.1/net/x25/ |
D | x25_facilities.c | 36 * -1 - Parsing error, caller should drop call and clean up 44 unsigned char *p; in x25_parse_facilities() local 60 if (!pskb_may_pull(skb, 1)) in x25_parse_facilities() 65 if (!pskb_may_pull(skb, 1 + len)) in x25_parse_facilities() 66 return -1; in x25_parse_facilities() 68 p = skb->data + 1; in x25_parse_facilities() 71 switch (*p & X25_FAC_CLASS_MASK) { in x25_parse_facilities() 74 return -1; in x25_parse_facilities() 75 switch (*p) { in x25_parse_facilities() 77 if((p[1] & 0x81) == 0x81) { in x25_parse_facilities() [all …]
|
/linux-6.12.1/drivers/pnp/pnpbios/ |
D | rsparser.c | 60 int end = start + len - 1; in pnpbios_parse_allocated_ioresource() 72 int end = start + len - 1; in pnpbios_parse_allocated_memresource() 81 unsigned char *p, in pnpbios_parse_allocated_resource_data() 87 if (!p) in pnpbios_parse_allocated_resource_data() 94 while ((char *)p < (char *)end) { in pnpbios_parse_allocated_resource_data() 97 if (p[0] & LARGE_TAG) { /* large tag */ in pnpbios_parse_allocated_resource_data() 98 len = (p[2] << 8) | p[1]; in pnpbios_parse_allocated_resource_data() 99 tag = p[0]; in pnpbios_parse_allocated_resource_data() 101 len = p[0] & 0x07; in pnpbios_parse_allocated_resource_data() 102 tag = ((p[0] >> 3) & 0x0f); in pnpbios_parse_allocated_resource_data() [all …]
|
/linux-6.12.1/tools/testing/selftests/net/netfilter/packetdrill/ |
D | conntrack_ack_loss_stall.pkt | 6 // should set -P DROP but it disconnects VM w.o. extra netns 10 +0 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0 15 +0 > S. 0:0(0) ack 1 <mss 1460> 16 +.01 < . 1:1(0) ack 1 win 65535 19 +0.0001 < P. 1:1461(1460) ack 1 win 257 20 +.0 > . 1:1(0) ack 1461 win 65535 21 +0.0001 < P. 1461:2921(1460) ack 1 win 257 22 +.0 > . 1:1(0) ack 2921 win 65535 23 +0.0001 < P. 2921:4381(1460) ack 1 win 257 24 +.0 > . 1:1(0) ack 4381 win 65535 [all …]
|
/linux-6.12.1/drivers/net/ethernet/cavium/octeon/ |
D | octeon_mgmt.c | 55 u64 tstamp:1; 63 u64 tstamp:1; 157 static void octeon_mgmt_set_rx_irq(struct octeon_mgmt *p, int enable) in octeon_mgmt_set_rx_irq() argument 162 spin_lock_irqsave(&p->lock, flags); in octeon_mgmt_set_rx_irq() 163 mix_intena.u64 = cvmx_read_csr(p->mix + MIX_INTENA); in octeon_mgmt_set_rx_irq() 164 mix_intena.s.ithena = enable ? 1 : 0; in octeon_mgmt_set_rx_irq() 165 cvmx_write_csr(p->mix + MIX_INTENA, mix_intena.u64); in octeon_mgmt_set_rx_irq() 166 spin_unlock_irqrestore(&p->lock, flags); in octeon_mgmt_set_rx_irq() 169 static void octeon_mgmt_set_tx_irq(struct octeon_mgmt *p, int enable) in octeon_mgmt_set_tx_irq() argument 174 spin_lock_irqsave(&p->lock, flags); in octeon_mgmt_set_tx_irq() [all …]
|
/linux-6.12.1/tools/perf/bench/ |
D | numa.c | 42 # define RUSAGE_THREAD 1 48 #define tprintf(x...) do { if (g && g->p.show_details >= 0) printf(x); } while (0) 54 #define dprintf(x...) do { if (g && g->p.show_details >= 1) printf(x); } while (0) 159 struct params p; member 170 OPT_INTEGER('p', "nr_proc" , &p0.nr_proc, "number of processes"), 174 OPT_STRING('P', "mb_proc" , &p0.mb_proc_str, "MB", "process memory (MBs)"), 231 for (i = 0; i < g->p.nr_nodes; i++) { in nr_numa_nodes() 290 if (target_cpu == -1) { in bind_to_cpu() 293 for (cpu = 0; cpu < g->p.nr_cpus; cpu++) in bind_to_cpu() 296 if (target_cpu < 0 || target_cpu >= g->p.nr_cpus) in bind_to_cpu() [all …]
|
/linux-6.12.1/arch/mips/mm/ |
D | tlbex.c | 46 mips_xpa_disabled = 1; in xpa_disable() 48 return 1; in xpa_disable() 108 return 1; in use_bbit_insns() 119 return 1; in use_lwx_insns() 136 i += 1; /* Kernel use starts at the top and works down. */ in scratchpad_offset() 167 label_second_part = 1, 206 static void uasm_bgezl_hazard(u32 **p, struct uasm_reloc **r, int instance) in uasm_bgezl_hazard() argument 210 uasm_il_bgezl(p, r, 0, label_tlbw_hazard_0 + instance); in uasm_bgezl_hazard() 217 static void uasm_bgezl_label(struct uasm_label **l, u32 **p, int instance) in uasm_bgezl_label() argument 221 uasm_build_label(l, *p, label_tlbw_hazard_0 + instance); in uasm_bgezl_label() [all …]
|
/linux-6.12.1/net/rose/ |
D | rose_subr.c | 55 rose->va = (rose->va + 1) % ROSE_MODULUS; in rose_frames_acked() 88 if (nr == vc) return 1; in rose_validate_nr() 89 vc = (vc + 1) % ROSE_MODULUS; in rose_validate_nr() 109 reserve = AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + 1; in rose_write_internal() 114 len += 1 + ROSE_ADDR_LEN + ROSE_ADDR_LEN; in rose_write_internal() 232 *ns = (frame[2] >> 1) & 0x07; in rose_decode() 239 static int rose_parse_national(unsigned char *p, struct rose_facilities_struct *facilities, int len) in rose_parse_national() argument 246 switch (*p & 0xC0) { in rose_parse_national() 249 return -1; in rose_parse_national() 250 p += 2; in rose_parse_national() [all …]
|
/linux-6.12.1/net/bridge/ |
D | br_stp.c | 16 /* since time values in bpdu are in jiffies and then scaled (1/256) 19 #define MESSAGE_AGE_INCR ((HZ / 256) + 1) 29 void br_set_state(struct net_bridge_port *p, unsigned int state) in br_set_state() argument 32 .orig_dev = p->dev, in br_set_state() 42 if (p->flags & BR_MRP_AWARE) in br_set_state() 45 p->state = state; in br_set_state() 46 if (br_opt_get(p->br, BROPT_MST_ENABLED)) { in br_set_state() 47 err = br_mst_set_state(p, 0, state, NULL); in br_set_state() 49 br_warn(p->br, "error setting MST state on port %u(%s)\n", in br_set_state() 50 p->port_no, netdev_name(p->dev)); in br_set_state() [all …]
|
/linux-6.12.1/net/mac80211/ |
D | rc80211_minstrel_ht_debugfs.c | 48 minstrel_ht_stats_dump(struct minstrel_ht_sta *mi, int i, char *p) in minstrel_ht_stats_dump() argument 57 return p; in minstrel_ht_stats_dump() 78 p += sprintf(p, "HT%c0 ", htmode); in minstrel_ht_stats_dump() 79 p += sprintf(p, "%cGI ", gimode); in minstrel_ht_stats_dump() 80 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump() 82 p += sprintf(p, "VHT%c0 ", htmode); in minstrel_ht_stats_dump() 83 p += sprintf(p, "%cGI ", gimode); in minstrel_ht_stats_dump() 84 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump() 86 p += sprintf(p, "OFDM "); in minstrel_ht_stats_dump() 87 p += sprintf(p, "1 "); in minstrel_ht_stats_dump() [all …]
|
/linux-6.12.1/tools/testing/selftests/ftrace/test.d/kprobe/ |
D | kprobe_syntax_errors.tc | 7 ftrace_errlog_check 'trace_kprobe' "$1" 'kprobe_events' 11 check_error 'p^100 vfs_read' # BAD_MAXACT_TYPE 12 check_error 'r^1a111 vfs_read' # BAD_MAXACT 16 check_error 'p ^non_exist_func' # BAD_PROBE_ADDR (enoent) 17 check_error 'p ^hoge-fuga' # BAD_PROBE_ADDR (bad syntax) 18 check_error 'p ^hoge+1000-1000' # BAD_PROBE_ADDR (bad syntax) 20 check_error 'p:^/bar vfs_read' # NO_GROUP_NAME 21 check_error 'p:^12345678901234567890123456789012345678901234567890123456789012345/bar vfs_read' # G… 23 check_error 'p:^foo.1/bar vfs_read' # BAD_GROUP_NAME 24 check_error 'p:^ vfs_read' # NO_EVENT_NAME [all …]
|
/linux-6.12.1/lib/842/ |
D | 842_compress.c | 85 #define INDEX_NOT_FOUND (-1) 95 u64 data8[1]; 98 int index8[1]; 104 struct sw842_hlist_node8 node8[1 << I8_BITS]; 105 struct sw842_hlist_node4 node4[1 << I4_BITS]; 106 struct sw842_hlist_node2 node2[1 << I2_BITS]; 109 #define get_input_data(p, o, b) \ argument 110 be##b##_to_cpu(get_unaligned((__be##b *)((p)->in + (o)))) 112 #define init_hashtable_nodes(p, b) do { \ argument 114 hash_init((p)->htable##b); \ [all …]
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | cmpxchg.h | 17 static inline u32 __xchg_##type##sfx(volatile void *p, u32 val) \ 21 off = (unsigned long)p % sizeof(u32); \ 23 p -= off; \ 25 prev_mask = (u32)(type)-1 << bitoff; \ 28 "1: lwarx %0,0,%3\n" \ 29 " andc %1,%0,%5\n" \ 30 " or %1,%1,%4\n" \ 31 " stwcx. %1,0,%3\n" \ 32 " bne- 1b\n" \ 33 : "=&r" (prev), "=&r" (tmp), "+m" (*(u32*)p) \ [all …]
|
/linux-6.12.1/tools/testing/selftests/mm/ |
D | khugepaged.c | 27 #define BASE_ADDR ((void *)(1UL << 30)) 46 void (*cleanup_area)(void *p, unsigned long size); 47 void (*fault)(void *p, unsigned long start, unsigned long end); 57 void (*collapse)(const char *msg, char *p, int nr_hpages, 132 char buf[1 << 10]; in get_finfo() 260 void *p; in alloc_mapping() local 262 p = mmap(BASE_ADDR, nr * hpage_pmd_size, PROT_READ | PROT_WRITE, in alloc_mapping() 263 MAP_ANONYMOUS | MAP_PRIVATE, -1, 0); in alloc_mapping() 264 if (p != BASE_ADDR) { in alloc_mapping() 265 printf("Failed to allocate VMA at %p\n", BASE_ADDR); in alloc_mapping() [all …]
|
/linux-6.12.1/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_desc.h | 20 cic_only_ip = 1, /* Only IP header */ 35 u32 timestmp_enable:1; 36 u32 int_on_com:1; 42 u32 reserved1:1; 47 u16 tse_bit:1; 51 u16 last_desc:1; 52 u16 first_desc:1; 53 u16 ctxt_bit:1; 54 u16 own_bit:1; 63 u32 own_bit:1; [all …]
|
/linux-6.12.1/drivers/parport/ |
D | parport_ip32.c | 41 * IEEE 1284 parallel port driven by a Texas Instrument TL16PIR552PH chip[1]. 45 * [1] http://focus.ti.com/docs/prod/folders/print/tl16pir552.html 58 * 1 standard level: pr_debug1 is enabled 71 #if DEBUG_PARPORT_IP32 == 1 72 # warning DEBUG_PARPORT_IP32 == 1 104 #if DEBUG_PARPORT_IP32 >= 1 105 # define DEFAULT_VERBOSE_PROBING 1 119 #define PARPORT_IP32_ENABLE_IRQ (1U << 0) 120 #define PARPORT_IP32_ENABLE_DMA (1U << 1) 121 #define PARPORT_IP32_ENABLE_SPP (1U << 2) [all …]
|
/linux-6.12.1/drivers/pcmcia/ |
D | cistpl.c | 40 1, 10, 100, 1000, 10000, 100000, 1000000, 10000000 45 (mantissa[(((v)>>3)&15)-1] * exponent[(v)&7] / 10) 126 #define IS_ATTR 1 156 return -1; in pcmcia_read_cis_mem() 167 u_int inc = 1, card_offset, flags; in pcmcia_read_cis_mem() 173 return -1; in pcmcia_read_cis_mem() 183 card_offset = addr & ~(s->map_size-1); in pcmcia_read_cis_mem() 189 return -1; in pcmcia_read_cis_mem() 192 sys = sys + (addr & (s->map_size-1)); in pcmcia_read_cis_mem() 203 *(u_char *)(ptr+0), *(u_char *)(ptr+1), in pcmcia_read_cis_mem() [all …]
|
/linux-6.12.1/drivers/media/cec/usb/extron-da-hd-4k-plus/ |
D | cec-splitter.c | 24 if (msg->msg[1] == CEC_MSG_FEATURE_ABORT) in cec_feature_abort_reason() 30 cec_msg_feature_abort(&tx_msg, msg->msg[1], reason); in cec_feature_abort_reason() 35 static void cec_port_out_active_source(struct cec_splitter_port *p) in cec_port_out_active_source() argument 37 struct cec_adapter *adap = p->adap; in cec_port_out_active_source() 42 p->is_active_source = true; in cec_port_out_active_source() 58 static void cec_port_out_standby(struct cec_splitter_port *p) in cec_port_out_standby() argument 60 struct cec_adapter *adap = p->adap; in cec_port_out_standby() 80 static void cec_port_out_wakeup(struct cec_splitter_port *p, u8 opcode) in cec_port_out_wakeup() argument 82 struct cec_adapter *adap = p->adap; in cec_port_out_wakeup() 90 msg.msg[1] = opcode; in cec_port_out_wakeup() [all …]
|
/linux-6.12.1/arch/mips/kvm/ |
D | entry.c | 30 label_fpu_1 = 1, 73 if (pgd_reg != -1) in kvm_mips_entry_setup() 79 scratch_vcpu[1] = ffs(kscratch_mask) - 1; in kvm_mips_entry_setup() 80 kscratch_mask &= ~BIT(scratch_vcpu[1]); in kvm_mips_entry_setup() 86 scratch_tmp[1] = ffs(kscratch_mask) - 1; in kvm_mips_entry_setup() 87 kscratch_mask &= ~BIT(scratch_tmp[1]); in kvm_mips_entry_setup() 93 static void kvm_mips_build_save_scratch(u32 **p, unsigned int tmp, in kvm_mips_build_save_scratch() argument 97 UASM_i_MFC0(p, tmp, scratch_vcpu[0], scratch_vcpu[1]); in kvm_mips_build_save_scratch() 98 UASM_i_SW(p, tmp, offsetof(struct pt_regs, cp0_epc), frame); in kvm_mips_build_save_scratch() 102 UASM_i_MFC0(p, tmp, scratch_tmp[0], scratch_tmp[1]); in kvm_mips_build_save_scratch() [all …]
|
/linux-6.12.1/drivers/gpu/drm/radeon/ |
D | r600_cs.c | 86 #define FMT_8_BIT(fmt, vc) [fmt] = { 1, 1, 1, vc, CHIP_R600 } 87 #define FMT_16_BIT(fmt, vc) [fmt] = { 1, 1, 2, vc, CHIP_R600 } 88 #define FMT_24_BIT(fmt) [fmt] = { 1, 1, 4, 0, CHIP_R600 } 89 #define FMT_32_BIT(fmt, vc) [fmt] = { 1, 1, 4, vc, CHIP_R600 } 90 #define FMT_48_BIT(fmt) [fmt] = { 1, 1, 8, 0, CHIP_R600 } 91 #define FMT_64_BIT(fmt, vc) [fmt] = { 1, 1, 8, vc, CHIP_R600 } 92 #define FMT_96_BIT(fmt) [fmt] = { 1, 1, 12, 0, CHIP_R600 } 93 #define FMT_128_BIT(fmt, vc) [fmt] = { 1, 1, 16,vc, CHIP_R600 } 105 FMT_8_BIT(V_038004_COLOR_8, 1), 106 FMT_8_BIT(V_038004_COLOR_4_4, 1), [all …]
|
/linux-6.12.1/drivers/video/fbdev/ |
D | controlfb.c | 99 results = 1; in PAR_EQUAL() 149 struct fb_info_control *p = in controlfb_setcolreg() local 154 return 1; in controlfb_setcolreg() 160 out_8(&p->cmap_regs->addr, regno); /* tell clut what addr to fill */ in controlfb_setcolreg() 161 out_8(&p->cmap_regs->lut, r); /* send one color channel at */ in controlfb_setcolreg() 162 out_8(&p->cmap_regs->lut, g); /* a time... */ in controlfb_setcolreg() 163 out_8(&p->cmap_regs->lut, b); in controlfb_setcolreg() 167 switch (p->par.cmode) { in controlfb_setcolreg() 169 p->pseudo_palette[regno] = in controlfb_setcolreg() 174 p->pseudo_palette[regno] = (i << 16) | i; in controlfb_setcolreg() [all …]
|
/linux-6.12.1/tools/testing/selftests/drivers/net/mlxsw/ |
D | devlink_trap_control.sh | 12 # | | 2001:db8:1::1/64 | 15 # | | default via 2001:db8:1::2 | 22 # | 2001:db8:1::2/64 | 34 # | | 2001:db8:2::1/64 | 95 simple_if_init $h1 192.0.2.1/24 2001:db8:1::1/64 98 ip -6 route add default vrf v$h1 nexthop via 2001:db8:1::2 103 ip -6 route del default vrf v$h1 nexthop via 2001:db8:1::2 106 simple_if_fini $h1 192.0.2.1/24 2001:db8:1::1/64 111 simple_if_init $h2 198.51.100.1/24 2001:db8:2::1/64 122 simple_if_fini $h2 198.51.100.1/24 2001:db8:2::1/64 [all …]
|
/linux-6.12.1/scripts/coccinelle/misc/ |
D | warn.cocci | 2 /// Use WARN(1,...) rather than printk followed by WARN_ON(1) 17 position p; 21 printk@p(...); 22 WARN_ON(1); 25 position p != bad1.p; 28 printk@p(...); 29 *WARN_ON(1); 32 p << r1.p; 35 cocci.print_main("printk + WARN_ON can be just WARN",p) 38 p << r1.p; [all …]
|