/Linux-v5.4/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 …]
|
D | ip_set_list_set.c | 55 struct set_elem *e; in list_set_ktest() local 63 list_for_each_entry_rcu(e, &map->members, list) { in list_set_ktest() 64 ret = ip_set_test(e->id, skb, par, opt); in list_set_ktest() 67 if (ip_set_match_extensions(set, ext, mext, flags, e)) in list_set_ktest() 79 struct set_elem *e; in list_set_kadd() local 82 list_for_each_entry(e, &map->members, list) { in list_set_kadd() 84 ip_set_timeout_expired(ext_timeout(e, set))) in list_set_kadd() 86 ret = ip_set_add(e->id, skb, par, opt); in list_set_kadd() 99 struct set_elem *e; in list_set_kdel() local 102 list_for_each_entry(e, &map->members, list) { in list_set_kdel() [all …]
|
/Linux-v5.4/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 …]
|
D | smt.c | 68 struct smt_entry *e, *end; in find_or_alloc_smte() local 70 for (e = &s->smtab[0], end = &s->smtab[s->smt_size]; e != end; ++e) { in find_or_alloc_smte() 71 if (e->refcnt == 0) { in find_or_alloc_smte() 73 first_free = e; in find_or_alloc_smte() 75 if (e->state == SMT_STATE_SWITCHING) { in find_or_alloc_smte() 79 if (memcmp(e->src_mac, smac, ETH_ALEN) == 0) in find_or_alloc_smte() 86 e = first_free; in find_or_alloc_smte() 92 e->state = SMT_STATE_UNUSED; in find_or_alloc_smte() 95 return e; in find_or_alloc_smte() 98 static void t4_smte_free(struct smt_entry *e) in t4_smte_free() argument [all …]
|
/Linux-v5.4/scripts/kconfig/ |
D | expr.c | 17 static struct expr *expr_eliminate_yn(struct expr *e); 21 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_symbol() local 22 e->type = E_SYMBOL; in expr_alloc_symbol() 23 e->left.sym = sym; in expr_alloc_symbol() 24 return e; in expr_alloc_symbol() 29 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_one() local 30 e->type = type; in expr_alloc_one() 31 e->left.expr = ce; in expr_alloc_one() 32 return e; in expr_alloc_one() 37 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_two() local [all …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/lib/ |
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 84 __u32 A, B, C, D, E; in sha_transform() local 90 E = digest[4]; in sha_transform() 93 T_0_15( 0, A, B, C, D, E); in sha_transform() [all …]
|
D | lru_cache.c | 38 /* BUG() if e is not one of the elements tracked by lc */ 39 #define PARANOIA_LC_ELEMENT(lc, e) do { \ argument 41 struct lc_element *e_ = (e); \ 94 struct lc_element *e; in lc_create() local 138 e = p + e_off; in lc_create() 139 e->lc_index = i; in lc_create() 140 e->lc_number = LC_FREE; in lc_create() 141 e->lc_new_number = LC_FREE; in lc_create() 142 list_add(&e->list, &lc->free); in lc_create() 143 element[i] = e; in lc_create() [all …]
|
/Linux-v5.4/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 …]
|
D | ev6-clear_user.S | 18 * E - either cluster 53 and $16, 7, $4 # .. E .. .. : find dest head misalignment 56 addq $0, $4, $1 # .. .. .. E : bias counter 57 and $1, 7, $2 # .. .. E .. : number of misaligned bytes in tail 60 srl $1, 3, $1 # .. E .. .. : number of quadwords to clear 70 addq $16, 8, $16 # E .. .. .. : L U U L 73 subq $1, 1, $1 # .. .. E .. : 74 addq $0, $4, $0 # .. E .. .. : bytes left -= 8 - misalignment 75 subq $0, 8, $0 # E .. .. .. : U L U L 86 subq $1, 16, $4 # .. .. .. E : If < 16, we can not use the huge loop [all …]
|
D | ev6-stxcpy.S | 28 * E - either cluster 58 lda t2, -1 # E : build a mask against false zero 61 ornot t1, t2, t2 # E : (stall) 64 cmpbge zero, t2, t8 # E : bits set iff null found 65 or t0, t3, t1 # E : (stall) 75 addq a0, 8, a0 # E : 80 addq a1, 8, a1 # E : 81 cmpbge zero, t1, t8 # E : (3 cycle stall) 89 negq t8, t6 # E : find low bit set 90 and t8, t6, t12 # E : (stall) [all …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/ |
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 …]
|
/Linux-v5.4/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 is the elevator @e name matches @name and if @e provides all the 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 …]
|
/Linux-v5.4/security/apparmor/ |
D | policy_unpack.c | 99 * @e: buffer position info 105 const char *name, const char *info, struct aa_ext *e, in audit_iface() argument 110 if (e) in audit_iface() 111 aad(&sa)->iface.pos = e->pos - e->start; in audit_iface() 198 static bool inbounds(struct aa_ext *e, size_t size) in inbounds() argument 200 return (size <= e->end - e->pos); in inbounds() 214 * @e: serialized data read head (NOT NULL) 219 static size_t unpack_u16_chunk(struct aa_ext *e, char **chunk) in unpack_u16_chunk() argument 222 void *pos = e->pos; in unpack_u16_chunk() 224 if (!inbounds(e, sizeof(u16))) in unpack_u16_chunk() [all …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/lib/crypto/ |
D | sha256.c | 48 u32 a, b, c, d, e, f, g, h, t1, t2; in sha256_transform() local 62 e = state[4]; f = state[5]; g = state[6]; h = state[7]; in sha256_transform() 65 t1 = h + e1(e) + Ch(e, f, g) + 0x428a2f98 + W[0]; in sha256_transform() 67 t1 = g + e1(d) + Ch(d, e, f) + 0x71374491 + W[1]; in sha256_transform() 69 t1 = f + e1(c) + Ch(c, d, e) + 0xb5c0fbcf + W[2]; in sha256_transform() 71 t1 = e + e1(b) + Ch(b, c, d) + 0xe9b5dba5 + W[3]; in sha256_transform() 72 t2 = e0(f) + Maj(f, g, h); a += t1; e = t1 + t2; in sha256_transform() 74 t2 = e0(e) + Maj(e, f, g); h += t1; d = t1 + t2; in sha256_transform() 76 t2 = e0(d) + Maj(d, e, f); g += t1; c = t1 + t2; in sha256_transform() 78 t2 = e0(c) + Maj(c, d, e); f += t1; b = t1 + t2; in sha256_transform() [all …]
|