/Linux-v5.10/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-v5.10/drivers/media/pci/ttpci/ |
D | av7110_ipack.c | 8 void av7110_ipack_reset(struct ipack *p) in av7110_ipack_reset() argument 10 p->found = 0; in av7110_ipack_reset() 11 p->cid = 0; in av7110_ipack_reset() 12 p->plength = 0; in av7110_ipack_reset() 13 p->flag1 = 0; in av7110_ipack_reset() 14 p->flag2 = 0; in av7110_ipack_reset() 15 p->hlength = 0; in av7110_ipack_reset() 16 p->mpeg = 0; in av7110_ipack_reset() 17 p->check = 0; in av7110_ipack_reset() 18 p->which = 0; in av7110_ipack_reset() [all …]
|
/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/arch/mips/mm/ |
D | tlbex.c | 45 mips_xpa_disabled = 1; in xpa_disable() 47 return 1; in xpa_disable() 107 return 1; in use_bbit_insns() 118 return 1; in use_lwx_insns() 135 i += 1; /* Kernel use starts at the top and works down. */ in scratchpad_offset() 166 label_second_part = 1, 205 static void uasm_bgezl_hazard(u32 **p, struct uasm_reloc **r, int instance) in uasm_bgezl_hazard() argument 209 uasm_il_bgezl(p, r, 0, label_tlbw_hazard_0 + instance); in uasm_bgezl_hazard() 216 static void uasm_bgezl_label(struct uasm_label **l, u32 **p, int instance) in uasm_bgezl_label() argument 220 uasm_build_label(l, *p, label_tlbw_hazard_0 + instance); in uasm_bgezl_label() [all …]
|
/Linux-v5.10/tools/perf/bench/ |
D | numa.c | 41 # define RUSAGE_THREAD 1 47 #define tprintf(x...) do { if (g && g->p.show_details >= 0) printf(x); } while (0) 53 #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)"), 230 for (i = 0; i < g->p.nr_nodes; i++) { in nr_numa_nodes() 279 if (target_cpu == -1) { in bind_to_cpu() 282 for (cpu = 0; cpu < g->p.nr_cpus; cpu++) in bind_to_cpu() 285 BUG_ON(target_cpu < 0 || target_cpu >= g->p.nr_cpus); in bind_to_cpu() [all …]
|
/Linux-v5.10/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 err = switchdev_port_attr_set(p->dev, &attr); in br_set_state() 48 br_warn(p->br, "error setting offload STP state on port %u(%s)\n", in br_set_state() 49 (unsigned int) p->port_no, p->dev->name); in br_set_state() 51 br_info(p->br, "port %u(%s) entered %s state\n", in br_set_state() [all …]
|
/Linux-v5.10/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-v5.10/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' # MAXACT_NO_KPROBE 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:foo/^ vfs_read' # NO_EVENT_NAME [all …]
|
/Linux-v5.10/arch/x86/kernel/ |
D | pci-dma.c | 24 int panic_on_overflow __read_mostly = 1; 25 int force_iommu __read_mostly = 1; 34 /* Set this to 1 if there is a HW IOMMU in the system */ 41 struct iommu_table_entry *p; in pci_iommu_alloc() local 46 for (p = __iommu_table; p < __iommu_table_end; p++) { in pci_iommu_alloc() 47 if (p && p->detect && p->detect() > 0) { in pci_iommu_alloc() 48 p->flags |= IOMMU_DETECTED; in pci_iommu_alloc() 49 if (p->early_init) in pci_iommu_alloc() 50 p->early_init(); in pci_iommu_alloc() 51 if (p->flags & IOMMU_FINISH_IF_DETECTED) in pci_iommu_alloc() [all …]
|
/Linux-v5.10/net/sched/ |
D | sch_dsmark.c | 26 * x:0 1 use entry [0] 28 * x:y y>0 y+1 use entry [y] 30 * x:indices-1 indices use entry [indices-1] 32 * x:y y+1 use entry [y & (indices-1)] 34 * 0xffff 0x10000 use entry [indices-1] 38 #define NO_DEFAULT_INDEX (1 << 16) 57 static inline int dsmark_valid_index(struct dsmark_qdisc_data *p, u16 index) in dsmark_valid_index() argument 59 return index <= p->indices && index > 0; in dsmark_valid_index() 68 struct dsmark_qdisc_data *p = qdisc_priv(sch); in dsmark_graft() local 70 pr_debug("%s(sch %p,[qdisc %p],new %p,old %p)\n", in dsmark_graft() [all …]
|
/Linux-v5.10/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-v5.10/tools/testing/selftests/vm/ |
D | map_fixed_noreplace.c | 34 char *p; in main() local 44 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 46 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 48 if (p == MAP_FAILED) { in main() 51 return 1; in main() 58 return 1; in main() 65 p = mmap((void *)addr, size, PROT_NONE, flags, -1, 0); in main() 66 printf("mmap() @ 0x%lx-0x%lx p=%p result=%m\n", addr, addr + size, p); in main() 68 if (p == MAP_FAILED) { in main() 71 return 1; in main() [all …]
|
/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/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 …]
|
/Linux-v5.10/drivers/gpu/drm/i915/ |
D | i915_syncmap.c | 33 #define MASK (KSYNCMAP - 1) 55 * 0 1 2 0x10 0x11 0x200 0x201 64 * | | | 0-> 0x000000000000000X 0:0, 1:1, 2:2 65 * | | | 1-> 0x000000000000001X 0:10, 1:11 66 * | | 2-> 0x000000000000020X 0:200, 1:201 68 * | 0-> 0x000000000050000X 0:500000, 1:500001 69 * | 3-> 0x000000000050300X 0:503000, 1:503001 99 static inline u32 *__sync_seqno(struct i915_syncmap *p) in __sync_seqno() argument 101 GEM_BUG_ON(p->height); in __sync_seqno() 102 return (u32 *)(p + 1); in __sync_seqno() [all …]
|
/Linux-v5.10/arch/c6x/include/asm/ |
D | unaligned.h | 20 static inline u16 get_unaligned_le16(const void *p) in get_unaligned_le16() argument 22 const u8 *_p = p; in get_unaligned_le16() 23 return _p[0] | _p[1] << 8; in get_unaligned_le16() 26 static inline u16 get_unaligned_be16(const void *p) in get_unaligned_be16() argument 28 const u8 *_p = p; in get_unaligned_be16() 29 return _p[0] << 8 | _p[1]; in get_unaligned_be16() 32 static inline void put_unaligned_le16(u16 val, void *p) in put_unaligned_le16() argument 34 u8 *_p = p; in put_unaligned_le16() 36 _p[1] = val >> 8; in put_unaligned_le16() 39 static inline void put_unaligned_be16(u16 val, void *p) in put_unaligned_be16() argument [all …]
|
/Linux-v5.10/net/mac80211/ |
D | rc80211_minstrel_ht_debugfs.c | 32 minstrel_ht_stats_dump(struct minstrel_ht_sta *mi, int i, char *p) in minstrel_ht_stats_dump() argument 41 return p; in minstrel_ht_stats_dump() 63 p += sprintf(p, "HT%c0 ", htmode); in minstrel_ht_stats_dump() 64 p += sprintf(p, "%cGI ", gimode); in minstrel_ht_stats_dump() 65 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump() 67 p += sprintf(p, "VHT%c0 ", htmode); in minstrel_ht_stats_dump() 68 p += sprintf(p, "%cGI ", gimode); in minstrel_ht_stats_dump() 69 p += sprintf(p, "%d ", mg->streams); in minstrel_ht_stats_dump() 71 p += sprintf(p, "CCK "); in minstrel_ht_stats_dump() 72 p += sprintf(p, "%cP ", j < 4 ? 'L' : 'S'); in minstrel_ht_stats_dump() [all …]
|
/Linux-v5.10/arch/mips/kvm/ |
D | entry.c | 24 #define AT 1 57 #define C0_BADINSTR 8, 1 66 #define C0_EBASE 15, 1 83 label_fpu_1 = 1, 132 if (pgd_reg != -1) in kvm_mips_entry_setup() 138 scratch_vcpu[1] = ffs(kscratch_mask) - 1; in kvm_mips_entry_setup() 139 kscratch_mask &= ~BIT(scratch_vcpu[1]); in kvm_mips_entry_setup() 145 scratch_tmp[1] = ffs(kscratch_mask) - 1; in kvm_mips_entry_setup() 146 kscratch_mask &= ~BIT(scratch_tmp[1]); in kvm_mips_entry_setup() 152 static void kvm_mips_build_save_scratch(u32 **p, unsigned int tmp, in kvm_mips_build_save_scratch() argument [all …]
|
/Linux-v5.10/drivers/video/fbdev/ |
D | controlfb.c | 100 results = 1; in PAR_EQUAL() 157 struct fb_info_control *p = in controlfb_setcolreg() local 162 return 1; in controlfb_setcolreg() 168 out_8(&p->cmap_regs->addr, regno); /* tell clut what addr to fill */ in controlfb_setcolreg() 169 out_8(&p->cmap_regs->lut, r); /* send one color channel at */ in controlfb_setcolreg() 170 out_8(&p->cmap_regs->lut, g); /* a time... */ in controlfb_setcolreg() 171 out_8(&p->cmap_regs->lut, b); in controlfb_setcolreg() 175 switch (p->par.cmode) { in controlfb_setcolreg() 177 p->pseudo_palette[regno] = in controlfb_setcolreg() 182 p->pseudo_palette[regno] = (i << 16) | i; in controlfb_setcolreg() [all …]
|
/Linux-v5.10/drivers/gpu/drm/radeon/ |
D | r600_cs.c | 87 #define FMT_8_BIT(fmt, vc) [fmt] = { 1, 1, 1, vc, CHIP_R600 } 88 #define FMT_16_BIT(fmt, vc) [fmt] = { 1, 1, 2, vc, CHIP_R600 } 89 #define FMT_24_BIT(fmt) [fmt] = { 1, 1, 4, 0, CHIP_R600 } 90 #define FMT_32_BIT(fmt, vc) [fmt] = { 1, 1, 4, vc, CHIP_R600 } 91 #define FMT_48_BIT(fmt) [fmt] = { 1, 1, 8, 0, CHIP_R600 } 92 #define FMT_64_BIT(fmt, vc) [fmt] = { 1, 1, 8, vc, CHIP_R600 } 93 #define FMT_96_BIT(fmt) [fmt] = { 1, 1, 12, 0, CHIP_R600 } 94 #define FMT_128_BIT(fmt, vc) [fmt] = { 1, 1, 16,vc, CHIP_R600 } 106 FMT_8_BIT(V_038004_COLOR_8, 1), 107 FMT_8_BIT(V_038004_COLOR_4_4, 1), [all …]
|
/Linux-v5.10/fs/nfsd/ |
D | flexfilelayoutxdr.c | 24 __be32 *p; in nfsd4_ff_encode_layoutget() local 47 p = xdr_reserve_space(xdr, sizeof(__be32) + len); in nfsd4_ff_encode_layoutget() 48 if (!p) in nfsd4_ff_encode_layoutget() 51 *p++ = cpu_to_be32(len); in nfsd4_ff_encode_layoutget() 52 p = xdr_encode_hyper(p, 0); /* stripe unit of 1 */ in nfsd4_ff_encode_layoutget() 54 *p++ = cpu_to_be32(1); /* single mirror */ in nfsd4_ff_encode_layoutget() 55 *p++ = cpu_to_be32(1); /* single data server */ in nfsd4_ff_encode_layoutget() 57 p = xdr_encode_opaque_fixed(p, &fl->deviceid, in nfsd4_ff_encode_layoutget() 60 *p++ = cpu_to_be32(1); /* efficiency */ in nfsd4_ff_encode_layoutget() 62 *p++ = cpu_to_be32(fl->stateid.si_generation); in nfsd4_ff_encode_layoutget() [all …]
|