/kernel/linux/linux-5.10/lib/ |
D | errname.c | 15 #define E(err) [err + BUILD_BUG_ON_ZERO(err <= 0 || err > 300)] = "-" #err macro 17 E(E2BIG), 18 E(EACCES), 19 E(EADDRINUSE), 20 E(EADDRNOTAVAIL), 21 E(EADV), 22 E(EAFNOSUPPORT), 23 E(EALREADY), 24 E(EBADE), 25 E(EBADF), [all …]
|
D | sha1.c | 55 #define SHA_ROUND(t, input, fn, constant, A, B, C, D, E) do { \ argument 57 E += TEMP + rol32(A,5) + (fn) + (constant); \ 60 #define T_0_15(t, A, B, C, D, E) SHA_ROUND(t, SHA_SRC, (((C^D)&B)^D) , 0x5a827999, A, B, C, D, E ) argument 61 #define T_16_19(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (((C^D)&B)^D) , 0x5a827999, A, B, C, D, E ) argument 62 #define T_20_39(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (B^C^D) , 0x6ed9eba1, A, B, C, D, E ) argument 63 #define T_40_59(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, ((B&C)+(D&(B^C))) , 0x8f1bbcdc, A, B, C, D,… argument 64 #define T_60_79(t, A, B, C, D, E) SHA_ROUND(t, SHA_MIX, (B^C^D) , 0xca62c1d6, A, B, C, D, E ) argument 86 __u32 A, B, C, D, E; in sha1_transform() local 92 E = digest[4]; in sha1_transform() 95 T_0_15( 0, A, B, C, D, E); in sha1_transform() [all …]
|
/kernel/linux/linux-5.10/net/netfilter/ipset/ |
D | pfxlen.c | 7 #ifdef E 8 #undef E 12 E(0x00000000, 0x00000000, 0x00000000, 0x00000000), \ 13 E(0x80000000, 0x00000000, 0x00000000, 0x00000000), \ 14 E(0xC0000000, 0x00000000, 0x00000000, 0x00000000), \ 15 E(0xE0000000, 0x00000000, 0x00000000, 0x00000000), \ 16 E(0xF0000000, 0x00000000, 0x00000000, 0x00000000), \ 17 E(0xF8000000, 0x00000000, 0x00000000, 0x00000000), \ 18 E(0xFC000000, 0x00000000, 0x00000000, 0x00000000), \ 19 E(0xFE000000, 0x00000000, 0x00000000, 0x00000000), \ [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | l2t.c | 65 static inline unsigned int vlan_prio(const struct l2t_entry *e) in vlan_prio() argument 67 return e->vlan >> VLAN_PRIO_SHIFT; in vlan_prio() 70 static inline void l2t_hold(struct l2t_data *d, struct l2t_entry *e) in l2t_hold() argument 72 if (atomic_add_return(1, &e->refcnt) == 1) /* 0 -> 1 transition */ in l2t_hold() 118 static int addreq(const struct l2t_entry *e, const u32 *addr) in addreq() argument 120 if (e->v6) in addreq() 121 return (e->addr[0] ^ addr[0]) | (e->addr[1] ^ addr[1]) | in addreq() 122 (e->addr[2] ^ addr[2]) | (e->addr[3] ^ addr[3]); in addreq() 123 return e->addr[0] ^ addr[0]; in addreq() 126 static void neigh_replace(struct l2t_entry *e, struct neighbour *n) in neigh_replace() argument [all …]
|
/kernel/linux/linux-5.10/scripts/kconfig/ |
D | expr.c | 16 static struct expr *expr_eliminate_yn(struct expr *e); 20 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_symbol() local 21 e->type = E_SYMBOL; in expr_alloc_symbol() 22 e->left.sym = sym; in expr_alloc_symbol() 23 return e; in expr_alloc_symbol() 28 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_one() local 29 e->type = type; in expr_alloc_one() 30 e->left.expr = ce; in expr_alloc_one() 31 return e; in expr_alloc_one() 36 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_two() local [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ |
D | event.c | 23 void event_init_opts(struct event *e, u64 config, int type, char *name) in event_init_opts() argument 25 memset(e, 0, sizeof(*e)); in event_init_opts() 27 e->name = name; in event_init_opts() 29 e->attr.type = type; in event_init_opts() 30 e->attr.config = config; in event_init_opts() 31 e->attr.size = sizeof(e->attr); in event_init_opts() 33 e->attr.read_format = PERF_FORMAT_TOTAL_TIME_ENABLED | \ in event_init_opts() 37 void event_init_named(struct event *e, u64 config, char *name) in event_init_named() argument 39 event_init_opts(e, config, PERF_TYPE_RAW, name); in event_init_named() 42 void event_init(struct event *e, u64 config) in event_init() argument [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/ |
D | l2t.c | 63 static inline unsigned int vlan_prio(const struct l2t_entry *e) in vlan_prio() argument 65 return e->vlan >> 13; in vlan_prio() 74 static inline void neigh_replace(struct l2t_entry *e, struct neighbour *n) in neigh_replace() argument 77 if (e->neigh) in neigh_replace() 78 neigh_release(e->neigh); in neigh_replace() 79 e->neigh = n; in neigh_replace() 88 struct l2t_entry *e) in setup_l2e_send_pending() argument 101 OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_L2T_WRITE_REQ, e->idx)); in setup_l2e_send_pending() 102 req->params = htonl(V_L2T_W_IDX(e->idx) | V_L2T_W_IFF(e->smt_idx) | in setup_l2e_send_pending() 103 V_L2T_W_VLAN(e->vlan & VLAN_VID_MASK) | in setup_l2e_send_pending() [all …]
|
/kernel/linux/linux-5.10/security/apparmor/ |
D | policy_unpack_test.c | 47 struct aa_ext *e; member 55 struct aa_ext *e; in build_aa_ext_struct() local 60 e = kunit_kmalloc(test, sizeof(*e), GFP_USER); in build_aa_ext_struct() 61 KUNIT_EXPECT_NOT_ERR_OR_NULL(test, e); in build_aa_ext_struct() 63 e->start = buf; in build_aa_ext_struct() 64 e->end = e->start + buf_size; in build_aa_ext_struct() 65 e->pos = e->start; in build_aa_ext_struct() 71 buf = e->start + TEST_STRING_BUF_OFFSET; in build_aa_ext_struct() 76 buf = e->start + TEST_NAMED_U32_BUF_OFFSET; in build_aa_ext_struct() 83 buf = e->start + TEST_NAMED_U64_BUF_OFFSET; in build_aa_ext_struct() [all …]
|
D | policy_unpack.c | 100 * @e: buffer position info 106 const char *name, const char *info, struct aa_ext *e, in audit_iface() argument 111 if (e) in audit_iface() 112 aad(&sa)->iface.pos = e->pos - e->start; in audit_iface() 201 static bool inbounds(struct aa_ext *e, size_t size) in inbounds() argument 203 return (size <= e->end - e->pos); in inbounds() 217 * @e: serialized data read head (NOT NULL) 222 static size_t unpack_u16_chunk(struct aa_ext *e, char **chunk) in unpack_u16_chunk() argument 225 void *pos = e->pos; in unpack_u16_chunk() 227 if (!inbounds(e, sizeof(u16))) in unpack_u16_chunk() [all …]
|
/kernel/linux/linux-5.10/arch/alpha/lib/ |
D | ev6-memcpy.S | 16 * E - either cluster 34 mov $16, $0 # E : copy dest to return 36 xor $16, $17, $1 # E : are source and dest alignments the same? 37 and $1, 7, $1 # E : are they the same mod 8? 41 and $16, 7, $1 # E : Are both 0mod8? 43 nop # E : 53 subq $18, 1, $18 # E : count-- 54 addq $17, 1, $17 # E : src++ 56 addq $16, 1, $16 # E : dest++ 57 and $16, 7, $1 # E : Are we at 0mod8 yet? [all …]
|
D | ev6-memchr.S | 26 * E - either cluster 50 and $17, 0xff, $17 # E : L L U U : 00000000000000ch 53 cmpult $18, 9, $4 # E : small (< 1 quad) string? 54 or $2, $17, $17 # E : 000000000000chch 55 lda $3, -1($31) # E : U L L U 58 addq $16, $5, $5 # E : Max search address 59 or $2, $17, $17 # E : 00000000chchchch 62 or $2, $17, $17 # E : chchchchchchchch 68 mov $16, $0 # E : 69 nop # E : [all …]
|
D | ev6-memset.S | 15 * E - either cluster 53 and $17,255,$1 # E : 00000000000000ch 55 bis $16,$16,$0 # E : return value 58 addq $18,$16,$6 # E : max address to write to 59 bis $1,$2,$17 # E : 000000000000chch 63 or $3,$4,$3 # E : 00000000chch0000 65 xor $16,$6,$1 # E : will complete write be within one quadword? 68 or $17,$3,$17 # E : 00000000chchchch 69 or $2,$5,$2 # E : chchchch00000000 70 bic $1,7,$1 # E : fit within a single quadword? [all …]
|
D | ev67-strrchr.S | 17 * E - either cluster 35 and a1, 0xff, t2 # E : 00000000000000ch 40 mov zero, t6 # E : t6 is last match aligned addr 41 or t2, t4, a1 # E : 000000000000chch 43 mov zero, t8 # E : t8 is last match byte compare mask 45 andnot a0, 7, v0 # E : align source addr 46 or t5, t3, t3 # E : 00000000chch0000 50 or t4, a1, a1 # E : chch00000000chch 51 or t2, t3, t2 # E : 0000chchchch0000 52 or a1, t2, a1 # E : chchchchchchchch [all …]
|
D | ev6-stxncpy.S | 36 * E - either cluster 66 lda t2, -1 # E : build a mask against false zero 69 ornot t1, t2, t2 # E : (stall) 72 cmpbge zero, t2, t8 # E : bits set iff null found 73 or t0, t3, t0 # E : (stall) 91 addq a0, 8, a0 # E : 92 subq a2, 1, a2 # E : 96 addq a1, 8, a1 # E : 97 cmpbge zero, t0, t8 # E : 113 negq t8, t12 # E : find low bit set [all …]
|
/kernel/linux/linux-5.10/scripts/coccinelle/api/ |
D | kvmalloc.cocci | 24 expression E, E1, size; 35 * E = \(kmalloc\|kzalloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 41 * E = \(vmalloc\|vzalloc\|vmalloc_node\|vzalloc_node\)(..., size, ...) 45 * E = \(kmalloc\|kzalloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 48 ... when != E = E1 51 * if (E == NULL)@p { 53 * E = \(vmalloc\|vzalloc\|vmalloc_node\|vzalloc_node\)(..., size, ...) 71 expression E; 75 * if (is_vmalloc_addr(E))@p { 77 * vfree(E) [all …]
|
D | kfree_mismatch.cocci | 18 expression E, E1; 25 E = \(kmalloc\|kzalloc\|krealloc\|kcalloc\| 31 E = \(vmalloc\|vzalloc\|vmalloc_user\|vmalloc_node\| 38 E = \(kmalloc\|kzalloc\|krealloc\|kcalloc\|kmalloc_node\|kzalloc_node\| 40 ... when != E = E1 42 if (E == NULL) { 44 E = \(vmalloc\|vzalloc\|vmalloc_user\|vmalloc_node\| 53 expression E; 57 E = \(kvmalloc\|kvzalloc\|kvcalloc\|kvzalloc_node\|kvmalloc_node\| 60 kvfree(E)@fok [all …]
|
/kernel/linux/linux-5.10/scripts/coccinelle/null/ |
D | badzero.cocci | 27 expression *E; 32 (E = f(...)) == 36 (E = f(...)) != 42 == (E = f(...)) 46 != (E = f(...)) 51 expression *E; 57 (E = f(...)) == 60 (E = f(...)) != 64 == (E = f(...)) 67 != (E = f(...)) [all …]
|
/kernel/linux/linux-5.10/ |
D | CREDITS | 4 scripts. The fields are: name (N), email (E), web-address 13 E: mpm@selenic.com 17 E: mea@nic.funet.fi 24 E: thomas.ab@samsung.com 28 E: dragos@iname.com 36 E: madler@alumni.caltech.edu 41 E: magrawal@nortelnetworks.com 48 E: airlied@linux.ie 56 E: tigran@aivazian.fsnet.co.uk 64 E: werner@almesberger.net [all …]
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-cache-policy-smq.c | 87 struct entry *e; in __get_entry() local 89 e = es->begin + block; in __get_entry() 90 BUG_ON(e >= es->end); in __get_entry() 92 return e; in __get_entry() 95 static unsigned to_index(struct entry_space *es, struct entry *e) in to_index() argument 97 BUG_ON(e < es->begin || e >= es->end); in to_index() 98 return e - es->begin; in to_index() 132 static struct entry *l_next(struct entry_space *es, struct entry *e) in l_next() argument 134 return to_entry(es, e->next); in l_next() 137 static struct entry *l_prev(struct entry_space *es, struct entry *e) in l_prev() argument [all …]
|
/kernel/linux/linux-5.10/drivers/media/test-drivers/vidtv/ |
D | vidtv_s302m.c | 165 static void vidtv_s302m_access_unit_destroy(struct vidtv_encoder *e) in vidtv_s302m_access_unit_destroy() argument 167 struct vidtv_access_unit *head = e->access_units; in vidtv_s302m_access_unit_destroy() 176 e->access_units = NULL; in vidtv_s302m_access_unit_destroy() 179 static void vidtv_s302m_alloc_au(struct vidtv_encoder *e) in vidtv_s302m_alloc_au() argument 184 if (e->sync && e->sync->is_video_encoder) { in vidtv_s302m_alloc_au() 185 sync_au = e->sync->access_units; in vidtv_s302m_alloc_au() 188 temp = vidtv_s302m_access_unit_init(e->access_units); in vidtv_s302m_alloc_au() 189 if (!e->access_units) in vidtv_s302m_alloc_au() 190 e->access_units = temp; in vidtv_s302m_alloc_au() 198 e->access_units = vidtv_s302m_access_unit_init(NULL); in vidtv_s302m_alloc_au() [all …]
|
/kernel/linux/linux-5.10/fs/ |
D | binfmt_misc.c | 97 Node *e = list_entry(l, Node, list); in check_file() local 102 if (!test_bit(Enabled, &e->flags)) in check_file() 106 if (!test_bit(Magic, &e->flags)) { in check_file() 107 if (p && !strcmp(e->magic, p + 1)) in check_file() 108 return e; in check_file() 113 s = bprm->buf + e->offset; in check_file() 114 if (e->mask) { in check_file() 115 for (j = 0; j < e->size; j++) in check_file() 116 if ((*s++ ^ e->magic[j]) & e->mask[j]) in check_file() 119 for (j = 0; j < e->size; j++) in check_file() [all …]
|
/kernel/linux/linux-5.10/block/ |
D | elevator.c | 63 struct elevator_queue *e = q->elevator; in elv_iosched_allow_bio_merge() local 65 if (e->type->ops.allow_merge) in elv_iosched_allow_bio_merge() 66 return e->type->ops.allow_merge(q, rq, bio); in elv_iosched_allow_bio_merge() 94 * @e: Scheduler to test 98 * Return true if the elevator @e name matches @name and if @e provides all 101 static bool elevator_match(const struct elevator_type *e, const char *name, in elevator_match() argument 104 if (!elv_support_features(e->elevator_features, required_features)) in elevator_match() 106 if (!strcmp(e->elevator_name, name)) in elevator_match() 108 if (e->elevator_alias && !strcmp(e->elevator_alias, name)) in elevator_match() 125 struct elevator_type *e; in elevator_find() local [all …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ebb/ |
D | trace.c | 78 struct trace_entry *e; in trace_alloc_entry() local 80 e = trace_alloc(tb, sizeof(*e) + payload_size); in trace_alloc_entry() 81 if (e) in trace_alloc_entry() 82 e->length = payload_size; in trace_alloc_entry() 84 return e; in trace_alloc_entry() 89 struct trace_entry *e; in trace_log_reg() local 92 e = trace_alloc_entry(tb, sizeof(reg) + sizeof(value)); in trace_log_reg() 93 if (!e) in trace_log_reg() 96 e->type = TRACE_TYPE_REG; in trace_log_reg() 97 p = (u64 *)e->data; in trace_log_reg() [all …]
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | xt_quota2.c | 67 struct xt_quota_counter *e = m->private; in quota_proc_show() local 69 spin_lock_bh(&e->lock); in quota_proc_show() 70 seq_printf(m, "%llu\n", e->quota); in quota_proc_show() 71 spin_unlock_bh(&e->lock); in quota_proc_show() 84 struct xt_quota_counter *e = PDE_DATA(file_inode(file)); in quota_proc_write() local 97 spin_lock_bh(&e->lock); in quota_proc_write() 99 if (temp > 0 || -temp < e->quota) in quota_proc_write() 100 e->quota += temp; in quota_proc_write() 102 e->quota = 0; in quota_proc_write() 103 spin_unlock_bh(&e->lock); in quota_proc_write() [all …]
|
/kernel/linux/linux-5.10/arch/powerpc/crypto/ |
D | sha1-spe-asm.S | 106 #define R_00_15(a, b, c, d, e, w0, w1, k, off) \ argument 113 add e,e,rT0; /* 1: E = E + A' */ \ 115 add e,e,w0; /* 1: E = E + W */ \ 117 add e,e,rT2; /* 1: E = E + F */ \ 119 add e,e,rK; /* 1: E = E + K */ \ 121 add d,d,rK; /* 2: E = E + K */ \ 123 rotrwi rT0,e,27; /* 2: A' = A rotl 5 */ \ 124 add d,d,w1; /* 2: E = E + W */ \ 126 add d,d,rT0; /* 2: E = E + A' */ \ 128 add d,d,rT2 /* 2: E = E + F */ [all …]
|