| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/arch/powerpc/crypto/ |
| D | crc32c-vpmsum_asm.S | 21 /* x^261120 mod p(x)` << 1, x^261184 mod p(x)` << 1 */ 24 /* x^260096 mod p(x)` << 1, x^260160 mod p(x)` << 1 */ 27 /* x^259072 mod p(x)` << 1, x^259136 mod p(x)` << 1 */ 30 /* x^258048 mod p(x)` << 1, x^258112 mod p(x)` << 1 */ 33 /* x^257024 mod p(x)` << 1, x^257088 mod p(x)` << 1 */ 36 /* x^256000 mod p(x)` << 1, x^256064 mod p(x)` << 1 */ 39 /* x^254976 mod p(x)` << 1, x^255040 mod p(x)` << 1 */ 42 /* x^253952 mod p(x)` << 1, x^254016 mod p(x)` << 1 */ 45 /* x^252928 mod p(x)` << 1, x^252992 mod p(x)` << 1 */ 48 /* x^251904 mod p(x)` << 1, x^251968 mod p(x)` << 1 */ [all …]
|
| /kernel/linux/linux-4.19/drivers/isdn/capi/ |
| D | capidrv.h | 19 #define ST_LISTEN_WAIT_CONF 1 /* L-0.1 */ 20 #define ST_LISTEN_ACTIVE 2 /* L-1 */ 24 #define EV_LISTEN_REQ 1 /* L-0 -> L-0.1 25 L-1 -> L-1.1 */ 27 L-1.1 -> L-1 */ 30 #define EV_LISTEN_CONF_OK 4 /* L-0.1 -> L-1 31 L-1.1 -> L.1 */ 36 #define ST_PLCI_NONE 0 /* P-0 */ 37 #define ST_PLCI_OUTGOING 1 /* P-0.1 */ 38 #define ST_PLCI_ALLOCATED 2 /* P-1 */ [all …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/net/x25/ |
| D | x25_facilities.c | 41 * -1 - Parsing error, caller should drop call and clean up 49 unsigned char *p; in x25_parse_facilities() local 65 if (!pskb_may_pull(skb, 1)) in x25_parse_facilities() 70 if (!pskb_may_pull(skb, 1 + len)) in x25_parse_facilities() 71 return -1; in x25_parse_facilities() 73 p = skb->data + 1; in x25_parse_facilities() 76 switch (*p & X25_FAC_CLASS_MASK) { in x25_parse_facilities() 79 return -1; in x25_parse_facilities() 80 switch (*p) { in x25_parse_facilities() 82 if((p[1] & 0x81) == 0x81) { in x25_parse_facilities() [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/cavium/octeon/ |
| D | octeon_mgmt.c | 56 u64 tstamp:1; 64 u64 tstamp:1; 158 static void octeon_mgmt_set_rx_irq(struct octeon_mgmt *p, int enable) in octeon_mgmt_set_rx_irq() argument 163 spin_lock_irqsave(&p->lock, flags); in octeon_mgmt_set_rx_irq() 164 mix_intena.u64 = cvmx_read_csr(p->mix + MIX_INTENA); in octeon_mgmt_set_rx_irq() 165 mix_intena.s.ithena = enable ? 1 : 0; in octeon_mgmt_set_rx_irq() 166 cvmx_write_csr(p->mix + MIX_INTENA, mix_intena.u64); in octeon_mgmt_set_rx_irq() 167 spin_unlock_irqrestore(&p->lock, flags); in octeon_mgmt_set_rx_irq() 170 static void octeon_mgmt_set_tx_irq(struct octeon_mgmt *p, int enable) in octeon_mgmt_set_tx_irq() argument 175 spin_lock_irqsave(&p->lock, flags); in octeon_mgmt_set_tx_irq() [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/arch/mips/mm/ |
| D | tlbex.c | 45 mips_xpa_disabled = 1; in xpa_disable() 47 return 1; in xpa_disable() 103 return 1; in use_bbit_insns() 114 return 1; in use_lwx_insns() 131 i += 1; /* Kernel use starts at the top and works down. */ in scratchpad_offset() 162 label_second_part = 1, 201 static void uasm_bgezl_hazard(u32 **p, struct uasm_reloc **r, int instance) in uasm_bgezl_hazard() argument 205 uasm_il_bgezl(p, r, 0, label_tlbw_hazard_0 + instance); in uasm_bgezl_hazard() 212 static void uasm_bgezl_label(struct uasm_label **l, u32 **p, int instance) in uasm_bgezl_label() argument 216 uasm_build_label(l, *p, label_tlbw_hazard_0 + instance); in uasm_bgezl_label() [all …]
|
| /kernel/linux/linux-4.19/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)"), 230 for (i = 0; i < g->p.nr_nodes; i++) { in nr_numa_nodes() 274 if (target_cpu == -1) { in bind_to_cpu() 277 for (cpu = 0; cpu < g->p.nr_cpus; cpu++) in bind_to_cpu() 280 BUG_ON(target_cpu < 0 || target_cpu >= g->p.nr_cpus); in bind_to_cpu() [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/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 */ 38 * This variable becomes 1 if iommu=pt is passed on the kernel command line. 39 * If this variable is 1, IOMMU implementations do no DMA translation for 47 int iommu_pass_through __read_mostly = 1; 64 struct iommu_table_entry *p; in pci_iommu_alloc() local 69 for (p = __iommu_table; p < __iommu_table_end; p++) { in pci_iommu_alloc() 70 if (p && p->detect && p->detect() > 0) { in pci_iommu_alloc() 71 p->flags |= IOMMU_DETECTED; in pci_iommu_alloc() [all …]
|
| /kernel/linux/linux-4.19/net/rose/ |
| D | rose_subr.c | 58 rose->va = (rose->va + 1) % ROSE_MODULUS; in rose_frames_acked() 91 if (nr == vc) return 1; in rose_validate_nr() 92 vc = (vc + 1) % ROSE_MODULUS; in rose_validate_nr() 112 reserve = AX25_BPQ_HEADER_LEN + AX25_MAX_HEADER_LEN + 1; in rose_write_internal() 117 len += 1 + ROSE_ADDR_LEN + ROSE_ADDR_LEN; in rose_write_internal() 235 *ns = (frame[2] >> 1) & 0x07; in rose_decode() 242 static int rose_parse_national(unsigned char *p, struct rose_facilities_struct *facilities, int len) in rose_parse_national() argument 249 switch (*p & 0xC0) { in rose_parse_national() 252 return -1; in rose_parse_national() 253 p += 2; in rose_parse_national() [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/net/bridge/ |
| D | br_stp.c | 20 /* since time values in bpdu are in jiffies and then scaled (1/256) 23 #define MESSAGE_AGE_INCR ((HZ / 256) + 1) 33 void br_set_state(struct net_bridge_port *p, unsigned int state) in br_set_state() argument 36 .orig_dev = p->dev, in br_set_state() 43 p->state = state; in br_set_state() 44 err = switchdev_port_attr_set(p->dev, &attr); in br_set_state() 46 br_warn(p->br, "error setting offload STP state on port %u(%s)\n", in br_set_state() 47 (unsigned int) p->port_no, p->dev->name); in br_set_state() 49 br_info(p->br, "port %u(%s) entered %s state\n", in br_set_state() 50 (unsigned int) p->port_no, p->dev->name, in br_set_state() [all …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-5.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 …]
|
| /kernel/linux/linux-4.19/net/sched/ |
| D | sch_dsmark.c | 25 * x:0 1 use entry [0] 27 * x:y y>0 y+1 use entry [y] 29 * x:indices-1 indices use entry [indices-1] 31 * x:y y+1 use entry [y & (indices-1)] 33 * 0xffff 0x10000 use entry [indices-1] 37 #define NO_DEFAULT_INDEX (1 << 16) 56 static inline int dsmark_valid_index(struct dsmark_qdisc_data *p, u16 index) in dsmark_valid_index() argument 58 return index <= p->indices && index > 0; in dsmark_valid_index() 67 struct dsmark_qdisc_data *p = qdisc_priv(sch); in dsmark_graft() local 69 pr_debug("%s(sch %p,[qdisc %p],new %p,old %p)\n", in dsmark_graft() [all …]
|
| /kernel/linux/linux-4.19/drivers/isdn/i4l/ |
| D | isdn_ttyfax.c | 25 #define PARSE_ERROR1 { isdn_tty_fax_modem_result(1, info); return 1; } 31 char *p; in isdn_getrev() local 33 if ((p = strchr(revision, ':'))) { in isdn_getrev() 34 rev = p + 2; in isdn_getrev() 35 p = strchr(rev, '$'); in isdn_getrev() 36 *--p = 0; in isdn_getrev() 72 case 1: /* ERROR */ in isdn_tty_fax_modem_result() 81 info->online = 1; in isdn_tty_fax_modem_result() 130 isdn_tty_at_cout("1", info); in isdn_tty_fax_modem_result() 143 if (info->faxonline & 1) { in isdn_tty_fax_modem_result() [all …]
|