/linux-4.4.14/drivers/isdn/hardware/eicon/ |
D | um_idi.c | 29 static void cleanup_entity(divas_um_idi_entity_t *e); 33 static int process_idi_request(divas_um_idi_entity_t *e, 35 static int process_idi_rc(divas_um_idi_entity_t *e, byte rc); 36 static int process_idi_ind(divas_um_idi_entity_t *e, byte ind); 37 static int write_return_code(divas_um_idi_entity_t *e, byte rc); 172 divas_um_idi_entity_t *e; in cleanup_adapter() local 175 e = list_entry(tmp, divas_um_idi_entity_t, link); in cleanup_adapter() 177 cleanup_entity(e); in cleanup_adapter() 178 if (e->os_context) { in cleanup_adapter() 179 diva_os_wakeup_read(e->os_context); in cleanup_adapter() [all …]
|
D | io.c | 44 static void Request##N(ENTITY *e) \ 45 { if (IoAdapters[N]) (*IoAdapters[N]->DIRequest)(IoAdapters[N], e); } 203 void request(PISDN_ADAPTER IoAdapter, ENTITY *e) in request() argument 211 if (!e->Req) in request() 213 IDI_SYNC_REQ *syncReq = (IDI_SYNC_REQ *)e; in request() 214 switch (e->Rc) in request() 335 pcm_req(IoAdapter, e); in request() 338 e->Ind = 0; in request() 343 pcm_req(IoAdapter, e); in request() 346 e->Ind = 0; in request() [all …]
|
D | dadapter.c | 211 ENTITY IDI_CALL_ENTITY_T *e) { in diva_dadapter_request() argument 212 IDI_SYNC_REQ *syncReq = (IDI_SYNC_REQ *)e; in diva_dadapter_request() 213 if (e->Req) { /* We do not process it, also return error */ in diva_dadapter_request() 214 e->Rc = OUT_OF_RESOURCES; in diva_dadapter_request() 215 DBG_ERR(("Can't process async request, Req=%02x", e->Req)) in diva_dadapter_request() 221 switch (e->Rc) { in diva_dadapter_request() 227 e->Rc = 0xff; in diva_dadapter_request() 232 e->Rc = 0xff; in diva_dadapter_request() 237 e->Rc = OUT_OF_RESOURCES; in diva_dadapter_request() 239 e->Rc = 0xff; in diva_dadapter_request() [all …]
|
D | divasfunc.c | 81 req.didd_remove_adapter.e.Req = 0; in diva_xdi_didd_register_adapter() 82 req.didd_add_adapter.e.Rc = IDI_SYNC_REQ_DIDD_ADD_ADAPTER; in diva_xdi_didd_register_adapter() 85 if (req.didd_add_adapter.e.Rc != 0xff) { in diva_xdi_didd_register_adapter() 102 req.didd_remove_adapter.e.Req = 0; in diva_xdi_didd_remove_adapter() 103 req.didd_remove_adapter.e.Rc = IDI_SYNC_REQ_DIDD_REMOVE_ADAPTER; in diva_xdi_didd_remove_adapter() 169 req.didd_notify.e.Req = 0; in connect_didd() 170 req.didd_notify.e.Rc = in connect_didd() 175 if (req.didd_notify.e.Rc != 0xff) { in connect_didd() 203 req.didd_notify.e.Req = 0; in disconnect_didd() 204 req.didd_notify.e.Rc = IDI_SYNC_REQ_DIDD_REMOVE_ADAPTER_NOTIFY; in disconnect_didd()
|
D | diddfunc.c | 63 req.didd_notify.e.Req = 0; in connect_didd() 64 req.didd_notify.e.Rc = in connect_didd() 69 if (req.didd_notify.e.Rc != 0xff) in connect_didd() 86 req.didd_notify.e.Req = 0; in disconnect_didd() 87 req.didd_notify.e.Rc = IDI_SYNC_REQ_DIDD_REMOVE_ADAPTER_NOTIFY; in disconnect_didd()
|
D | mntfunc.c | 88 req.didd_notify.e.Req = 0; in connect_didd() 89 req.didd_notify.e.Rc = in connect_didd() 94 if (req.didd_notify.e.Rc != 0xff) in connect_didd() 98 req.didd_add_adapter.e.Req = 0; in connect_didd() 99 req.didd_add_adapter.e.Rc = in connect_didd() 104 if (req.didd_add_adapter.e.Rc != 0xff) in connect_didd() 121 req.didd_notify.e.Req = 0; in disconnect_didd() 122 req.didd_notify.e.Rc = IDI_SYNC_REQ_DIDD_REMOVE_ADAPTER_NOTIFY; in disconnect_didd() 126 req.didd_remove_adapter.e.Req = 0; in disconnect_didd() 127 req.didd_remove_adapter.e.Rc = IDI_SYNC_REQ_DIDD_REMOVE_ADAPTER; in disconnect_didd()
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/ |
D | l2t.c | 67 static inline unsigned int vlan_prio(const struct l2t_entry *e) in vlan_prio() argument 69 return e->vlan >> 13; in vlan_prio() 72 static inline void l2t_hold(struct l2t_data *d, struct l2t_entry *e) in l2t_hold() argument 74 if (atomic_add_return(1, &e->refcnt) == 1) /* 0 -> 1 transition */ in l2t_hold() 120 static int addreq(const struct l2t_entry *e, const u32 *addr) in addreq() argument 122 if (e->v6) in addreq() 123 return (e->addr[0] ^ addr[0]) | (e->addr[1] ^ addr[1]) | in addreq() 124 (e->addr[2] ^ addr[2]) | (e->addr[3] ^ addr[3]); in addreq() 125 return e->addr[0] ^ addr[0]; in addreq() 128 static void neigh_replace(struct l2t_entry *e, struct neighbour *n) in neigh_replace() argument [all …]
|
/linux-4.4.14/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 …]
|
D | cxgb3_defs.h | 80 union listen_entry *e; in lookup_stid() local 85 e = stid2entry(t, tid); in lookup_stid() 86 if ((void *)e->next >= (void *)t->tid_tab && in lookup_stid() 87 (void *)e->next < (void *)&t->atid_tab[t->natids]) in lookup_stid() 90 return &e->t3c_tid; in lookup_stid() 99 union active_open_entry *e; in lookup_atid() local 104 e = atid2entry(t, tid); in lookup_atid() 105 if ((void *)e->next >= (void *)t->tid_tab && in lookup_atid() 106 (void *)e->next < (void *)&t->atid_tab[t->natids]) in lookup_atid() 109 return &e->t3c_tid; in lookup_atid()
|
D | l2t.h | 110 void t3_l2e_free(struct l2t_data *d, struct l2t_entry *e); 115 struct l2t_entry *e); 116 void t3_l2t_send_event(struct t3cdev *dev, struct l2t_entry *e); 123 struct l2t_entry *e) in l2t_send() argument 125 if (likely(e->state == L2T_STATE_VALID)) in l2t_send() 127 return t3_l2t_send_slow(dev, skb, e); in l2t_send() 130 static inline void l2t_release(struct t3cdev *t, struct l2t_entry *e) in l2t_release() argument 137 if (atomic_dec_and_test(&e->refcnt) && d) in l2t_release() 138 t3_l2e_free(d, e); in l2t_release() 143 static inline void l2t_hold(struct l2t_data *d, struct l2t_entry *e) in l2t_hold() argument [all …]
|
/linux-4.4.14/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 …]
|
D | per_event_excludes.c | 25 struct event *e, events[4]; in per_event_excludes() local 37 e = &events[0]; in per_event_excludes() 38 event_init_opts(e, PERF_COUNT_HW_INSTRUCTIONS, in per_event_excludes() 40 e->attr.disabled = 1; in per_event_excludes() 42 e = &events[1]; in per_event_excludes() 43 event_init_opts(e, PERF_COUNT_HW_INSTRUCTIONS, in per_event_excludes() 45 e->attr.disabled = 1; in per_event_excludes() 46 e->attr.exclude_user = 1; in per_event_excludes() 47 e->attr.exclude_hv = 1; in per_event_excludes() 49 e = &events[2]; in per_event_excludes() [all …]
|
D | event.h | 27 void event_init(struct event *e, u64 config); 28 void event_init_named(struct event *e, u64 config, char *name); 29 void event_init_opts(struct event *e, u64 config, int type, char *name); 30 int event_open_with_options(struct event *e, pid_t pid, int cpu, int group_fd); 31 int event_open_with_group(struct event *e, int group_fd); 32 int event_open_with_pid(struct event *e, pid_t pid); 33 int event_open_with_cpu(struct event *e, int cpu); 34 int event_open(struct event *e); 35 void event_close(struct event *e); 36 int event_enable(struct event *e); [all …]
|
D | count_instructions.c | 19 static void setup_event(struct event *e, u64 config, char *name) in setup_event() argument 21 event_init_opts(e, config, PERF_TYPE_HARDWARE, name); in setup_event() 23 e->attr.disabled = 1; in setup_event() 24 e->attr.exclude_kernel = 1; in setup_event() 25 e->attr.exclude_hv = 1; in setup_event() 26 e->attr.exclude_idle = 1; in setup_event()
|
/linux-4.4.14/scripts/kconfig/ |
D | expr.c | 15 static struct expr *expr_eliminate_yn(struct expr *e); 19 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_symbol() local 20 e->type = E_SYMBOL; in expr_alloc_symbol() 21 e->left.sym = sym; in expr_alloc_symbol() 22 return e; in expr_alloc_symbol() 27 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_one() local 28 e->type = type; in expr_alloc_one() 29 e->left.expr = ce; in expr_alloc_one() 30 return e; in expr_alloc_one() 35 struct expr *e = xcalloc(1, sizeof(*e)); in expr_alloc_two() local [all …]
|
D | expr.h | 51 #define expr_list_for_each_sym(l, e, s) \ argument 52 for (e = (l); e && (s = e->right.sym); e = e->left.expr) 209 void expr_free(struct expr *e); 211 tristate expr_calc_value(struct expr *e); 212 struct expr *expr_trans_bool(struct expr *e); 213 struct expr *expr_eliminate_dups(struct expr *e); 214 struct expr *expr_transform(struct expr *e); 217 struct expr *expr_trans_compare(struct expr *e, enum expr_type type, struct symbol *sym); 220 void expr_fprint(struct expr *e, FILE *out); 222 void expr_gstr_print(struct expr *e, struct gstr *gs); [all …]
|
D | symbol.c | 259 struct expr *e; in sym_choice_default() local 273 expr_list_for_each_sym(prop->expr, e, def_sym) in sym_choice_default() 285 struct expr *e; in sym_calc_choice() local 291 expr_list_for_each_sym(prop->expr, e, def_sym) { in sym_calc_choice() 317 struct expr *e; in sym_calc_value() local 389 struct expr *e; in sym_calc_value() local 390 e = expr_simplify_unmet_dep(sym->rev_dep.expr, in sym_calc_value() 393 expr_fprint(e, stderr); in sym_calc_value() 398 expr_free(e); in sym_calc_value() 446 expr_list_for_each_sym(prop->expr, e, choice_sym) { in sym_calc_value() [all …]
|
D | qconf.h | 55 void keyPressEvent(QKeyEvent *e); 56 void mousePressEvent(QMouseEvent *e); 57 void mouseReleaseEvent(QMouseEvent *e); 58 void mouseMoveEvent(QMouseEvent *e); 59 void mouseDoubleClickEvent(QMouseEvent *e); 60 void focusInEvent(QFocusEvent *e); 61 void contextMenuEvent(QContextMenuEvent *e); 202 void keyPressEvent(QKeyEvent *e); 264 void contextMenuEvent(QContextMenuEvent *e); 315 void closeEvent(QCloseEvent *e);
|
/linux-4.4.14/security/apparmor/ |
D | policy_unpack.c | 93 const char *info, struct aa_ext *e, int error) in audit_iface() argument 100 if (e) in audit_iface() 101 aad.iface.pos = e->pos - e->start; in audit_iface() 112 static bool inbounds(struct aa_ext *e, size_t size) in inbounds() argument 114 return (size <= e->end - e->pos); in inbounds() 124 static size_t unpack_u16_chunk(struct aa_ext *e, char **chunk) in unpack_u16_chunk() argument 128 if (!inbounds(e, sizeof(u16))) in unpack_u16_chunk() 130 size = le16_to_cpu(get_unaligned((u16 *) e->pos)); in unpack_u16_chunk() 131 e->pos += sizeof(u16); in unpack_u16_chunk() 132 if (!inbounds(e, size)) in unpack_u16_chunk() [all …]
|
/linux-4.4.14/arch/x86/mm/kmemcheck/ |
D | error.c | 56 struct kmemcheck_error *e; in error_next_wr() local 63 e = &error_fifo[error_wr]; in error_next_wr() 67 return e; in error_next_wr() 72 struct kmemcheck_error *e; in error_next_rd() local 77 e = &error_fifo[error_rd]; in error_next_rd() 81 return e; in error_next_rd() 100 struct kmemcheck_error *e; in kmemcheck_error_recall() local 103 e = error_next_rd(); in kmemcheck_error_recall() 104 if (!e) in kmemcheck_error_recall() 107 switch (e->type) { in kmemcheck_error_recall() [all …]
|
/linux-4.4.14/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 …]
|
D | ebb.h | 47 void event_leader_ebb_init(struct event *e); 48 void event_ebb_init(struct event *e); 49 void event_bhrb_init(struct event *e, unsigned ifm); 52 int ebb_event_enable(struct event *e); 58 void event_ebb_init(struct event *e); 59 void event_leader_ebb_init(struct event *e);
|
D | ebb.c | 277 int ebb_event_enable(struct event *e) in ebb_event_enable() argument 284 rc = ioctl(e->fd, PERF_EVENT_IOC_ENABLE); in ebb_event_enable() 288 rc = event_read(e); in ebb_event_enable() 333 void event_ebb_init(struct event *e) in event_ebb_init() argument 335 e->attr.config |= (1ull << 63); in event_ebb_init() 338 void event_bhrb_init(struct event *e, unsigned ifm) in event_bhrb_init() argument 340 e->attr.config |= (1ull << 62) | ((u64)ifm << 60); in event_bhrb_init() 343 void event_leader_ebb_init(struct event *e) in event_leader_ebb_init() argument 345 event_ebb_init(e); in event_leader_ebb_init() 347 e->attr.exclusive = 1; in event_leader_ebb_init() [all …]
|
/linux-4.4.14/drivers/md/ |
D | dm-cache-policy-smq.c | 85 struct entry *e; in __get_entry() local 87 e = es->begin + block; in __get_entry() 88 BUG_ON(e >= es->end); in __get_entry() 90 return e; in __get_entry() 93 static unsigned to_index(struct entry_space *es, struct entry *e) in to_index() argument 95 BUG_ON(e < es->begin || e >= es->end); in to_index() 96 return e - es->begin; in to_index() 130 static struct entry *l_next(struct entry_space *es, struct entry *e) in l_next() argument 132 return to_entry(es, e->next); in l_next() 135 static struct entry *l_prev(struct entry_space *es, struct entry *e) in l_prev() argument [all …]
|
D | dm-cache-policy-mq.c | 356 struct entry *e; in alloc_entry() local 361 e = list_entry(list_pop(&ep->free), struct entry, list); in alloc_entry() 362 INIT_LIST_HEAD(&e->list); in alloc_entry() 363 INIT_HLIST_NODE(&e->hlist); in alloc_entry() 366 return e; in alloc_entry() 374 struct entry *e = ep->entries + from_cblock(cblock); in alloc_particular_entry() local 376 list_del_init(&e->list); in alloc_particular_entry() 377 INIT_HLIST_NODE(&e->hlist); in alloc_particular_entry() 380 return e; in alloc_particular_entry() 383 static void free_entry(struct entry_pool *ep, struct entry *e) in free_entry() argument [all …]
|
D | dm-cache-policy-cleaner.c | 127 struct wb_cache_entry *e; in alloc_cache_entry() local 131 e = list_entry(list_pop(&p->free), struct wb_cache_entry, list); in alloc_cache_entry() 134 return e; in alloc_cache_entry() 159 static void insert_cache_hash_entry(struct policy *p, struct wb_cache_entry *e) in insert_cache_hash_entry() argument 161 unsigned h = hash_64(from_oblock(e->oblock), p->chash.hash_bits); in insert_cache_hash_entry() 163 hlist_add_head(&e->hlist, &p->chash.table[h]); in insert_cache_hash_entry() 166 static void remove_cache_hash_entry(struct wb_cache_entry *e) in remove_cache_hash_entry() argument 168 hlist_del(&e->hlist); in remove_cache_hash_entry() 178 struct wb_cache_entry *e; in wb_map() local 189 e = lookup_cache_entry(p, oblock); in wb_map() [all …]
|
D | dm-exception-store.h | 66 struct dm_exception *e); 72 struct dm_exception *e, int valid, 147 static inline unsigned dm_consecutive_chunk_count(struct dm_exception *e) in dm_consecutive_chunk_count() argument 149 return e->new_chunk >> DM_CHUNK_NUMBER_BITS; in dm_consecutive_chunk_count() 152 static inline void dm_consecutive_chunk_count_inc(struct dm_exception *e) in dm_consecutive_chunk_count_inc() argument 154 e->new_chunk += (1ULL << DM_CHUNK_NUMBER_BITS); in dm_consecutive_chunk_count_inc() 156 BUG_ON(!dm_consecutive_chunk_count(e)); in dm_consecutive_chunk_count_inc() 159 static inline void dm_consecutive_chunk_count_dec(struct dm_exception *e) in dm_consecutive_chunk_count_dec() argument 161 BUG_ON(!dm_consecutive_chunk_count(e)); in dm_consecutive_chunk_count_dec() 163 e->new_chunk -= (1ULL << DM_CHUNK_NUMBER_BITS); in dm_consecutive_chunk_count_dec() [all …]
|
D | dm-snap.c | 179 struct dm_exception e; member 644 static void dm_remove_exception(struct dm_exception *e) in dm_remove_exception() argument 646 list_del(&e->hash_list); in dm_remove_exception() 657 struct dm_exception *e; in dm_lookup_exception() local 660 list_for_each_entry (e, slot, hash_list) in dm_lookup_exception() 661 if (chunk >= e->old_chunk && in dm_lookup_exception() 662 chunk <= e->old_chunk + dm_consecutive_chunk_count(e)) in dm_lookup_exception() 663 return e; in dm_lookup_exception() 670 struct dm_exception *e; in alloc_completed_exception() local 672 e = kmem_cache_alloc(exception_cache, gfp); in alloc_completed_exception() [all …]
|
/linux-4.4.14/lib/ |
D | lru_cache.c | 51 #define PARANOIA_LC_ELEMENT(lc, e) do { \ argument 53 struct lc_element *e_ = (e); \ 106 struct lc_element *e; in lc_create() local 150 e = p + e_off; in lc_create() 151 e->lc_index = i; in lc_create() 152 e->lc_number = LC_FREE; in lc_create() 153 e->lc_new_number = LC_FREE; in lc_create() 154 list_add(&e->list, &lc->free); in lc_create() 155 element[i] = e; in lc_create() 224 struct lc_element *e = lc->lc_element[i]; in lc_reset() local [all …]
|
D | inflate.c | 139 uch e; /* number of extra bits or operation */ member 326 const ush *e, /* list of extra bits for non-simple codes */ in huft_build() argument 507 r.e = (uch)(16 + j); /* bits in this table */ in huft_build() 519 r.e = 99; /* out of values--invalid code */ in huft_build() 522 r.e = (uch)(*p < 256 ? 16 : 15); /* 256 is end-of-block code */ in huft_build() 528 r.e = (uch)e[*p - s]; /* non-simple--look up in lists */ in huft_build() 597 register unsigned e; /* table entry flag/number of extra bits */ in inflate_codes() local 617 if ((e = (t = tl + ((unsigned)b & ml))->e) > 16) in inflate_codes() 619 if (e == 99) in inflate_codes() 622 e -= 16; in inflate_codes() [all …]
|
D | test-hexdump.c | 123 int e, r; in test_hexdump_overflow() local 130 e = 50; in test_hexdump_overflow() 132 e = 2; in test_hexdump_overflow() 133 buf[e + 2] = '\0'; in test_hexdump_overflow() 136 a = r == e && buf[0] == ' '; in test_hexdump_overflow() 138 a = r == e && buf[0] == '\0'; in test_hexdump_overflow() 140 a = r == e && !strcmp(buf, t); in test_hexdump_overflow() 143 a = r == e && buf[l - 1] == '\0' && buf[l - 2] == ' '; in test_hexdump_overflow() 145 a = r == e && buf[50] == '\0' && buf[49] == '.'; in test_hexdump_overflow() 147 a = r == e && buf[e] == '\0'; in test_hexdump_overflow()
|
/linux-4.4.14/fs/ |
D | binfmt_misc.c | 91 Node *e = list_entry(l, Node, list); in check_file() local 96 if (!test_bit(Enabled, &e->flags)) in check_file() 100 if (!test_bit(Magic, &e->flags)) { in check_file() 101 if (p && !strcmp(e->magic, p + 1)) in check_file() 102 return e; in check_file() 107 s = bprm->buf + e->offset; in check_file() 108 if (e->mask) { in check_file() 109 for (j = 0; j < e->size; j++) in check_file() 110 if ((*s++ ^ e->magic[j]) & e->mask[j]) in check_file() 113 for (j = 0; j < e->size; j++) in check_file() [all …]
|
/linux-4.4.14/block/ |
D | elevator.c | 59 struct elevator_queue *e = q->elevator; in elv_iosched_allow_merge() local 61 if (e->type->ops.elevator_allow_merge_fn) in elv_iosched_allow_merge() 62 return e->type->ops.elevator_allow_merge_fn(q, rq, bio); in elv_iosched_allow_merge() 84 struct elevator_type *e; in elevator_find() local 86 list_for_each_entry(e, &elv_list, list) { in elevator_find() 87 if (!strcmp(e->elevator_name, name)) in elevator_find() 88 return e; in elevator_find() 94 static void elevator_put(struct elevator_type *e) in elevator_put() argument 96 module_put(e->elevator_owner); in elevator_put() 101 struct elevator_type *e; in elevator_get() local [all …]
|
/linux-4.4.14/drivers/mtd/ubi/ |
D | wl.c | 140 struct ubi_wl_entry *e, struct rb_root *root); 142 struct ubi_wl_entry *e); 152 static void wl_tree_add(struct ubi_wl_entry *e, struct rb_root *root) in wl_tree_add() argument 163 if (e->ec < e1->ec) in wl_tree_add() 165 else if (e->ec > e1->ec) in wl_tree_add() 168 ubi_assert(e->pnum != e1->pnum); in wl_tree_add() 169 if (e->pnum < e1->pnum) in wl_tree_add() 176 rb_link_node(&e->u.rb, parent, p); in wl_tree_add() 177 rb_insert_color(&e->u.rb, root); in wl_tree_add() 188 static void wl_entry_destroy(struct ubi_device *ubi, struct ubi_wl_entry *e) in wl_entry_destroy() argument [all …]
|
D | fastmap-wl.c | 38 struct ubi_wl_entry *e, *victim = NULL; in find_anchor_wl_entry() local 41 ubi_rb_for_each_entry(p, e, root, u.rb) { in find_anchor_wl_entry() 42 if (e->pnum < UBI_FM_MAX_START && e->ec < max_ec) { in find_anchor_wl_entry() 43 victim = e; in find_anchor_wl_entry() 44 max_ec = e->ec; in find_anchor_wl_entry() 60 struct ubi_wl_entry *e; in return_unused_pool_pebs() local 63 e = ubi->lookuptbl[pool->pebs[i]]; in return_unused_pool_pebs() 64 wl_tree_add(e, &ubi->free); in return_unused_pool_pebs() 72 struct ubi_wl_entry *e; in anchor_pebs_avalible() local 74 ubi_rb_for_each_entry(p, e, root, u.rb) in anchor_pebs_avalible() [all …]
|
D | fastmap.c | 1037 struct ubi_wl_entry *e; in ubi_scan_fastmap() local 1039 e = kmem_cache_alloc(ubi_wl_entry_slab, GFP_KERNEL); in ubi_scan_fastmap() 1040 if (!e) { in ubi_scan_fastmap() 1042 kfree(fm->e[i]); in ubi_scan_fastmap() 1048 e->pnum = be32_to_cpu(fmsb2->block_loc[i]); in ubi_scan_fastmap() 1049 e->ec = be32_to_cpu(fmsb2->block_ec[i]); in ubi_scan_fastmap() 1050 fm->e[i] = e; in ubi_scan_fastmap() 1228 wl_e = ubi_wrk->e; in ubi_write_fastmap() 1285 dbg_bld("writing fastmap SB to PEB %i", new_fm->e[0]->pnum); in ubi_write_fastmap() 1286 ret = ubi_io_write_vid_hdr(ubi, new_fm->e[0]->pnum, avhdr); in ubi_write_fastmap() [all …]
|
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_list_set.c | 56 struct set_elem *e; in list_set_ktest() local 64 list_for_each_entry_rcu(e, &map->members, list) { in list_set_ktest() 66 ip_set_timeout_expired(ext_timeout(e, set))) in list_set_ktest() 68 ret = ip_set_test(e->id, skb, par, opt); in list_set_ktest() 71 ip_set_update_counter(ext_counter(e, set), in list_set_ktest() 75 ip_set_get_skbinfo(ext_skbinfo(e, set), in list_set_ktest() 90 struct set_elem *e; in list_set_kadd() local 93 list_for_each_entry(e, &map->members, list) { in list_set_kadd() 95 ip_set_timeout_expired(ext_timeout(e, set))) in list_set_kadd() 97 ret = ip_set_add(e->id, skb, par, opt); in list_set_kadd() [all …]
|
D | ip_set_hash_netportnet.c | 146 hash_netportnet4_init(struct hash_netportnet4_elem *e) in hash_netportnet4_init() argument 148 e->cidr[0] = HOST_MASK; in hash_netportnet4_init() 149 e->cidr[1] = HOST_MASK; in hash_netportnet4_init() 159 struct hash_netportnet4_elem e = { }; in hash_netportnet4_kadt() local 162 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet4_kadt() 163 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet4_kadt() 165 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netportnet4_kadt() 168 &e.port, &e.proto)) in hash_netportnet4_kadt() 171 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0]); in hash_netportnet4_kadt() 172 ip4addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip[1]); in hash_netportnet4_kadt() [all …]
|
D | ip_set_hash_netnet.c | 135 hash_netnet4_init(struct hash_netnet4_elem *e) in hash_netnet4_init() argument 137 e->cidr[0] = HOST_MASK; in hash_netnet4_init() 138 e->cidr[1] = HOST_MASK; in hash_netnet4_init() 148 struct hash_netnet4_elem e = { }; in hash_netnet4_kadt() local 151 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet4_kadt() 152 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet4_kadt() 154 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netnet4_kadt() 156 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip[0]); in hash_netnet4_kadt() 157 ip4addrptr(skb, opt->flags & IPSET_DIM_TWO_SRC, &e.ip[1]); in hash_netnet4_kadt() 158 e.ip[0] &= ip_set_netmask(e.cidr[0]); in hash_netnet4_kadt() [all …]
|
D | ip_set_hash_ipportip.c | 98 struct hash_ipportip4_elem e = { .ip = 0 }; in hash_ipportip4_kadt() local 102 &e.port, &e.proto)) in hash_ipportip4_kadt() 105 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_ipportip4_kadt() 106 ip4addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip2); in hash_ipportip4_kadt() 107 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ipportip4_kadt() 116 struct hash_ipportip4_elem e = { .ip = 0 }; in hash_ipportip4_uadt() local 130 ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP], &e.ip); in hash_ipportip4_uadt() 138 ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP2], &e.ip2); in hash_ipportip4_uadt() 142 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportip4_uadt() 145 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_ipportip4_uadt() [all …]
|
D | ip_set_hash_netport.c | 138 struct hash_netport4_elem e = { in hash_netport4_kadt() local 144 e.cidr = HOST_MASK - 1; in hash_netport4_kadt() 147 &e.port, &e.proto)) in hash_netport4_kadt() 150 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_netport4_kadt() 151 e.ip &= ip_set_netmask(e.cidr + 1); in hash_netport4_kadt() 153 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_netport4_kadt() 162 struct hash_netport4_elem e = { .cidr = HOST_MASK - 1 }; in hash_netport4_uadt() local 190 e.cidr = cidr - 1; in hash_netport4_uadt() 193 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_netport4_uadt() 196 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_netport4_uadt() [all …]
|
D | ip_set_hash_ipportnet.c | 143 struct hash_ipportnet4_elem e = { in hash_ipportnet4_kadt() local 149 e.cidr = HOST_MASK - 1; in hash_ipportnet4_kadt() 152 &e.port, &e.proto)) in hash_ipportnet4_kadt() 155 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_ipportnet4_kadt() 156 ip4addrptr(skb, opt->flags & IPSET_DIM_THREE_SRC, &e.ip2); in hash_ipportnet4_kadt() 157 e.ip2 &= ip_set_netmask(e.cidr + 1); in hash_ipportnet4_kadt() 159 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ipportnet4_kadt() 168 struct hash_ipportnet4_elem e = { .cidr = HOST_MASK - 1 }; in hash_ipportnet4_uadt() local 201 e.cidr = cidr - 1; in hash_ipportnet4_uadt() 204 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipportnet4_uadt() [all …]
|
D | ip_set_hash_ipport.c | 96 struct hash_ipport4_elem e = { .ip = 0 }; in hash_ipport4_kadt() local 100 &e.port, &e.proto)) in hash_ipport4_kadt() 103 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_ipport4_kadt() 104 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ipport4_kadt() 113 struct hash_ipport4_elem e = { .ip = 0 }; in hash_ipport4_uadt() local 127 ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP], &e.ip); in hash_ipport4_uadt() 135 e.port = nla_get_be16(tb[IPSET_ATTR_PORT]); in hash_ipport4_uadt() 138 e.proto = nla_get_u8(tb[IPSET_ATTR_PROTO]); in hash_ipport4_uadt() 139 with_ports = ip_set_proto_with_ports(e.proto); in hash_ipport4_uadt() 141 if (e.proto == 0) in hash_ipport4_uadt() [all …]
|
D | ip_set_hash_netiface.c | 161 struct hash_netiface4_elem e = { in hash_netiface4_kadt() local 167 if (e.cidr == 0) in hash_netiface4_kadt() 170 e.cidr = HOST_MASK; in hash_netiface4_kadt() 172 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_netiface4_kadt() 173 e.ip &= ip_set_netmask(e.cidr); in hash_netiface4_kadt() 185 STRLCPY(e.iface, eiface); in hash_netiface4_kadt() 186 e.physdev = 1; in hash_netiface4_kadt() 189 STRLCPY(e.iface, SRCDIR ? IFACE(in) : IFACE(out)); in hash_netiface4_kadt() 192 if (strlen(e.iface) == 0) in hash_netiface4_kadt() 194 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_netiface4_kadt() [all …]
|
D | ip_set_hash_net.c | 122 struct hash_net4_elem e = { in hash_net4_kadt() local 127 if (e.cidr == 0) in hash_net4_kadt() 130 e.cidr = HOST_MASK; in hash_net4_kadt() 132 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_net4_kadt() 133 e.ip &= ip_set_netmask(e.cidr); in hash_net4_kadt() 135 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_net4_kadt() 144 struct hash_net4_elem e = { .cidr = HOST_MASK }; in hash_net4_uadt() local 165 e.cidr = nla_get_u8(tb[IPSET_ATTR_CIDR]); in hash_net4_uadt() 166 if (!e.cidr || e.cidr > HOST_MASK) in hash_net4_uadt() 178 e.ip = htonl(ip & ip_set_hostmask(e.cidr)); in hash_net4_uadt() [all …]
|
D | ip_set_hash_ip.c | 60 hash_ip4_data_list(struct sk_buff *skb, const struct hash_ip4_elem *e) in hash_ip4_data_list() argument 62 if (nla_put_ipaddr4(skb, IPSET_ATTR_IP, e->ip)) in hash_ip4_data_list() 71 hash_ip4_data_next(struct hash_ip4_elem *next, const struct hash_ip4_elem *e) in hash_ip4_data_next() argument 73 next->ip = e->ip; in hash_ip4_data_next() 87 struct hash_ip4_elem e = { 0 }; in hash_ip4_kadt() local 96 e.ip = ip; in hash_ip4_kadt() 97 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ip4_kadt() 106 struct hash_ip4_elem e = { 0 }; in hash_ip4_uadt() local 128 e.ip = htonl(ip); in hash_ip4_uadt() 129 if (e.ip == 0) in hash_ip4_uadt() [all …]
|
D | ip_set_hash_ipmark.c | 90 struct hash_ipmark4_elem e = { }; in hash_ipmark4_kadt() local 93 e.mark = skb->mark; in hash_ipmark4_kadt() 94 e.mark &= h->markmask; in hash_ipmark4_kadt() 96 ip4addrptr(skb, opt->flags & IPSET_DIM_ONE_SRC, &e.ip); in hash_ipmark4_kadt() 97 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_ipmark4_kadt() 106 struct hash_ipmark4_elem e = { }; in hash_ipmark4_uadt() local 118 ret = ip_set_get_ipaddr4(tb[IPSET_ATTR_IP], &e.ip); in hash_ipmark4_uadt() 126 e.mark = ntohl(nla_get_be32(tb[IPSET_ATTR_MARK])); in hash_ipmark4_uadt() 127 e.mark &= h->markmask; in hash_ipmark4_uadt() 131 ret = adtfn(set, &e, &ext, &ext, flags); in hash_ipmark4_uadt() [all …]
|
D | ip_set_bitmap_ipmac.c | 86 bitmap_ipmac_do_test(const struct bitmap_ipmac_adt_elem *e, in bitmap_ipmac_do_test() argument 91 if (!test_bit(e->id, map->members)) in bitmap_ipmac_do_test() 93 elem = get_const_elem(map->extensions, e->id, dsize); in bitmap_ipmac_do_test() 94 if (e->add_mac && elem->filled == MAC_FILLED) in bitmap_ipmac_do_test() 95 return ether_addr_equal(e->ether, elem->ether); in bitmap_ipmac_do_test() 120 const struct bitmap_ipmac_adt_elem *e, in bitmap_ipmac_add_timeout() argument 137 if (e->add_mac) in bitmap_ipmac_add_timeout() 146 bitmap_ipmac_do_add(const struct bitmap_ipmac_adt_elem *e, in bitmap_ipmac_do_add() argument 151 elem = get_elem(map->extensions, e->id, dsize); in bitmap_ipmac_do_add() 152 if (test_bit(e->id, map->members)) { in bitmap_ipmac_do_add() [all …]
|
D | ip_set_hash_mac.c | 53 hash_mac4_data_list(struct sk_buff *skb, const struct hash_mac4_elem *e) in hash_mac4_data_list() argument 55 if (nla_put(skb, IPSET_ATTR_ETHER, ETH_ALEN, e->ether)) in hash_mac4_data_list() 65 const struct hash_mac4_elem *e) in hash_mac4_data_next() argument 84 struct hash_mac4_elem e = { { .foo[0] = 0, .foo[1] = 0 } }; in hash_mac4_kadt() local 95 ether_addr_copy(e.ether, eth_hdr(skb)->h_source); in hash_mac4_kadt() 96 if (memcmp(e.ether, invalid_ether, ETH_ALEN) == 0) in hash_mac4_kadt() 98 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in hash_mac4_kadt() 106 struct hash_mac4_elem e = { { .foo[0] = 0, .foo[1] = 0 } }; in hash_mac4_uadt() local 119 ether_addr_copy(e.ether, nla_data(tb[IPSET_ATTR_ETHER])); in hash_mac4_uadt() 120 if (memcmp(e.ether, invalid_ether, ETH_ALEN) == 0) in hash_mac4_uadt() [all …]
|
D | ip_set_bitmap_port.c | 61 bitmap_port_do_test(const struct bitmap_port_adt_elem *e, in bitmap_port_do_test() argument 64 return !!test_bit(e->id, map->members); in bitmap_port_do_test() 74 bitmap_port_do_add(const struct bitmap_port_adt_elem *e, in bitmap_port_do_add() argument 77 return !!test_bit(e->id, map->members); in bitmap_port_do_add() 81 bitmap_port_do_del(const struct bitmap_port_adt_elem *e, in bitmap_port_do_del() argument 84 return !test_and_clear_bit(e->id, map->members); in bitmap_port_do_del() 109 struct bitmap_port_adt_elem e = { .id = 0 }; in bitmap_port_kadt() local 123 e.id = port_to_id(map, port); in bitmap_port_kadt() 125 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in bitmap_port_kadt() 134 struct bitmap_port_adt_elem e = { .id = 0 }; in bitmap_port_uadt() local [all …]
|
D | ip_set_bitmap_ip.c | 69 bitmap_ip_do_test(const struct bitmap_ip_adt_elem *e, in bitmap_ip_do_test() argument 72 return !!test_bit(e->id, map->members); in bitmap_ip_do_test() 82 bitmap_ip_do_add(const struct bitmap_ip_adt_elem *e, struct bitmap_ip *map, in bitmap_ip_do_add() argument 85 return !!test_bit(e->id, map->members); in bitmap_ip_do_add() 89 bitmap_ip_do_del(const struct bitmap_ip_adt_elem *e, struct bitmap_ip *map) in bitmap_ip_do_del() argument 91 return !test_and_clear_bit(e->id, map->members); in bitmap_ip_do_del() 118 struct bitmap_ip_adt_elem e = { .id = 0 }; in bitmap_ip_kadt() local 126 e.id = ip_to_id(map, ip); in bitmap_ip_kadt() 128 return adtfn(set, &e, &ext, &opt->ext, opt->cmdflags); in bitmap_ip_kadt() 138 struct bitmap_ip_adt_elem e = { .id = 0 }; in bitmap_ip_uadt() local [all …]
|
D | ip_set_bitmap_gen.h | 115 const struct mtype_adt_elem *e = value; in mtype_test() local 116 void *x = get_ext(set, map, e->id); in mtype_test() 117 int ret = mtype_do_test(e, map, set->dsize); in mtype_test() 136 const struct mtype_adt_elem *e = value; in mtype_add() local 137 void *x = get_ext(set, map, e->id); in mtype_add() 138 int ret = mtype_do_add(e, map, flags, set->dsize); in mtype_add() 145 set_bit(e->id, map->members); in mtype_add() 154 mtype_add_timeout(ext_timeout(x, set), e, ext, set, map, ret); in mtype_add() 167 set_bit(e->id, map->members); in mtype_add() 177 const struct mtype_adt_elem *e = value; in mtype_del() local [all …]
|
/linux-4.4.14/net/core/ |
D | gen_estimator.c | 116 struct gen_estimator *e; in est_timer() local 119 list_for_each_entry_rcu(e, &elist[idx].list, list) { in est_timer() 124 spin_lock(e->stats_lock); in est_timer() 126 if (e->bstats == NULL) in est_timer() 129 __gnet_stats_copy_basic(&b, e->cpu_bstats, e->bstats); in est_timer() 131 brate = (b.bytes - e->last_bytes)<<(7 - idx); in est_timer() 132 e->last_bytes = b.bytes; in est_timer() 133 e->avbps += (brate >> e->ewma_log) - (e->avbps >> e->ewma_log); in est_timer() 134 e->rate_est->bps = (e->avbps+0xF)>>5; in est_timer() 136 rate = b.packets - e->last_packets; in est_timer() [all …]
|
/linux-4.4.14/scripts/coccinelle/misc/ |
D | compare_const_fl.cocci | 18 expression e,e1,e2; 28 sizeof e b e1 34 c | (e ? e1 : e2) 37 + e 39 - e 46 expression e,e1,e2; 59 sizeof e b e1 61 (e1 b1 e) && (e b2 e2) 63 (e1 b3 e) && (e b4 e2) 65 i b e [all …]
|
D | bugon.cocci | 23 expression e; 26 *if (e) BUG(); 33 expression e; 36 -if (e) BUG(); 37 +BUG_ON(e); 44 expression e; 48 if (e) BUG@p ();
|
D | cstptr.cocci | 16 expression e,e1; 21 *e@p1 = c 22 ... when != e = e1 23 when != &e 24 when != true IS_ERR(e) 25 *PTR_ERR@p2(e)
|
D | orplus.cocci | 19 expression e; 23 e | c@i 25 e & c@i 27 e |= c@i 29 e &= c@i
|
/linux-4.4.14/drivers/net/fddi/skfp/ |
D | ecm.c | 108 smc->e.path_test = PT_PASSED ; in ecm_init() 109 smc->e.trace_prop = 0 ; in ecm_init() 110 smc->e.sb_flag = 0 ; in ecm_init() 112 smc->e.ecm_line_state = FALSE ; in ecm_init() 164 smc->e.DisconnectFlag = FALSE ; in ecm_fsm() 167 smc->e.DisconnectFlag = TRUE ; in ecm_fsm() 175 smc->e.path_test = PT_PASSED ; in ecm_fsm() 176 smc->e.ecm_line_state = FALSE ; in ecm_fsm() 183 && smc->e.path_test==PT_PASSED) { in ecm_fsm() 188 else if (cmd == EC_CONNECT && (smc->e.path_test==PT_PASSED) && in ecm_fsm() [all …]
|
/linux-4.4.14/fs/dlm/ |
D | requestqueue.c | 36 struct rq_entry *e; in dlm_add_requestqueue() local 39 e = kmalloc(sizeof(struct rq_entry) + length, GFP_NOFS); in dlm_add_requestqueue() 40 if (!e) { in dlm_add_requestqueue() 45 e->recover_seq = ls->ls_recover_seq & 0xFFFFFFFF; in dlm_add_requestqueue() 46 e->nodeid = nodeid; in dlm_add_requestqueue() 47 memcpy(&e->request, ms, ms->m_header.h_length); in dlm_add_requestqueue() 50 list_add_tail(&e->list, &ls->ls_requestqueue); in dlm_add_requestqueue() 67 struct rq_entry *e; in dlm_process_requestqueue() local 79 e = list_entry(ls->ls_requestqueue.next, struct rq_entry, list); in dlm_process_requestqueue() 82 ms = &e->request; in dlm_process_requestqueue() [all …]
|
D | lowcomms.c | 917 static void free_entry(struct writequeue_entry *e) in free_entry() argument 919 __free_page(e->page); in free_entry() 920 kfree(e); in free_entry() 930 static void writequeue_entry_complete(struct writequeue_entry *e, int completed) in writequeue_entry_complete() argument 932 e->offset += completed; in writequeue_entry_complete() 933 e->len -= completed; in writequeue_entry_complete() 935 if (e->len == 0 && e->users == 0) { in writequeue_entry_complete() 936 list_del(&e->list); in writequeue_entry_complete() 937 free_entry(e); in writequeue_entry_complete() 1359 struct writequeue_entry *e; in dlm_lowcomms_get_buffer() local [all …]
|
/linux-4.4.14/drivers/ssb/ |
D | driver_chipcommon_sflash.c | 90 const struct ssb_sflash_tbl_e *e; in ssb_sflash_init() local 107 for (e = ssb_sflash_sst_tbl; e->name; e++) { in ssb_sflash_init() 108 if (e->id == id2) in ssb_sflash_init() 115 for (e = ssb_sflash_st_tbl; e->name; e++) { in ssb_sflash_init() 116 if (e->id == id) in ssb_sflash_init() 121 if (!e->name) { in ssb_sflash_init() 132 for (e = ssb_sflash_at_tbl; e->name; e++) { in ssb_sflash_init() 133 if (e->id == id) in ssb_sflash_init() 136 if (!e->name) { in ssb_sflash_init() 149 sflash->blocksize = e->blocksize; in ssb_sflash_init() [all …]
|
D | driver_chipcommon_pmu.c | 77 const struct pmu0_plltab_entry *e; in pmu0_plltab_find_entry() local 81 e = &pmu0_plltab[i]; in pmu0_plltab_find_entry() 82 if (e->freq == crystalfreq) in pmu0_plltab_find_entry() 83 return e; in pmu0_plltab_find_entry() 94 const struct pmu0_plltab_entry *e = NULL; in ssb_pmu0_pllinit_r0() local 99 e = pmu0_plltab_find_entry(crystalfreq); in ssb_pmu0_pllinit_r0() 100 if (!e) in ssb_pmu0_pllinit_r0() 101 e = pmu0_plltab_find_entry(SSB_PMU0_DEFAULT_XTALFREQ); in ssb_pmu0_pllinit_r0() 102 BUG_ON(!e); in ssb_pmu0_pllinit_r0() 103 crystalfreq = e->freq; in ssb_pmu0_pllinit_r0() [all …]
|
/linux-4.4.14/net/netfilter/ |
D | xt_recent.c | 132 struct recent_entry *e; in recent_entry_lookup() local 140 list_for_each_entry(e, &table->iphash[h], list) in recent_entry_lookup() 141 if (e->family == family && in recent_entry_lookup() 142 memcmp(&e->addr, addrp, sizeof(e->addr)) == 0 && in recent_entry_lookup() 143 (ttl == e->ttl || ttl == 0 || e->ttl == 0)) in recent_entry_lookup() 144 return e; in recent_entry_lookup() 148 static void recent_entry_remove(struct recent_table *t, struct recent_entry *e) in recent_entry_remove() argument 150 list_del(&e->list); in recent_entry_remove() 151 list_del(&e->lru_list); in recent_entry_remove() 152 kfree(e); in recent_entry_remove() [all …]
|
D | xt_policy.c | 38 match_xfrm_state(const struct xfrm_state *x, const struct xt_policy_elem *e, in match_xfrm_state() argument 41 #define MATCH_ADDR(x,y,z) (!e->match.x || \ in match_xfrm_state() 42 (xt_addr_cmp(&e->x, &e->y, (const union nf_inet_addr *)(z), family) \ in match_xfrm_state() 43 ^ e->invert.x)) in match_xfrm_state() 44 #define MATCH(x,y) (!e->match.x || ((e->x == (y)) ^ e->invert.x)) in match_xfrm_state() 58 const struct xt_policy_elem *e; in match_policy_in() local 72 e = &info->pol[pos]; in match_policy_in() 74 if (match_xfrm_state(sp->xvec[i], e, family)) { in match_policy_in() 88 const struct xt_policy_elem *e; in match_policy_out() local 100 e = &info->pol[pos]; in match_policy_out() [all …]
|
D | xt_multiport.c | 35 u_int16_t s, e; in ports_match_v1() local 42 e = minfo->ports[++i]; in ports_match_v1() 43 pr_debug("src or dst matches with %d-%d?\n", s, e); in ports_match_v1() 46 && src >= s && src <= e) in ports_match_v1() 49 && dst >= s && dst <= e) in ports_match_v1() 52 && ((dst >= s && dst <= e) in ports_match_v1() 53 || (src >= s && src <= e))) in ports_match_v1()
|
D | nf_conntrack_ecache.c | 123 struct nf_conntrack_ecache *e; in nf_ct_deliver_cached_events() local 132 e = nf_ct_ecache_find(ct); in nf_ct_deliver_cached_events() 133 if (e == NULL) in nf_ct_deliver_cached_events() 136 events = xchg(&e->cache, 0); in nf_ct_deliver_cached_events() 144 missed = e->missed; in nf_ct_deliver_cached_events() 146 if (!((events | missed) & e->ctmask)) in nf_ct_deliver_cached_events() 160 e->missed |= events; in nf_ct_deliver_cached_events() 162 e->missed &= ~missed; in nf_ct_deliver_cached_events()
|
/linux-4.4.14/crypto/ |
D | sha256_generic.c | 57 u32 a, b, c, d, e, f, g, h, t1, t2; in sha256_transform() local 71 e=state[4]; f=state[5]; g=state[6]; h=state[7]; in sha256_transform() 74 t1 = h + e1(e) + Ch(e,f,g) + 0x428a2f98 + W[ 0]; in sha256_transform() 76 t1 = g + e1(d) + Ch(d,e,f) + 0x71374491 + W[ 1]; in sha256_transform() 78 t1 = f + e1(c) + Ch(c,d,e) + 0xb5c0fbcf + W[ 2]; in sha256_transform() 80 t1 = e + e1(b) + Ch(b,c,d) + 0xe9b5dba5 + W[ 3]; in sha256_transform() 81 t2 = e0(f) + Maj(f,g,h); a+=t1; e=t1+t2; in sha256_transform() 83 t2 = e0(e) + Maj(e,f,g); h+=t1; d=t1+t2; in sha256_transform() 85 t2 = e0(d) + Maj(d,e,f); g+=t1; c=t1+t2; in sha256_transform() 87 t2 = e0(c) + Maj(c,d,e); f+=t1; b=t1+t2; in sha256_transform() [all …]
|
D | sha512_generic.c | 84 u64 a, b, c, d, e, f, g, h, t1, t2; in sha512_transform() local 91 e=state[4]; f=state[5]; g=state[6]; h=state[7]; in sha512_transform() 109 t1 = h + e1(e) + Ch(e,f,g) + sha512_K[i ] + W[(i & 15)]; in sha512_transform() 111 t1 = g + e1(d) + Ch(d,e,f) + sha512_K[i+1] + W[(i & 15) + 1]; in sha512_transform() 113 t1 = f + e1(c) + Ch(c,d,e) + sha512_K[i+2] + W[(i & 15) + 2]; in sha512_transform() 115 t1 = e + e1(b) + Ch(b,c,d) + sha512_K[i+3] + W[(i & 15) + 3]; in sha512_transform() 116 t2 = e0(f) + Maj(f,g,h); a+=t1; e=t1+t2; in sha512_transform() 118 t2 = e0(e) + Maj(e,f,g); h+=t1; d=t1+t2; in sha512_transform() 120 t2 = e0(d) + Maj(d,e,f); g+=t1; c=t1+t2; in sha512_transform() 122 t2 = e0(c) + Maj(c,d,e); f+=t1; b=t1+t2; in sha512_transform() [all …]
|
/linux-4.4.14/arch/x86/purgatory/ |
D | sha256.c | 50 u32 a, b, c, d, e, f, g, h, t1, t2; in sha256_transform() local 64 e = state[4]; f = state[5]; g = state[6]; h = state[7]; in sha256_transform() 67 t1 = h + e1(e) + Ch(e, f, g) + 0x428a2f98 + W[0]; in sha256_transform() 69 t1 = g + e1(d) + Ch(d, e, f) + 0x71374491 + W[1]; in sha256_transform() 71 t1 = f + e1(c) + Ch(c, d, e) + 0xb5c0fbcf + W[2]; in sha256_transform() 73 t1 = e + e1(b) + Ch(b, c, d) + 0xe9b5dba5 + W[3]; in sha256_transform() 74 t2 = e0(f) + Maj(f, g, h); a += t1; e = t1 + t2; in sha256_transform() 76 t2 = e0(e) + Maj(e, f, g); h += t1; d = t1 + t2; in sha256_transform() 78 t2 = e0(d) + Maj(d, e, f); g += t1; c = t1 + t2; in sha256_transform() 80 t2 = e0(c) + Maj(c, d, e); f += t1; b = t1 + t2; in sha256_transform() [all …]
|
/linux-4.4.14/sound/pci/hda/ |
D | hda_eld.c | 250 int snd_hdmi_parse_eld(struct hda_codec *codec, struct parsed_hdmi_eld *e, in snd_hdmi_parse_eld() argument 256 e->eld_ver = GRAB_BITS(buf, 0, 3, 5); in snd_hdmi_parse_eld() 257 if (e->eld_ver != ELD_VER_CEA_861D && in snd_hdmi_parse_eld() 258 e->eld_ver != ELD_VER_PARTIAL) { in snd_hdmi_parse_eld() 259 codec_info(codec, "HDMI: Unknown ELD version %d\n", e->eld_ver); in snd_hdmi_parse_eld() 263 e->baseline_len = GRAB_BITS(buf, 2, 0, 8); in snd_hdmi_parse_eld() 265 e->cea_edid_ver = GRAB_BITS(buf, 4, 5, 3); in snd_hdmi_parse_eld() 267 e->support_hdcp = GRAB_BITS(buf, 5, 0, 1); in snd_hdmi_parse_eld() 268 e->support_ai = GRAB_BITS(buf, 5, 1, 1); in snd_hdmi_parse_eld() 269 e->conn_type = GRAB_BITS(buf, 5, 2, 2); in snd_hdmi_parse_eld() [all …]
|
/linux-4.4.14/net/netfilter/ipvs/ |
D | ip_vs_est.c | 102 struct ip_vs_estimator *e; in estimation_timer() local 108 list_for_each_entry(e, &ipvs->est_list, list) { in estimation_timer() 109 s = container_of(e, struct ip_vs_stats, est); in estimation_timer() 115 rate = (s->kstats.conns - e->last_conns) << 9; in estimation_timer() 116 e->last_conns = s->kstats.conns; in estimation_timer() 117 e->cps += ((s64)rate - (s64)e->cps) >> 2; in estimation_timer() 119 rate = (s->kstats.inpkts - e->last_inpkts) << 9; in estimation_timer() 120 e->last_inpkts = s->kstats.inpkts; in estimation_timer() 121 e->inpps += ((s64)rate - (s64)e->inpps) >> 2; in estimation_timer() 123 rate = (s->kstats.outpkts - e->last_outpkts) << 9; in estimation_timer() [all …]
|
D | ip_vs_lblcr.c | 106 struct ip_vs_dest_set_elem *e; in ip_vs_dest_set_insert() local 109 list_for_each_entry(e, &set->list, list) { in ip_vs_dest_set_insert() 110 if (e->dest == dest) in ip_vs_dest_set_insert() 115 e = kmalloc(sizeof(*e), GFP_ATOMIC); in ip_vs_dest_set_insert() 116 if (e == NULL) in ip_vs_dest_set_insert() 120 e->dest = dest; in ip_vs_dest_set_insert() 122 list_add_rcu(&e->list, &set->list); in ip_vs_dest_set_insert() 130 struct ip_vs_dest_set_elem *e; in ip_vs_lblcr_elem_rcu_free() local 132 e = container_of(head, struct ip_vs_dest_set_elem, rcu_head); in ip_vs_lblcr_elem_rcu_free() 133 ip_vs_dest_put_and_free(e->dest); in ip_vs_lblcr_elem_rcu_free() [all …]
|
/linux-4.4.14/arch/x86/crypto/ |
D | sha256-ssse3-asm.S | 97 e = %edx define 139 f = e 140 e = d define 151 mov e, y0 # y0 = e 152 ror $(25-11), y0 # y0 = e >> (25-11) 156 xor e, y0 # y0 = e ^ (e >> (25-11)) 158 ror $(11-6), y0 # y0 = (e >> (11-6)) ^ (e >> (25-6)) 163 xor e, y0 # y0 = e ^ (e >> (11-6)) ^ (e >> (25-6)) 164 and e, y2 # y2 = (f^g)&e 169 ror $6, y0 # y0 = S1 = (e>>6) & (e>>11) ^ (e>>25) [all …]
|
D | sha256-avx-asm.S | 105 e = %edx define 146 f = e 147 e = d define 158 mov e, y0 # y0 = e 159 MY_ROR (25-11), y0 # y0 = e >> (25-11) 163 xor e, y0 # y0 = e ^ (e >> (25-11)) 165 MY_ROR (11-6), y0 # y0 = (e >> (11-6)) ^ (e >> (25-6)) 169 xor e, y0 # y0 = e ^ (e >> (11-6)) ^ (e >> (25-6)) 170 and e, y2 # y2 = (f^g)&e 175 MY_ROR 6, y0 # y0 = S1 = (e>>6) & (e>>11) ^ (e>>25) [all …]
|
D | sha256-avx2-asm.S | 98 e = %edx # clobbers NUM_BLKS define 150 f = e 151 e = d define 162 rorx $25, e, y0 # y0 = e >> 25 # S1A 163 rorx $11, e, y1 # y1 = e >> 11 # S1B 171 xor y1, y0 # y0 = (e>>25) ^ (e>>11) # S1 173 vpaddd X0, XTMP0, XTMP0 # XTMP0 = W[-7] + W[-16]# y1 = (e >> 6)# S1 174 rorx $6, e, y1 # y1 = (e >> 6) # S1 176 and e, y2 # y2 = (f^g)&e # CH 177 xor y1, y0 # y0 = (e>>25) ^ (e>>11) ^ (e>>6) # S1 [all …]
|
D | sha512-avx2-asm.S | 81 e = %rdx define 151 f = e 152 e = d define 186 rorx $41, e, y0 # y0 = e >> 41 # S1A 187 rorx $18, e, y1 # y1 = e >> 18 # S1B 193 xor y1, y0 # y0 = (e>>41) ^ (e>>18) # S1 195 rorx $14, e, y1 # y1 = (e >> 14) # S1 197 and e, y2 # y2 = (f^g)&e # CH 198 xor y1, y0 # y0 = (e>>41) ^ (e>>18) ^ (e>>14) # S1 206 xor g, y2 # y2 = CH = ((f^g)&e)^g # CH [all …]
|
/linux-4.4.14/drivers/bcma/ |
D | driver_chipcommon_sflash.c | 92 const struct bcma_sflash_tbl_e *e; in bcma_sflash_init() local 109 for (e = bcma_sflash_sst_tbl; e->name; e++) { in bcma_sflash_init() 110 if (e->id == id2) in bcma_sflash_init() 117 for (e = bcma_sflash_st_tbl; e->name; e++) { in bcma_sflash_init() 118 if (e->id == id) in bcma_sflash_init() 123 if (!e->name) { in bcma_sflash_init() 133 for (e = bcma_sflash_at_tbl; e->name; e++) { in bcma_sflash_init() 134 if (e->id == id) in bcma_sflash_init() 137 if (!e->name) { in bcma_sflash_init() 149 sflash->blocksize = e->blocksize; in bcma_sflash_init() [all …]
|
/linux-4.4.14/include/net/netfilter/ |
D | nf_conntrack_ecache.h | 38 struct nf_conntrack_ecache *e; in nf_ct_ecache_ext_add() local 47 e = nf_ct_ext_add(ct, NF_CT_EXT_ECACHE, gfp); in nf_ct_ecache_ext_add() 48 if (e) { in nf_ct_ecache_ext_add() 49 e->ctmask = ctmask; in nf_ct_ecache_ext_add() 50 e->expmask = expmask; in nf_ct_ecache_ext_add() 52 return e; in nf_ct_ecache_ext_add() 81 struct nf_conntrack_ecache *e; in nf_conntrack_event_cache() local 86 e = nf_ct_ecache_find(ct); in nf_conntrack_event_cache() 87 if (e == NULL) in nf_conntrack_event_cache() 90 set_bit(event, &e->cache); in nf_conntrack_event_cache() [all …]
|
/linux-4.4.14/samples/bpf/ |
D | trace_output_user.c | 82 struct perf_event_sample *e; in perf_event_read() local 84 e = begin; in perf_event_read() 85 if (begin + e->header.size > base + buffer_size) { in perf_event_read() 88 assert(len < e->header.size); in perf_event_read() 90 memcpy(buf + len, base, e->header.size - len); in perf_event_read() 91 e = (void *) buf; in perf_event_read() 92 begin = base + e->header.size - len; in perf_event_read() 93 } else if (begin + e->header.size == base + buffer_size) { in perf_event_read() 96 begin += e->header.size; in perf_event_read() 99 if (e->header.type == PERF_RECORD_SAMPLE) { in perf_event_read() [all …]
|
/linux-4.4.14/include/linux/ |
D | intel-iommu.h | 128 #define ecap_pasid(e) ((e >> 40) & 0x1) argument 129 #define ecap_pss(e) ((e >> 35) & 0x1f) argument 130 #define ecap_eafs(e) ((e >> 34) & 0x1) argument 131 #define ecap_nwfs(e) ((e >> 33) & 0x1) argument 132 #define ecap_srs(e) ((e >> 31) & 0x1) argument 133 #define ecap_ers(e) ((e >> 30) & 0x1) argument 134 #define ecap_prs(e) ((e >> 29) & 0x1) argument 135 #define ecap_broken_pasid(e) ((e >> 28) & 0x1) argument 136 #define ecap_dis(e) ((e >> 27) & 0x1) argument 137 #define ecap_nest(e) ((e >> 26) & 0x1) argument [all …]
|
D | bug.h | 17 #define BUILD_BUG_ON_ZERO(e) (0) argument 18 #define BUILD_BUG_ON_NULL(e) ((void*)0) argument 19 #define BUILD_BUG_ON_INVALID(e) (0) argument 33 #define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); })) argument 34 #define BUILD_BUG_ON_NULL(e) ((void *)sizeof(struct { int:-!!(e); })) argument 41 #define BUILD_BUG_ON_INVALID(e) ((void)(sizeof((__force long)(e)))) argument
|
D | average.h | 10 static inline void ewma_##name##_init(struct ewma_##name *e) \ 16 e->internal = 0; \ 19 ewma_##name##_read(struct ewma_##name *e) \ 25 return e->internal >> ilog2(_factor); \ 27 static inline void ewma_##name##_add(struct ewma_##name *e, \ 30 unsigned long internal = ACCESS_ONCE(e->internal); \ 39 ACCESS_ONCE(e->internal) = internal ? \
|
D | suspend.h | 367 extern void __register_nosave_region(unsigned long b, unsigned long e, int km); 368 static inline void __init register_nosave_region(unsigned long b, unsigned long e) in register_nosave_region() argument 370 __register_nosave_region(b, e, 0); in register_nosave_region() 372 static inline void __init register_nosave_region_late(unsigned long b, unsigned long e) in register_nosave_region_late() argument 374 __register_nosave_region(b, e, 1); in register_nosave_region_late() 388 static inline void register_nosave_region(unsigned long b, unsigned long e) {} in register_nosave_region() argument 389 static inline void register_nosave_region_late(unsigned long b, unsigned long e) {} in register_nosave_region_late() argument
|
/linux-4.4.14/virt/kvm/ |
D | irqchip.c | 38 struct kvm_kernel_irq_routing_entry *e; in kvm_irq_map_gsi() local 44 hlist_for_each_entry(e, &irq_rt->map[gsi], link) { in kvm_irq_map_gsi() 45 entries[n] = *e; in kvm_irq_map_gsi() 118 struct kvm_kernel_irq_routing_entry *e; in free_irq_routing_table() local 121 hlist_for_each_entry_safe(e, n, &rt->map[i], link) { in free_irq_routing_table() 122 hlist_del(&e->link); in free_irq_routing_table() 123 kfree(e); in free_irq_routing_table() 139 struct kvm_kernel_irq_routing_entry *e, in setup_routing_entry() argument 155 e->gsi = ue->gsi; in setup_routing_entry() 156 e->type = ue->type; in setup_routing_entry() [all …]
|
/linux-4.4.14/security/selinux/ss/ |
D | ebitmap.h | 44 #define ebitmap_length(e) ((e)->highbit) argument 46 static inline unsigned int ebitmap_start_positive(struct ebitmap *e, in ebitmap_start_positive() argument 51 for (*n = e->node; *n; *n = (*n)->next) { in ebitmap_start_positive() 56 return ebitmap_length(e); in ebitmap_start_positive() 59 static inline void ebitmap_init(struct ebitmap *e) in ebitmap_init() argument 61 memset(e, 0, sizeof(*e)); in ebitmap_init() 64 static inline unsigned int ebitmap_next_positive(struct ebitmap *e, in ebitmap_next_positive() argument 79 return ebitmap_length(e); in ebitmap_next_positive() 119 #define ebitmap_for_each_positive_bit(e, n, bit) \ argument 120 for (bit = ebitmap_start_positive(e, &n); \ [all …]
|
D | ebitmap.c | 239 int ebitmap_get_bit(struct ebitmap *e, unsigned long bit) in ebitmap_get_bit() argument 243 if (e->highbit < bit) in ebitmap_get_bit() 246 n = e->node; in ebitmap_get_bit() 256 int ebitmap_set_bit(struct ebitmap *e, unsigned long bit, int value) in ebitmap_set_bit() argument 261 n = e->node; in ebitmap_set_bit() 282 e->highbit = prev->startbit in ebitmap_set_bit() 285 e->highbit = 0; in ebitmap_set_bit() 290 e->node = n->next; in ebitmap_set_bit() 311 e->highbit = new->startbit + EBITMAP_SIZE; in ebitmap_set_bit() 317 new->next = e->node; in ebitmap_set_bit() [all …]
|
/linux-4.4.14/sound/isa/gus/ |
D | gus_volume.c | 32 unsigned short e, m, tmp; in snd_gf1_lvol_to_gvol_raw() local 37 e = 7; in snd_gf1_lvol_to_gvol_raw() 39 while (e > 0 && tmp < (1 << e)) in snd_gf1_lvol_to_gvol_raw() 40 e--; in snd_gf1_lvol_to_gvol_raw() 44 e++; in snd_gf1_lvol_to_gvol_raw() 47 m = vol - (1 << e); in snd_gf1_lvol_to_gvol_raw() 49 if (e > 8) in snd_gf1_lvol_to_gvol_raw() 50 m >>= e - 8; in snd_gf1_lvol_to_gvol_raw() 51 else if (e < 8) in snd_gf1_lvol_to_gvol_raw() 52 m <<= 8 - e; in snd_gf1_lvol_to_gvol_raw() [all …]
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | ip_tables.c | 171 static inline bool unconditional(const struct ipt_entry *e) in unconditional() argument 175 return e->target_offset == sizeof(struct ipt_entry) && in unconditional() 176 memcmp(&e->ip, &uncond, sizeof(uncond)) == 0; in unconditional() 182 ipt_get_target_c(const struct ipt_entry *e) in ipt_get_target_c() argument 184 return ipt_get_target((struct ipt_entry *)e); in ipt_get_target_c() 220 get_chainname_rulenum(const struct ipt_entry *s, const struct ipt_entry *e, in get_chainname_rulenum() argument 230 } else if (s == e) { in get_chainname_rulenum() 256 const struct ipt_entry *e) in trace_packet() argument 269 if (get_chainname_rulenum(iter, e, hookname, in trace_packet() 298 struct ipt_entry *e, **jumpstack; in ipt_do_table() local [all …]
|
D | arp_tables.c | 232 arpt_get_target_c(const struct arpt_entry *e) in arpt_get_target_c() argument 234 return arpt_get_target((struct arpt_entry *)e); in arpt_get_target_c() 257 struct arpt_entry *e, **jumpstack; in arpt_do_table() local 286 e = get_entry(table_base, private->hook_entry[hook]); in arpt_do_table() 300 if (!arp_packet_match(arp, skb->dev, indev, outdev, &e->arp)) { in arpt_do_table() 301 e = arpt_next_entry(e); in arpt_do_table() 305 counter = xt_get_this_cpu_counter(&e->counters); in arpt_do_table() 308 t = arpt_get_target_c(e); in arpt_do_table() 322 e = get_entry(table_base, in arpt_do_table() 325 e = jumpstack[--stackidx]; in arpt_do_table() [all …]
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | ip6_tables.c | 201 static inline bool unconditional(const struct ip6t_entry *e) in unconditional() argument 205 return e->target_offset == sizeof(struct ip6t_entry) && in unconditional() 206 memcmp(&e->ipv6, &uncond, sizeof(uncond)) == 0; in unconditional() 210 ip6t_get_target_c(const struct ip6t_entry *e) in ip6t_get_target_c() argument 212 return ip6t_get_target((struct ip6t_entry *)e); in ip6t_get_target_c() 249 get_chainname_rulenum(const struct ip6t_entry *s, const struct ip6t_entry *e, in get_chainname_rulenum() argument 259 } else if (s == e) { in get_chainname_rulenum() 285 const struct ip6t_entry *e) in trace_packet() argument 298 if (get_chainname_rulenum(iter, e, hookname, in trace_packet() 326 struct ip6t_entry *e, **jumpstack; in ip6t_do_table() local [all …]
|
/linux-4.4.14/arch/powerpc/crypto/ |
D | aes-tab-4k.S | 49 .long R(8e, 47, 47, c9), R(fb, f0, f0, 0b) 56 .long R(6c, 36, 36, 5a), R(7e, 3f, 3f, 41) 63 .long R(46, 23, 23, 65), R(9d, c3, c3, 5e) 66 .long R(0e, 07, 07, 09), R(24, 12, 12, 36) 68 .long R(cd, eb, eb, 26), R(4e, 27, 27, 69) 70 .long R(12, 09, 09, 1b), R(1d, 83, 83, 9e) 71 .long R(58, 2c, 2c, 74), R(34, 1a, 1a, 2e) 72 .long R(36, 1b, 1b, 2d), R(dc, 6e, 6e, b2) 76 .long R(52, 29, 29, 7b), R(dd, e3, e3, 3e) 77 .long R(5e, 2f, 2f, 71), R(13, 84, 84, 97) [all …]
|
D | sha1-spe-asm.S | 111 #define R_00_15(a, b, c, d, e, w0, w1, k, off) \ argument 118 add e,e,rT0; /* 1: E = E + A' */ \ 120 add e,e,w0; /* 1: E = E + W */ \ 122 add e,e,rT2; /* 1: E = E + F */ \ 124 add e,e,rK; /* 1: E = E + K */ \ 128 rotrwi rT0,e,27; /* 2: A' = A rotl 5 */ \ 135 #define R_16_19(a, b, c, d, e, w0, w1, w4, w6, w7, k) \ argument 142 add e,e,rT1; /* 1: E = E + F */ \ 146 add e,e,rT2; /* 1: E = E + A' */ \ 151 add e,e,rT0; /* 1: E = E + WK */ \ [all …]
|
/linux-4.4.14/drivers/net/wireless/b43legacy/ |
D | debugfs.c | 352 struct b43legacy_dfsentry *e = dev->dfsentry; in b43legacy_remove_dynamic_debug() local 356 debugfs_remove(e->dyn_debug_dentries[i]); in b43legacy_remove_dynamic_debug() 361 struct b43legacy_dfsentry *e = dev->dfsentry; in b43legacy_add_dynamic_debug() local 365 e->dyn_debug[id] = (initstate); \ in b43legacy_add_dynamic_debug() 366 d = debugfs_create_bool(name, 0600, e->subdir, \ in b43legacy_add_dynamic_debug() 367 &(e->dyn_debug[id])); \ in b43legacy_add_dynamic_debug() 369 e->dyn_debug_dentries[id] = d; \ in b43legacy_add_dynamic_debug() 383 struct b43legacy_dfsentry *e; in b43legacy_debugfs_add_device() local 388 e = kzalloc(sizeof(*e), GFP_KERNEL); in b43legacy_debugfs_add_device() 389 if (!e) { in b43legacy_debugfs_add_device() [all …]
|
/linux-4.4.14/scripts/ |
D | asn1_compiler.c | 841 struct element *e = calloc(1, sizeof(*e)); in alloc_elem() local 842 if (!e) { in alloc_elem() 846 e->list_next = element_list; in alloc_elem() 847 element_list = e; in alloc_elem() 848 return e; in alloc_elem() 1214 static void dump_element(const struct element *e, int level) in dump_element() argument 1217 const struct type *t = e->type_def; in dump_element() 1218 const char *name = e->name ? e->name->content : "."; in dump_element() 1222 if (e->class == 0 && e->method == 0 && e->tag == 0) in dump_element() 1224 else if (e->class == ASN1_UNIV) in dump_element() [all …]
|
D | extract-cert.c | 40 int e, line; in display_openssl_errors() local 46 while ((e = ERR_get_error_line(&file, &line))) { in display_openssl_errors() 47 ERR_error_string(e, buf); in display_openssl_errors() 115 ENGINE *e; in main() local 126 e = ENGINE_by_id("pkcs11"); in main() 127 ERR(!e, "Load PKCS#11 ENGINE"); in main() 128 if (ENGINE_init(e)) in main() 133 ERR(!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0), "Set PKCS#11 PIN"); in main() 134 ENGINE_ctrl_cmd(e, "LOAD_CERT_CTRL", 0, &parms, NULL, 1); in main()
|
D | sign-file.c | 77 int e, line; in display_openssl_errors() local 83 while ((e = ERR_get_error_line(&file, &line))) { in display_openssl_errors() 84 ERR_error_string(e, buf); in display_openssl_errors() 205 ENGINE *e; in main() local 209 e = ENGINE_by_id("pkcs11"); in main() 210 ERR(!e, "Load PKCS#11 ENGINE"); in main() 211 if (ENGINE_init(e)) in main() 216 ERR(!ENGINE_ctrl_cmd_string(e, "PIN", key_pass, 0), "Set PKCS#11 PIN"); in main() 217 private_key = ENGINE_load_private_key(e, private_key_name, NULL, in main()
|
/linux-4.4.14/arch/x86/kvm/ |
D | irq_comm.c | 36 static int kvm_set_pic_irq(struct kvm_kernel_irq_routing_entry *e, in kvm_set_pic_irq() argument 41 return kvm_pic_set_irq(pic, e->irqchip.pin, irq_source_id, level); in kvm_set_pic_irq() 44 static int kvm_set_ioapic_irq(struct kvm_kernel_irq_routing_entry *e, in kvm_set_ioapic_irq() argument 49 return kvm_ioapic_set_irq(ioapic, e->irqchip.pin, irq_source_id, level, in kvm_set_ioapic_irq() 94 void kvm_set_msi_irq(struct kvm_kernel_irq_routing_entry *e, in kvm_set_msi_irq() argument 97 trace_kvm_msi_set_irq(e->msi.address_lo, e->msi.data); in kvm_set_msi_irq() 99 irq->dest_id = (e->msi.address_lo & in kvm_set_msi_irq() 101 irq->vector = (e->msi.data & in kvm_set_msi_irq() 103 irq->dest_mode = (1 << MSI_ADDR_DEST_MODE_SHIFT) & e->msi.address_lo; in kvm_set_msi_irq() 104 irq->trig_mode = (1 << MSI_DATA_TRIGGER_SHIFT) & e->msi.data; in kvm_set_msi_irq() [all …]
|
D | ioapic.c | 112 union kvm_ioapic_redirect_entry *e; in __rtc_irq_eoi_tracking_restore_one() local 114 e = &ioapic->redirtbl[RTC_GSI]; in __rtc_irq_eoi_tracking_restore_one() 115 if (!kvm_apic_match_dest(vcpu, NULL, 0, e->fields.dest_id, in __rtc_irq_eoi_tracking_restore_one() 116 e->fields.dest_mode)) in __rtc_irq_eoi_tracking_restore_one() 119 new_val = kvm_apic_pending_eoi(vcpu, e->fields.vector); in __rtc_irq_eoi_tracking_restore_one() 239 union kvm_ioapic_redirect_entry *e; in kvm_ioapic_scan_entry() local 244 e = &ioapic->redirtbl[index]; in kvm_ioapic_scan_entry() 245 if (e->fields.trig_mode == IOAPIC_LEVEL_TRIG || in kvm_ioapic_scan_entry() 249 e->fields.dest_id, e->fields.dest_mode) || in kvm_ioapic_scan_entry() 250 (e->fields.trig_mode == IOAPIC_EDGE_TRIG && in kvm_ioapic_scan_entry() [all …]
|
/linux-4.4.14/arch/ia64/sn/kernel/sn2/ |
D | sn_hwperf.c | 59 int e; in sn_hwperf_enum_objects() local 63 if ((e = sn_hwperf_init()) < 0) { in sn_hwperf_enum_objects() 64 printk(KERN_ERR "sn_hwperf_init failed: err %d\n", e); in sn_hwperf_enum_objects() 72 e = -ENOMEM; in sn_hwperf_enum_objects() 76 e = ia64_sn_hwperf_op(sn_hwperf_master_nasid, SN_HWPERF_ENUM_OBJECTS, in sn_hwperf_enum_objects() 78 if (e != SN_HWPERF_OP_OK) { in sn_hwperf_enum_objects() 79 e = -EINVAL; in sn_hwperf_enum_objects() 86 return e; in sn_hwperf_enum_objects() 190 int e; in print_pci_topology() local 195 e = ia64_sn_ioif_get_pci_topology(__pa(p), sz); in print_pci_topology() [all …]
|
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_sync.c | 109 struct amdgpu_sync_entry *e; in amdgpu_sync_fence() local 121 hash_for_each_possible(sync->fences, e, node, f->context) { in amdgpu_sync_fence() 122 if (unlikely(e->fence->context != f->context)) in amdgpu_sync_fence() 125 amdgpu_sync_keep_later(&e->fence, f); in amdgpu_sync_fence() 129 e = kmalloc(sizeof(struct amdgpu_sync_entry), GFP_KERNEL); in amdgpu_sync_fence() 130 if (!e) in amdgpu_sync_fence() 133 hash_add(sync->fences, &e->node, f->context); in amdgpu_sync_fence() 134 e->fence = fence_get(f); in amdgpu_sync_fence() 217 struct amdgpu_sync_entry *e; in amdgpu_sync_get_fence() local 222 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_get_fence() [all …]
|
/linux-4.4.14/drivers/net/wireless/mediatek/mt7601u/ |
D | dma.c | 20 struct mt7601u_dma_buf_rx *e, gfp_t gfp); 136 mt7601u_rx_process_entry(struct mt7601u_dev *dev, struct mt7601u_dma_buf_rx *e) in mt7601u_rx_process_entry() argument 138 u32 seg_len, data_len = e->urb->actual_length; in mt7601u_rx_process_entry() 139 u8 *data = page_address(e->p); in mt7601u_rx_process_entry() 151 mt7601u_rx_process_seg(dev, data, seg_len, new_p ? e->p : NULL); in mt7601u_rx_process_entry() 163 __free_pages(e->p, MT_RX_ORDER); in mt7601u_rx_process_entry() 165 e->p = new_p; in mt7601u_rx_process_entry() 181 buf = &q->e[q->start]; in mt7601u_rx_get_pending_entry() 200 if (WARN_ONCE(q->e[q->end].urb != urb, "RX urb mismatch")) in mt7601u_complete_rx() 213 struct mt7601u_dma_buf_rx *e; in mt7601u_rx_tasklet() local [all …]
|
/linux-4.4.14/security/tomoyo/ |
D | group.c | 79 struct tomoyo_path_group e = { }; in tomoyo_write_group() local 80 e.member_name = tomoyo_get_name(tomoyo_read_token(param)); in tomoyo_write_group() 81 if (!e.member_name) { in tomoyo_write_group() 85 error = tomoyo_update_policy(&e.head, sizeof(e), param, in tomoyo_write_group() 87 tomoyo_put_name(e.member_name); in tomoyo_write_group() 89 struct tomoyo_number_group e = { }; in tomoyo_write_group() local 91 !tomoyo_parse_number_union(param, &e.number)) in tomoyo_write_group() 93 error = tomoyo_update_policy(&e.head, sizeof(e), param, in tomoyo_write_group() 100 struct tomoyo_address_group e = { }; in tomoyo_write_group() local 103 !tomoyo_parse_ipaddr_union(param, &e.address)) in tomoyo_write_group() [all …]
|
D | condition.c | 440 struct tomoyo_condition *e) in tomoyo_get_transit_preference() argument 445 e->transit = tomoyo_get_domainname(param); in tomoyo_get_transit_preference() 460 e->transit = tomoyo_get_name(tomoyo_read_token(param)); in tomoyo_get_transit_preference() 462 if (e->transit) in tomoyo_get_transit_preference() 486 struct tomoyo_condition e = { }; in tomoyo_get_condition() local 488 tomoyo_get_transit_preference(param, &e); in tomoyo_get_condition() 547 e.argc++; in tomoyo_get_condition() 548 e.condc++; in tomoyo_get_condition() 550 e.argc--; in tomoyo_get_condition() 551 e.condc--; in tomoyo_get_condition() [all …]
|
D | file.c | 381 struct tomoyo_path_acl e = { in tomoyo_update_path_acl() local 386 if (!tomoyo_parse_name_union(param, &e.name)) in tomoyo_update_path_acl() 389 error = tomoyo_update_domain(&e.head, sizeof(e), param, in tomoyo_update_path_acl() 392 tomoyo_put_name_union(&e.name); in tomoyo_update_path_acl() 454 struct tomoyo_mkdev_acl e = { in tomoyo_update_mkdev_acl() local 459 if (!tomoyo_parse_name_union(param, &e.name) || in tomoyo_update_mkdev_acl() 460 !tomoyo_parse_number_union(param, &e.mode) || in tomoyo_update_mkdev_acl() 461 !tomoyo_parse_number_union(param, &e.major) || in tomoyo_update_mkdev_acl() 462 !tomoyo_parse_number_union(param, &e.minor)) in tomoyo_update_mkdev_acl() 465 error = tomoyo_update_domain(&e.head, sizeof(e), param, in tomoyo_update_mkdev_acl() [all …]
|
D | network.c | 283 struct tomoyo_inet_acl e = { .head.type = TOMOYO_TYPE_INET_ACL }; in tomoyo_write_inet_network() local 289 for (e.protocol = 0; e.protocol < TOMOYO_SOCK_MAX; e.protocol++) in tomoyo_write_inet_network() 290 if (!strcmp(protocol, tomoyo_proto_keyword[e.protocol])) in tomoyo_write_inet_network() 294 e.perm |= 1 << type; in tomoyo_write_inet_network() 295 if (e.protocol == TOMOYO_SOCK_MAX || !e.perm) in tomoyo_write_inet_network() 299 e.address.group = in tomoyo_write_inet_network() 301 if (!e.address.group) in tomoyo_write_inet_network() 304 if (!tomoyo_parse_ipaddr_union(param, &e.address)) in tomoyo_write_inet_network() 307 if (!tomoyo_parse_number_union(param, &e.port) || in tomoyo_write_inet_network() 308 e.port.values[1] > 65535) in tomoyo_write_inet_network() [all …]
|
D | domain.c | 236 struct tomoyo_transition_control e = { .type = type }; in tomoyo_write_transition_control() local 251 e.program = tomoyo_get_name(program); in tomoyo_write_transition_control() 252 if (!e.program) in tomoyo_write_transition_control() 259 e.is_last_name = true; in tomoyo_write_transition_control() 261 e.domainname = tomoyo_get_name(domainname); in tomoyo_write_transition_control() 262 if (!e.domainname) in tomoyo_write_transition_control() 266 error = tomoyo_update_policy(&e.head, sizeof(e), param, in tomoyo_write_transition_control() 269 tomoyo_put_name(e.domainname); in tomoyo_write_transition_control() 270 tomoyo_put_name(e.program); in tomoyo_write_transition_control() 390 struct tomoyo_aggregator e = { }; in tomoyo_write_aggregator() local [all …]
|
D | environ.c | 95 struct tomoyo_env_acl e = { .head.type = TOMOYO_TYPE_ENV_ACL }; in tomoyo_write_env() local 101 e.env = tomoyo_get_name(data); in tomoyo_write_env() 102 if (!e.env) in tomoyo_write_env() 104 error = tomoyo_update_domain(&e.head, sizeof(e), param, in tomoyo_write_env() 106 tomoyo_put_name(e.env); in tomoyo_write_env()
|
D | memory.c | 95 struct tomoyo_group e = { }; in tomoyo_get_group() local 102 e.group_name = tomoyo_get_name(group_name); in tomoyo_get_group() 103 if (!e.group_name) in tomoyo_get_group() 109 if (e.group_name != group->group_name || in tomoyo_get_group() 117 struct tomoyo_group *entry = tomoyo_commit_ok(&e, sizeof(e)); in tomoyo_get_group() 128 tomoyo_put_name(e.group_name); in tomoyo_get_group()
|
/linux-4.4.14/drivers/firewire/ |
D | core-cdev.c | 390 struct bus_reset_event *e; in queue_bus_reset_event() local 392 e = kzalloc(sizeof(*e), GFP_KERNEL); in queue_bus_reset_event() 393 if (e == NULL) in queue_bus_reset_event() 396 fill_bus_reset_event(&e->reset, client); in queue_bus_reset_event() 398 queue_event(client, &e->event, in queue_bus_reset_event() 399 &e->reset, sizeof(e->reset), NULL, 0); in queue_bus_reset_event() 551 struct outbound_transaction_event *e = data; in complete_transaction() local 552 struct fw_cdev_event_response *rsp = &e->response; in complete_transaction() 553 struct client *client = e->client; in complete_transaction() 562 idr_remove(&client->resource_idr, e->r.resource.handle); in complete_transaction() [all …]
|
/linux-4.4.14/drivers/edac/ |
D | edac_mc.c | 1092 struct edac_raw_error_desc *e) in edac_raw_mc_handle_error() argument 1095 int pos[EDAC_MAX_LAYERS] = { e->top_layer, e->mid_layer, e->low_layer }; in edac_raw_mc_handle_error() 1101 e->page_frame_number, e->offset_in_page, in edac_raw_mc_handle_error() 1102 e->grain, e->syndrome); in edac_raw_mc_handle_error() 1103 edac_ce_error(mci, e->error_count, pos, e->msg, e->location, e->label, in edac_raw_mc_handle_error() 1104 detail, e->other_detail, e->enable_per_layer_report, in edac_raw_mc_handle_error() 1105 e->page_frame_number, e->offset_in_page, e->grain); in edac_raw_mc_handle_error() 1109 e->page_frame_number, e->offset_in_page, e->grain); in edac_raw_mc_handle_error() 1111 edac_ue_error(mci, e->error_count, pos, e->msg, e->location, e->label, in edac_raw_mc_handle_error() 1112 detail, e->other_detail, e->enable_per_layer_report); in edac_raw_mc_handle_error() [all …]
|
D | ghes_edac.c | 172 struct edac_raw_error_desc *e; in ghes_edac_report_mem_error() local 187 e = &mci->error_desc; in ghes_edac_report_mem_error() 190 memset(e, 0, sizeof (*e)); in ghes_edac_report_mem_error() 191 e->error_count = 1; in ghes_edac_report_mem_error() 192 strcpy(e->label, "unknown label"); in ghes_edac_report_mem_error() 193 e->msg = pvt->msg; in ghes_edac_report_mem_error() 194 e->other_detail = pvt->other_detail; in ghes_edac_report_mem_error() 195 e->top_layer = -1; in ghes_edac_report_mem_error() 196 e->mid_layer = -1; in ghes_edac_report_mem_error() 197 e->low_layer = -1; in ghes_edac_report_mem_error() [all …]
|
/linux-4.4.14/arch/xtensa/mm/ |
D | tlb.c | 30 int e = w + (i << PAGE_SHIFT); in __flush_itlb_all() local 31 invalidate_itlb_entry_no_isync(e); in __flush_itlb_all() 43 int e = w + (i << PAGE_SHIFT); in __flush_dtlb_all() local 44 invalidate_dtlb_entry_no_isync(e); in __flush_dtlb_all() 216 static int check_tlb_entry(unsigned w, unsigned e, bool dtlb) in check_tlb_entry() argument 218 unsigned tlbidx = w | (e << PAGE_SHIFT); in check_tlb_entry() 221 unsigned vpn = (r0 & PAGE_MASK) | (e << PAGE_SHIFT); in check_tlb_entry() 230 dtlb ? 'D' : 'I', w, e, vpn, in check_tlb_entry() 240 dtlb ? 'D' : 'I', w, e, r0, r1, pte); in check_tlb_entry() 261 unsigned w, e; in check_tlb_sanity() local [all …]
|
/linux-4.4.14/drivers/net/wireless/b43/ |
D | debugfs.c | 659 struct b43_dfsentry *e = dev->dfsentry; in b43_remove_dynamic_debug() local 663 debugfs_remove(e->dyn_debug_dentries[i]); in b43_remove_dynamic_debug() 668 struct b43_dfsentry *e = dev->dfsentry; in b43_add_dynamic_debug() local 672 e->dyn_debug[id] = (initstate); \ in b43_add_dynamic_debug() 673 d = debugfs_create_bool(name, 0600, e->subdir, \ in b43_add_dynamic_debug() 674 &(e->dyn_debug[id])); \ in b43_add_dynamic_debug() 676 e->dyn_debug_dentries[id] = d; \ in b43_add_dynamic_debug() 694 struct b43_dfsentry *e; in b43_debugfs_add_device() local 699 e = kzalloc(sizeof(*e), GFP_KERNEL); in b43_debugfs_add_device() 700 if (!e) { in b43_debugfs_add_device() [all …]
|
D | tables_nphy.c | 3782 struct nphy_gain_ctl_workaround_entry *e; in b43_nphy_get_gain_ctl_workaround_ent() local 3797 e = &nphy_gain_ctl_workaround[ghz5][phy_idx]; in b43_nphy_get_gain_ctl_workaround_ent() 3811 e->cliplo_gain = gain_data[tr_iso]; in b43_nphy_get_gain_ctl_workaround_ent() 3817 e->cliplo_gain = gain_data[tr_iso]; in b43_nphy_get_gain_ctl_workaround_ent() 3821 e->rfseq_init[0] &= ~0x4000; in b43_nphy_get_gain_ctl_workaround_ent() 3822 e->rfseq_init[1] &= ~0x4000; in b43_nphy_get_gain_ctl_workaround_ent() 3823 e->rfseq_init[2] &= ~0x4000; in b43_nphy_get_gain_ctl_workaround_ent() 3824 e->rfseq_init[3] &= ~0x4000; in b43_nphy_get_gain_ctl_workaround_ent() 3825 e->init_gain &= ~0x4000; in b43_nphy_get_gain_ctl_workaround_ent() 3830 e->crsminu = 0x2d; in b43_nphy_get_gain_ctl_workaround_ent() [all …]
|
D | phy_ht.c | 49 const struct b43_phy_ht_channeltab_e_radio2059 *e) in b43_radio_2059_channel_setup() argument 55 b43_radio_write(dev, 0x16, e->radio_syn16); in b43_radio_2059_channel_setup() 56 b43_radio_write(dev, 0x17, e->radio_syn17); in b43_radio_2059_channel_setup() 57 b43_radio_write(dev, 0x22, e->radio_syn22); in b43_radio_2059_channel_setup() 58 b43_radio_write(dev, 0x25, e->radio_syn25); in b43_radio_2059_channel_setup() 59 b43_radio_write(dev, 0x27, e->radio_syn27); in b43_radio_2059_channel_setup() 60 b43_radio_write(dev, 0x28, e->radio_syn28); in b43_radio_2059_channel_setup() 61 b43_radio_write(dev, 0x29, e->radio_syn29); in b43_radio_2059_channel_setup() 62 b43_radio_write(dev, 0x2c, e->radio_syn2c); in b43_radio_2059_channel_setup() 63 b43_radio_write(dev, 0x2d, e->radio_syn2d); in b43_radio_2059_channel_setup() [all …]
|
/linux-4.4.14/arch/parisc/kernel/ |
D | unwind.c | 49 const struct unwind_table_entry *e = NULL; in find_unwind_entry_in_table() local 57 e = &table->table[mid]; in find_unwind_entry_in_table() 58 if (addr < e->region_start) in find_unwind_entry_in_table() 60 else if (addr > e->region_end) in find_unwind_entry_in_table() 63 return e; in find_unwind_entry_in_table() 73 const struct unwind_table_entry *e = NULL; in find_unwind_entry() local 77 e = find_unwind_entry_in_table(&kernel_unwind_table, addr); in find_unwind_entry() 82 e = find_unwind_entry_in_table(table, addr); in find_unwind_entry() 83 if (e) { in find_unwind_entry() 90 return e; in find_unwind_entry() [all …]
|
/linux-4.4.14/fs/ubifs/ |
D | recovery.c | 1262 struct size_entry *e; in add_ino() local 1266 e = rb_entry(parent, struct size_entry, rb); in add_ino() 1267 if (inum < e->inum) in add_ino() 1273 e = kzalloc(sizeof(struct size_entry), GFP_KERNEL); in add_ino() 1274 if (!e) in add_ino() 1277 e->inum = inum; in add_ino() 1278 e->i_size = i_size; in add_ino() 1279 e->d_size = d_size; in add_ino() 1280 e->exists = exists; in add_ino() 1282 rb_link_node(&e->rb, parent, p); in add_ino() [all …]
|
/linux-4.4.14/security/integrity/ima/ |
D | ima_fs.c | 120 struct ima_template_entry *e; in ima_measurements_show() local 128 e = qe->entry; in ima_measurements_show() 129 if (e == NULL) in ima_measurements_show() 132 template_name = (e->template_desc->name[0] != '\0') ? in ima_measurements_show() 133 e->template_desc->name : e->template_desc->fmt; in ima_measurements_show() 143 ima_putc(m, e->digest, TPM_DIGEST_SIZE); in ima_measurements_show() 157 ima_putc(m, &e->template_data_len, in ima_measurements_show() 158 sizeof(e->template_data_len)); in ima_measurements_show() 161 for (i = 0; i < e->template_desc->num_fields; i++) { in ima_measurements_show() 163 struct ima_template_field *field = e->template_desc->fields[i]; in ima_measurements_show() [all …]
|
/linux-4.4.14/drivers/staging/panel/ |
D | lcd-panel-cgram.txt | 3 '\e[LG' followed by one digit from 0 to 7, representing the character 12 printf "\e[LG0010101050D1F0C04;" => 0 = [enter] 13 printf "\e[LG1040E1F0000000000;" => 1 = [up] 14 printf "\e[LG2000000001F0E0400;" => 2 = [down] 15 printf "\e[LG3040E1F001F0E0400;" => 3 = [up-down] 16 printf "\e[LG40002060E1E0E0602;" => 4 = [left] 17 printf "\e[LG500080C0E0F0E0C08;" => 5 = [right] 18 printf "\e[LG60016051516141400;" => 6 = "IP" 20 printf "\e[LG00103071F1F070301;" => big speaker 21 printf "\e[LG00002061E1E060200;" => small speaker
|
/linux-4.4.14/drivers/iommu/ |
D | amd_iommu_init.c | 787 struct ivhd_entry *e; in init_iommu_from_acpi() local 808 e = (struct ivhd_entry *)p; in init_iommu_from_acpi() 809 switch (e->type) { in init_iommu_from_acpi() 812 DUMP_printk(" DEV_ALL\t\t\tflags: %02x\n", e->flags); in init_iommu_from_acpi() 815 set_dev_entry_from_acpi(iommu, dev_i, e->flags, 0); in init_iommu_from_acpi() 821 PCI_BUS_NUM(e->devid), in init_iommu_from_acpi() 822 PCI_SLOT(e->devid), in init_iommu_from_acpi() 823 PCI_FUNC(e->devid), in init_iommu_from_acpi() 824 e->flags); in init_iommu_from_acpi() 826 devid = e->devid; in init_iommu_from_acpi() [all …]
|
D | omap-iommu.c | 230 static u32 get_iopte_attr(struct iotlb_entry *e) in get_iopte_attr() argument 234 attr = e->mixed << 5; in get_iopte_attr() 235 attr |= e->endian; in get_iopte_attr() 236 attr |= e->elsz >> 3; in get_iopte_attr() 237 attr <<= (((e->pgsz == MMU_CAM_PGSZ_4K) || in get_iopte_attr() 238 (e->pgsz == MMU_CAM_PGSZ_64K)) ? 0 : 6); in get_iopte_attr() 312 struct iotlb_entry *e) in iotlb_alloc_cr() argument 316 if (!e) in iotlb_alloc_cr() 319 if (e->da & ~(get_cam_va_mask(e->pgsz))) { in iotlb_alloc_cr() 321 e->da); in iotlb_alloc_cr() [all …]
|
/linux-4.4.14/net/bridge/netfilter/ |
D | ebtables.c | 125 #define FWINV2(bool, invflg) ((bool) ^ !!(e->invflags & invflg)) 128 ebt_basic_match(const struct ebt_entry *e, const struct sk_buff *skb, in ebt_basic_match() argument 141 if (e->bitmask & EBT_802_3) { in ebt_basic_match() 144 } else if (!(e->bitmask & EBT_NOPROTO) && in ebt_basic_match() 145 FWINV2(e->ethproto != ethproto, EBT_IPROTO)) in ebt_basic_match() 148 if (FWINV2(ebt_dev_check(e->in, in), EBT_IIN)) in ebt_basic_match() 150 if (FWINV2(ebt_dev_check(e->out, out), EBT_IOUT)) in ebt_basic_match() 154 FWINV2(ebt_dev_check(e->logical_in, p->br->dev), EBT_ILOGICALIN)) in ebt_basic_match() 157 FWINV2(ebt_dev_check(e->logical_out, p->br->dev), EBT_ILOGICALOUT)) in ebt_basic_match() 160 if (e->bitmask & EBT_SOURCEMAC) { in ebt_basic_match() [all …]
|
/linux-4.4.14/arch/x86/include/asm/ |
D | pgtable_64.h | 29 #define pte_ERROR(e) \ argument 31 __FILE__, __LINE__, &(e), pte_val(e)) 32 #define pmd_ERROR(e) \ argument 34 __FILE__, __LINE__, &(e), pmd_val(e)) 35 #define pud_ERROR(e) \ argument 37 __FILE__, __LINE__, &(e), pud_val(e)) 38 #define pgd_ERROR(e) \ argument 40 __FILE__, __LINE__, &(e), pgd_val(e))
|
D | pgtable-3level.h | 11 #define pte_ERROR(e) \ argument 13 __FILE__, __LINE__, &(e), (e).pte_high, (e).pte_low) 14 #define pmd_ERROR(e) \ argument 16 __FILE__, __LINE__, &(e), pmd_val(e)) 17 #define pgd_ERROR(e) \ argument 19 __FILE__, __LINE__, &(e), pgd_val(e))
|
/linux-4.4.14/include/trace/events/ |
D | kvm.h | 93 TP_PROTO(__u64 e, int pin, bool coalesced), 94 TP_ARGS(e, pin, coalesced), 97 __field( __u64, e ) 103 __entry->e = e; 109 __entry->pin, (u8)(__entry->e >> 56), (u8)__entry->e, 110 __print_symbolic((__entry->e >> 8 & 0x7), kvm_deliver_mode), 111 (__entry->e & (1<<11)) ? "logical" : "physical", 112 (__entry->e & (1<<15)) ? "level" : "edge", 113 (__entry->e & (1<<16)) ? "|masked" : "", 118 TP_PROTO(__u64 e), [all …]
|
/linux-4.4.14/net/ipv4/ |
D | ipconfig.c | 675 u8 *e = options; in ic_dhcp_init_options() local 682 memcpy(e, ic_bootp_cookie, 4); /* RFC1048 Magic Cookie */ in ic_dhcp_init_options() 683 e += 4; in ic_dhcp_init_options() 685 *e++ = 53; /* DHCP message type */ in ic_dhcp_init_options() 686 *e++ = 1; in ic_dhcp_init_options() 687 *e++ = mt; in ic_dhcp_init_options() 690 *e++ = 54; /* Server ID (IP address) */ in ic_dhcp_init_options() 691 *e++ = 4; in ic_dhcp_init_options() 692 memcpy(e, &ic_servaddr, 4); in ic_dhcp_init_options() 693 e += 4; in ic_dhcp_init_options() [all …]
|
/linux-4.4.14/net/mac80211/ |
D | aes_cmac.c | 44 size_t i, e, left, total_len; in aes_cmac_vector() local 49 for (e = 0; e < num_elem; e++) in aes_cmac_vector() 50 total_len += len[e]; in aes_cmac_vector() 53 e = 0; in aes_cmac_vector() 61 e++; in aes_cmac_vector() 62 pos = addr[e]; in aes_cmac_vector() 63 end = pos + len[e]; in aes_cmac_vector() 79 e++; in aes_cmac_vector() 80 pos = addr[e]; in aes_cmac_vector() 81 end = pos + len[e]; in aes_cmac_vector()
|
/linux-4.4.14/net/tipc/ |
D | name_distr.c | 345 struct distr_queue_item *e; in tipc_named_add_backlog() local 348 e = kzalloc(sizeof(*e), GFP_ATOMIC); in tipc_named_add_backlog() 349 if (!e) in tipc_named_add_backlog() 351 e->dtype = type; in tipc_named_add_backlog() 352 e->node = node; in tipc_named_add_backlog() 353 e->expires = now + msecs_to_jiffies(sysctl_tipc_named_timeout); in tipc_named_add_backlog() 354 memcpy(e, i, sizeof(*i)); in tipc_named_add_backlog() 355 list_add_tail(&e->next, &tipc_dist_queue); in tipc_named_add_backlog() 364 struct distr_queue_item *e, *tmp; in tipc_named_process_backlog() local 368 list_for_each_entry_safe(e, tmp, &tipc_dist_queue, next) { in tipc_named_process_backlog() [all …]
|
D | server.c | 427 static void tipc_free_entry(struct outqueue_entry *e) in tipc_free_entry() argument 429 kfree(e->iov.iov_base); in tipc_free_entry() 430 kfree(e); in tipc_free_entry() 435 struct outqueue_entry *e, *safe; in tipc_clean_outqueues() local 438 list_for_each_entry_safe(e, safe, &con->outqueue, list) { in tipc_clean_outqueues() 439 list_del(&e->list); in tipc_clean_outqueues() 440 tipc_free_entry(e); in tipc_clean_outqueues() 448 struct outqueue_entry *e; in tipc_conn_sendmsg() local 455 e = tipc_alloc_entry(data, len); in tipc_conn_sendmsg() 456 if (!e) { in tipc_conn_sendmsg() [all …]
|
/linux-4.4.14/arch/powerpc/lib/ |
D | rheap.c | 30 static inline void fixup(unsigned long s, unsigned long e, int d, in fixup() argument 36 if (*pp >= s && *pp < e) in fixup() 40 if (*pp >= s && *pp < e) in fixup() 158 unsigned long s, e, bs, be; in attach_free_block() local 164 e = s + size; in attach_free_block() 184 if (e == bs) in attach_free_block() 196 if (after && e != after->start) in attach_free_block() 332 unsigned long s, e, m; in rh_attach_region() local 337 e = s + size; in rh_attach_region() 344 e = e & ~m; in rh_attach_region() [all …]
|
/linux-4.4.14/sound/core/seq/oss/ |
D | seq_oss_event.c | 137 switch (q->e.cmd) { in extended_event() 139 return note_off_event(dp, q->e.dev, q->e.chn, q->e.p1, q->e.p2, ev); in extended_event() 142 return note_on_event(dp, q->e.dev, q->e.chn, q->e.p1, q->e.p2, ev); in extended_event() 145 return set_control_event(dp, q->e.dev, SNDRV_SEQ_EVENT_PGMCHANGE, in extended_event() 146 q->e.chn, 0, q->e.p1, ev); in extended_event() 149 return set_control_event(dp, q->e.dev, SNDRV_SEQ_EVENT_CHANPRESS, in extended_event() 150 q->e.chn, 0, q->e.p1, ev); in extended_event() 154 val = (char)q->e.p1; in extended_event() 156 return set_control_event(dp, q->e.dev, SNDRV_SEQ_EVENT_CONTROLLER, in extended_event() 157 q->e.chn, CTL_PAN, val, ev); in extended_event() [all …]
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_irq.c | 1038 struct drm_pending_vblank_event *e, in send_vblank_event() argument 1043 e->event.sequence = seq; in send_vblank_event() 1044 e->event.tv_sec = now->tv_sec; in send_vblank_event() 1045 e->event.tv_usec = now->tv_usec; in send_vblank_event() 1047 list_add_tail(&e->base.link, in send_vblank_event() 1048 &e->base.file_priv->event_list); in send_vblank_event() 1049 wake_up_interruptible(&e->base.file_priv->event_wait); in send_vblank_event() 1050 trace_drm_vblank_event_delivered(e->base.pid, e->pipe, in send_vblank_event() 1051 e->event.sequence); in send_vblank_event() 1072 struct drm_pending_vblank_event *e) in drm_arm_vblank_event() argument [all …]
|
D | drm_fops.c | 311 struct drm_pending_event *e, *et; in drm_events_release() local 326 list_for_each_entry_safe(e, et, &file_priv->event_list, link) { in drm_events_release() 327 list_del(&e->link); in drm_events_release() 328 e->destroy(e); in drm_events_release() 539 struct drm_pending_event *e; in drm_read() local 541 e = list_first_entry(&file_priv->event_list, in drm_read() 543 if (e->event->length + ret > count) in drm_read() 547 e->event, e->event->length)) { in drm_read() 553 file_priv->event_space += e->event->length; in drm_read() 554 ret += e->event->length; in drm_read() [all …]
|
/linux-4.4.14/scripts/coccinelle/free/ |
D | clk_put.cocci | 19 expression e; 25 e = clk_get@p1(...) 26 ... when != clk_put(e) 27 if (<+...e...+>) S 29 when != clk_put(e) 30 when != if (...) { ... clk_put(e); ... } 40 return <+...e...+>; } 43 { ... when != clk_put(e) 48 clk_put(e);
|
D | iounmap.cocci | 19 expression e; 25 e = \(ioremap@p1\|ioremap_nocache@p1\)(...) 26 ... when != iounmap(e) 27 if (<+...e...+>) S 29 when != iounmap(e) 30 when != if (...) { ... iounmap(e); ... } 40 return <+...e...+>; } 43 { ... when != iounmap(e) 48 iounmap(e);
|
/linux-4.4.14/Documentation/RCU/ |
D | listRCU.txt | 31 struct audit_entry *e; 36 list_for_each_entry(e, &audit_tsklist, list) { 37 if (audit_filter_rules(tsk, &e->rule, NULL, &state)) { 55 struct audit_entry *e; 60 list_for_each_entry_rcu(e, &audit_tsklist, list) { 61 if (audit_filter_rules(tsk, &e->rule, NULL, &state)) { 81 struct audit_entry *e; 84 list_for_each_entry(e, list, list) { 85 if (!audit_compare_rule(rule, &e->rule)) { 86 list_del(&e->list); [all …]
|
/linux-4.4.14/Documentation/zh_CN/ |
D | SubmittingPatches | 112 4)选择 e-mail 的收件人 115 定的维护者。如果有,给他们发e-mail。 123 Linus Torvalds 是决定改动能否进入 Linux 内核的最终裁决者。他的 e-mail 124 地址是 <torvalds@linux-foundation.org> 。他收到的 e-mail 很多,所以一般 125 的说,最好别给他发 e-mail。 131 5)选择CC( e-mail 抄送)列表 179 ,可以“引用”你的改动很重要,使用一般的 e-mail 工具,他们就可以在你的 182 因为这个原因,所有的提交的补丁都是 e-mail 中“内嵌”的。 186 不要将补丁作为 MIME 编码的附件,不管是否压缩。很多流行的 e-mail 软件不 206 7) e-mail 的大小 [all …]
|
/linux-4.4.14/drivers/misc/vmw_vmci/ |
D | vmci_event.c | 52 int e; in vmci_event_exit() local 55 for (e = 0; e < VMCI_EVENT_MAX; e++) { in vmci_event_exit() 57 list_for_each_entry_safe(cur, p2, &subscriber_array[e], node) { in vmci_event_exit() 76 int e; in event_find() local 78 for (e = 0; e < VMCI_EVENT_MAX; e++) { in event_find() 80 list_for_each_entry(cur, &subscriber_array[e], node) { in event_find()
|
/linux-4.4.14/arch/um/include/asm/ |
D | pgtable-3level.h | 46 #define pte_ERROR(e) \ argument 47 printk("%s:%d: bad pte %p(%016lx).\n", __FILE__, __LINE__, &(e), \ 48 pte_val(e)) 49 #define pmd_ERROR(e) \ argument 50 printk("%s:%d: bad pmd %p(%016lx).\n", __FILE__, __LINE__, &(e), \ 51 pmd_val(e)) 52 #define pgd_ERROR(e) \ argument 53 printk("%s:%d: bad pgd %p(%016lx).\n", __FILE__, __LINE__, &(e), \ 54 pgd_val(e))
|
D | pgtable-2level.h | 28 #define pte_ERROR(e) \ argument 29 printk("%s:%d: bad pte %p(%08lx).\n", __FILE__, __LINE__, &(e), \ 30 pte_val(e)) 31 #define pgd_ERROR(e) \ argument 32 printk("%s:%d: bad pgd %p(%08lx).\n", __FILE__, __LINE__, &(e), \ 33 pgd_val(e))
|
/linux-4.4.14/drivers/nubus/ |
D | proc.c | 76 struct proc_dir_entry* e; in nubus_proc_subdir() local 79 e = proc_create(name, S_IFREG | S_IRUGO | S_IWUSR, parent, in nubus_proc_subdir() 81 if (!e) in nubus_proc_subdir() 98 struct proc_dir_entry* e; in nubus_proc_populate() local 102 e = proc_mkdir(name, parent); in nubus_proc_populate() 103 if (!e) return; in nubus_proc_populate() 112 nubus_proc_subdir(dev, e, &dir); in nubus_proc_populate() 119 struct proc_dir_entry *e; in nubus_proc_attach_device() local 138 e = dev->procdir = proc_mkdir(name, proc_bus_nubus_dir); in nubus_proc_attach_device() 139 if (!e) in nubus_proc_attach_device() [all …]
|
/linux-4.4.14/arch/mips/kernel/ |
D | jump_label.c | 40 void arch_jump_label_transform(struct jump_entry *e, in arch_jump_label_transform() argument 46 insn_p = (union mips_instruction *)msk_isa16_mode(e->code); in arch_jump_label_transform() 49 BUG_ON((e->target & ~J_RANGE_MASK) != ((e->code + 4) & ~J_RANGE_MASK)); in arch_jump_label_transform() 52 BUG_ON((e->target & J_ALIGN_MASK) != J_ISA_BIT); in arch_jump_label_transform() 56 insn.j_format.target = e->target >> J_RANGE_SHIFT; in arch_jump_label_transform()
|
/linux-4.4.14/drivers/usb/gadget/legacy/ |
D | hid.c | 96 struct hidg_func_node *e, *n; in do_config() local 104 list_for_each_entry(e, &hidg_func_list, node) { in do_config() 105 e->f = usb_get_function(e->fi); in do_config() 106 if (IS_ERR(e->f)) in do_config() 108 status = usb_add_function(c, e->f); in do_config() 110 usb_put_function(e->f); in do_config() 118 if (n == e) in do_config() 244 struct hidg_func_node *e, *n; in hidg_plat_driver_remove() local 246 list_for_each_entry_safe(e, n, &hidg_func_list, node) { in hidg_plat_driver_remove() 247 list_del(&e->node); in hidg_plat_driver_remove() [all …]
|
/linux-4.4.14/Documentation/video4linux/ |
D | gspca.txt | 15 zc3xx 041e:041e Creative WebCam Live! 16 ov519 041e:4003 Video Blaster WebCam Go Plus 17 spca500 041e:400a Creative PC-CAM 300 18 sunplus 041e:400b Creative PC-CAM 600 19 sunplus 041e:4012 PC-Cam350 20 sunplus 041e:4013 Creative Pccam750 21 zc3xx 041e:4017 Creative Webcam Mobile PD1090 22 spca508 041e:4018 Creative Webcam Vista (PD1100) 23 spca561 041e:401a Creative Webcam Vista (PD1100) 24 zc3xx 041e:401c Creative NX [all …]
|
/linux-4.4.14/arch/arc/include/asm/ |
D | tlbflush.h | 24 #define flush_tlb_range(vma, s, e) local_flush_tlb_range(vma, s, e) argument 26 #define flush_tlb_kernel_range(s, e) local_flush_tlb_kernel_range(s, e) argument 29 #define flush_pmd_tlb_range(vma, s, e) local_flush_pmd_tlb_range(vma, s, e) argument
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | i915_gpu_error.c | 75 static bool __i915_error_ok(struct drm_i915_error_state_buf *e) in __i915_error_ok() argument 78 if (!e->err && WARN(e->bytes > (e->size - 1), "overflow")) { in __i915_error_ok() 79 e->err = -ENOSPC; in __i915_error_ok() 83 if (e->bytes == e->size - 1 || e->err) in __i915_error_ok() 89 static bool __i915_error_seek(struct drm_i915_error_state_buf *e, in __i915_error_seek() argument 92 if (e->pos + len <= e->start) { in __i915_error_seek() 93 e->pos += len; in __i915_error_seek() 98 if (len >= e->size) { in __i915_error_seek() 99 e->err = -EIO; in __i915_error_seek() 106 static void __i915_error_advance(struct drm_i915_error_state_buf *e, in __i915_error_advance() argument [all …]
|
/linux-4.4.14/arch/powerpc/kvm/ |
D | e500.c | 370 sregs->u.e.features |= KVM_SREGS_E_ARCH206_MMU | KVM_SREGS_E_SPE | in kvmppc_core_get_sregs_e500() 372 sregs->u.e.impl_id = KVM_SREGS_E_IMPL_FSL; in kvmppc_core_get_sregs_e500() 374 sregs->u.e.impl.fsl.features = 0; in kvmppc_core_get_sregs_e500() 375 sregs->u.e.impl.fsl.svr = vcpu_e500->svr; in kvmppc_core_get_sregs_e500() 376 sregs->u.e.impl.fsl.hid0 = vcpu_e500->hid0; in kvmppc_core_get_sregs_e500() 377 sregs->u.e.impl.fsl.mcar = vcpu_e500->mcar; in kvmppc_core_get_sregs_e500() 379 sregs->u.e.ivor_high[0] = vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_UNAVAIL]; in kvmppc_core_get_sregs_e500() 380 sregs->u.e.ivor_high[1] = vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_FP_DATA]; in kvmppc_core_get_sregs_e500() 381 sregs->u.e.ivor_high[2] = vcpu->arch.ivor[BOOKE_IRQPRIO_SPE_FP_ROUND]; in kvmppc_core_get_sregs_e500() 382 sregs->u.e.ivor_high[3] = in kvmppc_core_get_sregs_e500() [all …]
|
D | e500mc.c | 223 sregs->u.e.features |= KVM_SREGS_E_ARCH206_MMU | KVM_SREGS_E_PM | in kvmppc_core_get_sregs_e500mc() 225 sregs->u.e.impl_id = KVM_SREGS_E_IMPL_FSL; in kvmppc_core_get_sregs_e500mc() 227 sregs->u.e.impl.fsl.features = 0; in kvmppc_core_get_sregs_e500mc() 228 sregs->u.e.impl.fsl.svr = vcpu_e500->svr; in kvmppc_core_get_sregs_e500mc() 229 sregs->u.e.impl.fsl.hid0 = vcpu_e500->hid0; in kvmppc_core_get_sregs_e500mc() 230 sregs->u.e.impl.fsl.mcar = vcpu_e500->mcar; in kvmppc_core_get_sregs_e500mc() 234 sregs->u.e.ivor_high[3] = in kvmppc_core_get_sregs_e500mc() 236 sregs->u.e.ivor_high[4] = vcpu->arch.ivor[BOOKE_IRQPRIO_DBELL]; in kvmppc_core_get_sregs_e500mc() 237 sregs->u.e.ivor_high[5] = vcpu->arch.ivor[BOOKE_IRQPRIO_DBELL_CRIT]; in kvmppc_core_get_sregs_e500mc() 248 if (sregs->u.e.impl_id == KVM_SREGS_E_IMPL_FSL) { in kvmppc_core_set_sregs_e500mc() [all …]
|
D | booke.c | 1482 sregs->u.e.features |= KVM_SREGS_E_BASE; in get_sregs_base() 1484 sregs->u.e.csrr0 = vcpu->arch.csrr0; in get_sregs_base() 1485 sregs->u.e.csrr1 = vcpu->arch.csrr1; in get_sregs_base() 1486 sregs->u.e.mcsr = vcpu->arch.mcsr; in get_sregs_base() 1487 sregs->u.e.esr = kvmppc_get_esr(vcpu); in get_sregs_base() 1488 sregs->u.e.dear = kvmppc_get_dar(vcpu); in get_sregs_base() 1489 sregs->u.e.tsr = vcpu->arch.tsr; in get_sregs_base() 1490 sregs->u.e.tcr = vcpu->arch.tcr; in get_sregs_base() 1491 sregs->u.e.dec = kvmppc_get_dec(vcpu, tb); in get_sregs_base() 1492 sregs->u.e.tb = tb; in get_sregs_base() [all …]
|
/linux-4.4.14/arch/x86/boot/ |
D | cpu.c | 43 u32 e = err_flags[i]; in show_cap_strs() local 52 if (e & 1) { in show_cap_strs() 60 e >>= 1; in show_cap_strs() 65 u32 e = err_flags[i]; in show_cap_strs() local 67 if (e & 1) in show_cap_strs() 69 e >>= 1; in show_cap_strs()
|
D | early_serial_console.c | 49 char *e; in parse_earlyprintk() local 66 port = simple_strtoull(arg + pos, &e, 16); in parse_earlyprintk() 67 if (port == 0 || arg + pos == e) in parse_earlyprintk() 70 pos = e - arg; in parse_earlyprintk() 87 baud = simple_strtoull(arg + pos, &e, 0); in parse_earlyprintk() 88 if (baud == 0 || arg + pos == e) in parse_earlyprintk()
|
/linux-4.4.14/kernel/trace/ |
D | trace_events_filter_test.h | 11 TP_PROTO(int a, int b, int c, int d, int e, int f, int g, int h), 13 TP_ARGS(a, b, c, d, e, f, g, h), 20 __field(int, e) 31 __entry->e = e; 39 __entry->e, __entry->f, __entry->g, __entry->h)
|
/linux-4.4.14/drivers/staging/gdm72xx/ |
D | gdm_wimax.c | 87 static inline void free_event_entry(struct evt_entry *e) in free_event_entry() argument 89 kfree(e); in free_event_entry() 94 struct evt_entry *e; in get_event_entry() local 97 e = alloc_event_entry(); in get_event_entry() 99 e = list_entry(wm_event.freeq.next, struct evt_entry, list); in get_event_entry() 100 list_del(&e->list); in get_event_entry() 103 return e; in get_event_entry() 106 static void put_event_entry(struct evt_entry *e) in put_event_entry() argument 108 BUG_ON(!e); in put_event_entry() 110 list_add_tail(&e->list, &wm_event.freeq); in put_event_entry() [all …]
|
/linux-4.4.14/tools/perf/Documentation/ |
D | examples.txt | 6 [ From an e-mail by Ingo Molnar, http://lkml.org/lkml/2009/8/4/346 ] 31 titan:~> perf stat -e kmem:mm_page_pcpu_drain -e kmem:mm_page_alloc 32 -e kmem:mm_page_free_batched -e kmem:mm_page_free ./hackbench 10 47 titan:~> perf stat --repeat 5 -e kmem:mm_page_pcpu_drain -e 48 kmem:mm_page_alloc -e kmem:mm_page_free_batched -e 69 titan:~/git> perf record -e kmem:mm_page_alloc -c 1 ./git gc 123 titan:~/git> perf record -g -e kmem:mm_page_alloc -c 1 ./git gc 160 titan:~/git> perf stat -a -e kmem:mm_page_pcpu_drain -e 161 kmem:mm_page_alloc -e kmem:mm_page_free_batched -e 176 titan:~/git> perf stat --repeat 10 -a -e kmem:mm_page_pcpu_drain -e [all …]
|
D | intel-pt.txt | 52 Data is captured with 'perf record' e.g. to trace 'ls' userspace-only: 54 perf record -e intel_pt//u ls 56 And profiled with 'perf report' e.g. 67 ~/libexec/perf-core/perf-with-kcore record pt_ls -e intel_pt// -- ls 76 selected for reporting. e.g. sample every microsecond 94 perf record -e intel_pt//u ls 133 An enhancement has been made to allow default "config" e.g. the option 135 -e intel_pt// 139 -e intel_pt/tsc,noretcomp=0/ 143 -e intel_pt/tsc=1,noretcomp=0/ [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/ |
D | mm.c | 117 u32 s, e; in nvkm_mm_head() local 126 e = this->offset + this->length; in nvkm_mm_head() 135 e = rounddown(e, mm->block_size); in nvkm_mm_head() 138 e &= ~mask; in nvkm_mm_head() 139 if (s > e || e - s < size_min) in nvkm_mm_head() 146 this = region_head(mm, this, min(size_max, e - s)); in nvkm_mm_head() 194 u32 e = this->offset + this->length; in nvkm_mm_tail() local 208 e = rounddown(e, mm->block_size); in nvkm_mm_tail() 209 c = next->offset - e; in nvkm_mm_tail() 213 a = e - s; in nvkm_mm_tail() [all …]
|
/linux-4.4.14/arch/mips/boot/ |
D | elf2ecoff.c | 167 static void convert_elf_hdr(Elf32_Ehdr * e) in convert_elf_hdr() argument 169 e->e_type = swab16(e->e_type); in convert_elf_hdr() 170 e->e_machine = swab16(e->e_machine); in convert_elf_hdr() 171 e->e_version = swab32(e->e_version); in convert_elf_hdr() 172 e->e_entry = swab32(e->e_entry); in convert_elf_hdr() 173 e->e_phoff = swab32(e->e_phoff); in convert_elf_hdr() 174 e->e_shoff = swab32(e->e_shoff); in convert_elf_hdr() 175 e->e_flags = swab32(e->e_flags); in convert_elf_hdr() 176 e->e_ehsize = swab16(e->e_ehsize); in convert_elf_hdr() 177 e->e_phentsize = swab16(e->e_phentsize); in convert_elf_hdr() [all …]
|
/linux-4.4.14/scripts/dtc/ |
D | flattree.c | 60 static void bin_emit_cell(void *e, cell_t val) in bin_emit_cell() argument 62 struct data *dtbuf = e; in bin_emit_cell() 67 static void bin_emit_string(void *e, char *str, int len) in bin_emit_string() argument 69 struct data *dtbuf = e; in bin_emit_string() 78 static void bin_emit_align(void *e, int a) in bin_emit_align() argument 80 struct data *dtbuf = e; in bin_emit_align() 85 static void bin_emit_data(void *e, struct data d) in bin_emit_data() argument 87 struct data *dtbuf = e; in bin_emit_data() 92 static void bin_emit_beginnode(void *e, struct label *labels) in bin_emit_beginnode() argument 94 bin_emit_cell(e, FDT_BEGIN_NODE); in bin_emit_beginnode() [all …]
|
/linux-4.4.14/include/uapi/linux/netfilter_bridge/ |
D | ebtables.h | 197 #define EBT_MATCH_ITERATE(e, fn, args...) \ argument 204 __i < (e)->watchers_offset; \ 207 __match = (void *)(e) + __i; \ 214 if (__i != (e)->watchers_offset) \ 220 #define EBT_WATCHER_ITERATE(e, fn, args...) \ argument 226 for (__i = e->watchers_offset; \ 227 __i < (e)->target_offset; \ 230 __watcher = (void *)(e) + __i; \ 237 if (__i != (e)->target_offset) \
|
/linux-4.4.14/arch/x86/kernel/ |
D | early_printk.c | 153 char *e; in early_serial_init() local 161 early_serial_base = simple_strtoul(s, &e, 16); in early_serial_init() 167 port = simple_strtoul(s, &e, 10); in early_serial_init() 168 if (port > 1 || s == e) in early_serial_init() 178 baud = simple_strtoull(s, &e, 0); in early_serial_init() 180 if (baud == 0 || s == e) in early_serial_init() 224 char *e; in early_pci_serial_init() local 236 bus = (u8)simple_strtoul(s, &e, 16); in early_pci_serial_init() 237 s = e; in early_pci_serial_init() 241 slot = (u8)simple_strtoul(s, &e, 16); in early_pci_serial_init() [all …]
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_fcoe.h | 55 #define I40E_RX_PROG_FCOE_ERROR_TBL_FULL(e) \ argument 56 (((e) >> I40E_RX_PROG_STATUS_DESC_FCOE_TBL_FULL_SHIFT) & 0x1) 58 #define I40E_RX_PROG_FCOE_ERROR_CONFLICT(e) \ argument 59 (((e) >> I40E_RX_PROG_STATUS_DESC_FCOE_CONFLICT_SHIFT) & 0x1) 66 #define I40E_RX_PROG_FCOE_ERROR_INVLFAIL(e) \ argument 67 I40E_RX_PROG_FCOE_ERROR_CONFLICT(e)
|
/linux-4.4.14/drivers/net/wimax/i2400m/ |
D | rx.c | 555 struct i2400m_roq_log_entry *e) in i2400m_roq_log_entry_print() argument 559 switch(e->type) { in i2400m_roq_log_entry_print() 563 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print() 567 index, e->ws, e->count, e->sn, e->nsn); in i2400m_roq_log_entry_print() 572 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print() 577 index, e->ws, e->count, e->sn, e->nsn, e->new_ws); in i2400m_roq_log_entry_print() 581 index, e_index, e->type); in i2400m_roq_log_entry_print() 593 struct i2400m_roq_log_entry *e; in i2400m_roq_log_add() local 601 e = &roq->log->entry[cnt_idx]; in i2400m_roq_log_add() 603 e->type = type; in i2400m_roq_log_add() [all …]
|
/linux-4.4.14/arch/ia64/sn/include/ |
D | ioerror.h | 78 #define IOERROR_INIT(e) do { (e)->ie_v.iev_a = 0; } while (0) argument 79 #define IOERROR_SETVALUE(e,f,v) do { (e)->ie_ ## f = (v); (e)->ie_v.iev_b.ievb_ ## f = 1; } while (… argument
|
/linux-4.4.14/arch/m32r/include/asm/ |
D | pgtable-2level.h | 22 #define pte_ERROR(e) \ argument 23 printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) 24 #define pmd_ERROR(e) \ argument 25 printk("%s:%d: bad pmd %08lx.\n", __FILE__, __LINE__, pmd_val(e)) 26 #define pgd_ERROR(e) \ argument 27 printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, pgd_val(e))
|
/linux-4.4.14/fs/hfs/ |
D | bfind.c | 47 int b, e; in __hfs_brec_find() local 51 e = bnode->num_recs - 1; in __hfs_brec_find() 54 rec = (e + b) / 2; in __hfs_brec_find() 64 e = rec; in __hfs_brec_find() 71 e = rec - 1; in __hfs_brec_find() 72 } while (b <= e); in __hfs_brec_find() 73 if (rec != e && e >= 0) { in __hfs_brec_find() 74 len = hfs_brec_lenoff(bnode, e, &off); in __hfs_brec_find() 75 keylen = hfs_brec_keylen(bnode, e); in __hfs_brec_find() 83 fd->record = e; in __hfs_brec_find()
|
/linux-4.4.14/drivers/xen/xen-pciback/ |
D | vpci.c | 157 struct pci_dev_entry *e; in __xen_pcibk_release_pci_dev() local 159 list_for_each_entry(e, &vpci_dev->dev_list[slot], list) { in __xen_pcibk_release_pci_dev() 160 if (e->dev == dev) { in __xen_pcibk_release_pci_dev() 161 list_del(&e->list); in __xen_pcibk_release_pci_dev() 162 found_dev = e->dev; in __xen_pcibk_release_pci_dev() 163 kfree(e); in __xen_pcibk_release_pci_dev() 213 struct pci_dev_entry *e, *tmp; in __xen_pcibk_release_devices() local 214 list_for_each_entry_safe(e, tmp, &vpci_dev->dev_list[slot], in __xen_pcibk_release_devices() 216 struct pci_dev *dev = e->dev; in __xen_pcibk_release_devices() 217 list_del(&e->list); in __xen_pcibk_release_devices() [all …]
|
/linux-4.4.14/sound/soc/ |
D | soc-ops.c | 48 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in snd_soc_info_enum_double() local 50 return snd_ctl_enum_info(uinfo, e->shift_l == e->shift_r ? 1 : 2, in snd_soc_info_enum_double() 51 e->items, e->texts); in snd_soc_info_enum_double() 68 struct soc_enum *e = (struct soc_enum *)kcontrol->private_value; in snd_soc_get_enum_double() local 73 ret = snd_soc_component_read(component, e->reg, ®_val); in snd_soc_get_enum_double() 76 val = (reg_val >> e->shift_l) & e->mask; in snd_soc_get_enum_double() 77 item = snd_soc_enum_val_to_item(e, val); in snd_soc_get_enum_double() 79 if (e->shift_l != e->shift_r) { in snd_soc_get_enum_double() 80 val = (reg_val >> e->shift_l) & e->mask; in snd_soc_get_enum_double() 81 item = snd_soc_enum_val_to_item(e, val); in snd_soc_get_enum_double() [all …]
|
/linux-4.4.14/kernel/ |
D | extable.c | 53 const struct exception_table_entry *e; in search_exception_tables() local 55 e = search_extable(__start___ex_table, __stop___ex_table-1, addr); in search_exception_tables() 56 if (!e) in search_exception_tables() 57 e = search_module_extables(addr); in search_exception_tables() 58 return e; in search_exception_tables()
|
D | auditfilter.c | 92 static inline void audit_free_rule(struct audit_entry *e) in audit_free_rule() argument 95 struct audit_krule *erule = &e->rule; in audit_free_rule() 105 kfree(e); in audit_free_rule() 110 struct audit_entry *e = container_of(head, struct audit_entry, rcu); in audit_free_rule_rcu() local 111 audit_free_rule(e); in audit_free_rule_rcu() 865 struct audit_entry *e, *found = NULL; in audit_find_rule() local 876 list_for_each_entry(e, list, list) in audit_find_rule() 877 if (!audit_compare_rule(&entry->rule, &e->rule)) { in audit_find_rule() 878 found = e; in audit_find_rule() 887 list_for_each_entry(e, list, list) in audit_find_rule() [all …]
|
/linux-4.4.14/include/net/ |
D | fou.h | 11 size_t fou_encap_hlen(struct ip_tunnel_encap *e); 12 static size_t gue_encap_hlen(struct ip_tunnel_encap *e); 14 int fou_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e, 16 int gue_build_header(struct sk_buff *skb, struct ip_tunnel_encap *e,
|
/linux-4.4.14/drivers/scsi/ |
D | vmw_pvscsi.c | 354 struct PVSCSIRingReqDesc *e) in pvscsi_map_buffers() argument 360 e->dataLen = bufflen; in pvscsi_map_buffers() 361 e->dataAddr = 0; in pvscsi_map_buffers() 372 e->flags |= PVSCSI_FLAG_CMD_WITH_SG_LIST; in pvscsi_map_buffers() 375 e->dataAddr = ctx->sglPA; in pvscsi_map_buffers() 377 e->dataAddr = sg_dma_address(sg); in pvscsi_map_buffers() 385 e->dataAddr = ctx->dataPA; in pvscsi_map_buffers() 519 const struct PVSCSIRingCmpDesc *e) in pvscsi_complete_request() argument 524 u32 btstat = e->hostStatus; in pvscsi_complete_request() 525 u32 sdstat = e->scsiStatus; in pvscsi_complete_request() [all …]
|
/linux-4.4.14/lib/lz4/ |
D | lz4defs.h | 108 #define LZ4_SECURECOPY(s, d, e) \ argument 110 if (d < e) { \ 111 LZ4_WILDCOPY(s, d, e); \ 149 #define LZ4_WILDCOPY(s, d, e) \ argument 152 } while (d < e) 156 u8 *e = (d) + l; \ 157 LZ4_WILDCOPY(s, d, e); \ 158 d = e; \
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_audio.c | 370 int e = isdn_audio_get_bits(s, &in, &len); in isdn_audio_adpcm2xlaw() local 373 if (nbits == 4 && e == 0) in isdn_audio_adpcm2xlaw() 375 sign = (e >> (nbits - 1)) ? -1 : 1; in isdn_audio_adpcm2xlaw() 376 e &= bitmask[nbits - 1]; in isdn_audio_adpcm2xlaw() 377 a += sign * ((e << 1) + 1) * d >> 1; in isdn_audio_adpcm2xlaw() 386 d = (d * Mx[nbits - 2][e] + 0x2000) >> 14; in isdn_audio_adpcm2xlaw() 405 int e = 0, in isdn_audio_xlaw2adpcm() local 415 e = nmax; in isdn_audio_xlaw2adpcm() 420 e++; in isdn_audio_xlaw2adpcm() 422 if (nbits == 4 && ((e & 0x0f) == 0)) in isdn_audio_xlaw2adpcm() [all …]
|
/linux-4.4.14/drivers/soc/qcom/ |
D | smem.c | 271 private_entry_next(struct smem_private_entry *e) in private_entry_next() argument 273 void *p = e; in private_entry_next() 275 return p + sizeof(*e) + le16_to_cpu(e->padding_hdr) + in private_entry_next() 276 le32_to_cpu(e->size); in private_entry_next() 279 static void *entry_to_item(struct smem_private_entry *e) in entry_to_item() argument 281 void *p = e; in entry_to_item() 283 return p + sizeof(*e) + le16_to_cpu(e->padding_hdr); in entry_to_item() 460 struct smem_private_entry *e, *end; in qcom_smem_get_private() local 463 e = phdr_to_first_private_entry(phdr); in qcom_smem_get_private() 466 while (e < end) { in qcom_smem_get_private() [all …]
|
/linux-4.4.14/Documentation/networking/ |
D | xfrm_proc.txt | 23 i.e. Either inbound SPI, address, or IPsec protocol at SA is wrong 26 e.g. SA key is wrong 31 i.e. Sequence number is out of window 36 e.g. UDP encapsulation type is mismatch 41 e.g. Inbound SAs are correct but SP rule is wrong 44 e.g. Inbound SAs are correct but no SP is found 66 i.e. Sequence number overflow
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_rc.c | 80 struct qib_ack_entry *e; in qib_make_rc_ack() local 96 e = &qp->s_ack_queue[qp->s_tail_ack_queue]; in qib_make_rc_ack() 97 if (e->rdma_sge.mr) { in qib_make_rc_ack() 98 qib_put_mr(e->rdma_sge.mr); in qib_make_rc_ack() 99 e->rdma_sge.mr = NULL; in qib_make_rc_ack() 120 e = &qp->s_ack_queue[qp->s_tail_ack_queue]; in qib_make_rc_ack() 121 if (e->opcode == OP(RDMA_READ_REQUEST)) { in qib_make_rc_ack() 128 len = e->rdma_sge.sge_length; in qib_make_rc_ack() 129 if (len && !e->rdma_sge.mr) { in qib_make_rc_ack() 134 qp->s_rdma_mr = e->rdma_sge.mr; in qib_make_rc_ack() [all …]
|
/linux-4.4.14/arch/powerpc/boot/dts/fsl/ |
D | e6500_power_isa.dtsi | 39 power-isa-e; // Embedded 43 power-isa-e.ed; // Embedded.Enhanced Debug 44 power-isa-e.pd; // Embedded.External PID 45 power-isa-e.hv; // Embedded.Hypervisor 46 power-isa-e.le; // Embedded.Little-Endian 47 power-isa-e.pm; // Embedded.Performance Monitor 48 power-isa-e.pc; // Embedded.Processor Control 57 power-isa-e.pt; // Embedded.Page Table 58 power-isa-e.hv.lrat; // Embedded.Hypervisor.LRAT 59 power-isa-e.em; // Embedded Multi-Threading
|
D | e5500_power_isa.dtsi | 39 power-isa-e; // Embedded 43 power-isa-e.ed; // Embedded.Enhanced Debug 44 power-isa-e.pd; // Embedded.External PID 45 power-isa-e.hv; // Embedded.Hypervisor 46 power-isa-e.le; // Embedded.Little-Endian 47 power-isa-e.pm; // Embedded.Performance Monitor 48 power-isa-e.pc; // Embedded.Processor Control
|
D | e500mc_power_isa.dtsi | 39 power-isa-e; // Embedded 43 power-isa-e.ed; // Embedded.Enhanced Debug 44 power-isa-e.pd; // Embedded.External PID 45 power-isa-e.hv; // Embedded.Hypervisor 46 power-isa-e.le; // Embedded.Little-Endian 47 power-isa-e.pm; // Embedded.Performance Monitor 48 power-isa-e.pc; // Embedded.Processor Control
|
/linux-4.4.14/drivers/usb/host/ |
D | ehci.h | 652 #define ehci_is_TDI(e) (ehci_to_hcd(e)->has_tt) argument 674 #define ehci_is_TDI(e) (0) argument 685 #define ehci_has_fsl_portno_bug(e) ((e)->has_fsl_port_bug) argument 687 #define ehci_has_fsl_portno_bug(e) (0) argument 696 #define ehci_has_fsl_hs_errata(e) ((e)->has_fsl_hs_errata) argument 698 #define ehci_has_fsl_hs_errata(e) (0) argument 716 #define ehci_big_endian_mmio(e) ((e)->big_endian_mmio) argument 717 #define ehci_big_endian_capbase(e) ((e)->big_endian_capbase) argument 719 #define ehci_big_endian_mmio(e) 0 argument 720 #define ehci_big_endian_capbase(e) 0 argument [all …]
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | pgtable-2level.h | 22 #define pte_ERROR(e) \ argument 23 printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, pte_val(e)) 24 #define pgd_ERROR(e) \ argument 25 printk("%s:%d: bad pgd %08lx.\n", __FILE__, __LINE__, pgd_val(e))
|
/linux-4.4.14/drivers/gpu/drm/rcar-du/ |
D | rcar_du_encoder.h | 39 #define to_rcar_encoder(e) \ argument 40 container_of(e, struct rcar_du_encoder, slave.base) 42 #define rcar_encoder_to_drm_encoder(e) (&(e)->slave.base) argument
|
/linux-4.4.14/drivers/scsi/megaraid/ |
D | Kconfig.megaraid | 33 Dell PERC 4e/Si 1028:0013:1028:016c 34 Dell PERC 4e/Di 1028:0013:1028:016d 35 Dell PERC 4e/Di 1028:0013:1028:016e 36 Dell PERC 4e/Di 1028:0013:1028:016f 37 Dell PERC 4e/Di 1028:0013:1028:0170 38 Dell PERC 4e/DC 1000:0408:1028:0002 39 Dell PERC 4e/SC 1000:0408:1028:0001
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | rc.c | 100 struct hfi1_ack_entry *e; in make_rc_ack() local 117 e = &qp->s_ack_queue[qp->s_tail_ack_queue]; in make_rc_ack() 118 if (e->rdma_sge.mr) { in make_rc_ack() 119 hfi1_put_mr(e->rdma_sge.mr); in make_rc_ack() 120 e->rdma_sge.mr = NULL; in make_rc_ack() 141 e = &qp->s_ack_queue[qp->s_tail_ack_queue]; in make_rc_ack() 142 if (e->opcode == OP(RDMA_READ_REQUEST)) { in make_rc_ack() 149 len = e->rdma_sge.sge_length; in make_rc_ack() 150 if (len && !e->rdma_sge.mr) { in make_rc_ack() 155 qp->s_rdma_mr = e->rdma_sge.mr; in make_rc_ack() [all …]
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_rc.c | 89 struct ipath_ack_entry *e; in ipath_make_rc_ack() local 124 e = &qp->s_ack_queue[qp->s_tail_ack_queue]; in ipath_make_rc_ack() 125 if (e->opcode == OP(RDMA_READ_REQUEST)) { in ipath_make_rc_ack() 127 qp->s_ack_rdma_sge = e->rdma_sge; in ipath_make_rc_ack() 129 len = e->rdma_sge.sge.sge_length; in ipath_make_rc_ack() 135 e->sent = 1; in ipath_make_rc_ack() 139 qp->s_ack_rdma_psn = e->psn; in ipath_make_rc_ack() 148 cpu_to_be32(e->atomic_data >> 32); in ipath_make_rc_ack() 150 cpu_to_be32(e->atomic_data); in ipath_make_rc_ack() 152 bth2 = e->psn; in ipath_make_rc_ack() [all …]
|
/linux-4.4.14/drivers/block/paride/ |
D | paride.c | 173 int e[2] = { 0, 0 }; in default_test_proto() local 183 e[j]++; in default_test_proto() 191 pi->mode, e[0], e[1]); in default_test_proto() 193 return (e[0] && e[1]); /* not here if both > 0 */ in default_test_proto() 307 int max, s, e; in pi_probe_unit() local 310 e = s + 1; in pi_probe_unit() 314 e = pi->proto->max_units; in pi_probe_unit() 329 for (pi->unit = s; pi->unit < e; pi->unit++) in pi_probe_unit() 354 int p, k, s, e; in pi_init() local 358 e = s + 1; in pi_init() [all …]
|
/linux-4.4.14/drivers/media/tuners/ |
D | tda9887.c | 52 unsigned char e; member 145 .e = ( cGating_36 | 156 .e = ( cGating_36 | 167 .e = ( cGating_36 | 178 .e = ( cGating_36 | 187 .e = ( cAudioIF_5_5 | 195 .e = ( cGating_36 | 205 .e = ( cGating_36 | 216 .e = ( cGating_36 | 227 .e = ( cGating_36 | [all …]
|
/linux-4.4.14/drivers/block/drbd/ |
D | drbd_actlog.c | 462 struct lc_element *e; in al_write_transaction() local 503 list_for_each_entry(e, &device->act_log->to_be_changed, list) { in al_write_transaction() 508 buffer->update_slot_nr[i] = cpu_to_be16(e->lc_index); in al_write_transaction() 509 buffer->update_extent_nr[i] = cpu_to_be32(e->lc_new_number); in al_write_transaction() 510 if (e->lc_number != LC_FREE) in al_write_transaction() 512 al_extent_to_bm_page(e->lc_number)); in al_write_transaction() 653 struct lc_element *e; in update_rs_extent() local 665 e = lc_find(device->resync, enr); in update_rs_extent() 667 e = lc_get(device->resync, enr); in update_rs_extent() 668 if (e) { in update_rs_extent() [all …]
|
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 829 struct freelQ_e *e = &q->entries[q->pidx]; in refill_free_list() local 848 e->addr_lo = (u32)mapping; in refill_free_list() 849 e->addr_hi = (u64)mapping >> 32; in refill_free_list() 850 e->len_gen = V_CMD_LEN(dma_len) | V_CMD_GEN1(q->genbit); in refill_free_list() 852 e->gen2 = V_CMD_GEN2(q->genbit); in refill_free_list() 854 e++; in refill_free_list() 860 e = q->entries; in refill_free_list() 1141 static inline void write_tx_desc(struct cmdQ_e *e, dma_addr_t mapping, in write_tx_desc() argument 1147 e->addr_lo = (u32)mapping; in write_tx_desc() 1148 e->addr_hi = (u64)mapping >> 32; in write_tx_desc() [all …]
|
D | cxgb2.c | 527 const struct espi_intr_counts *e; in get_stats() local 529 e = t1_espi_get_intr_counts(adapter->espi); in get_stats() 530 *data++ = e->DIP2_parity_err; in get_stats() 531 *data++ = e->DIP4_err; in get_stats() 532 *data++ = e->rx_drops; in get_stats() 533 *data++ = e->tx_drops; in get_stats() 534 *data++ = e->rx_ovflw; in get_stats() 535 *data++ = e->parity_err; in get_stats() 707 static void get_sge_param(struct net_device *dev, struct ethtool_ringparam *e) in get_sge_param() argument 712 e->rx_max_pending = MAX_RX_BUFFERS; in get_sge_param() [all …]
|
/linux-4.4.14/fs/hfsplus/ |
D | bfind.c | 118 int b, e; in __hfs_brec_find() local 123 e = bnode->num_recs - 1; in __hfs_brec_find() 126 rec = (e + b) / 2; in __hfs_brec_find() 134 if (rec_found(bnode, fd, &b, &e, &rec)) { in __hfs_brec_find() 138 } while (b <= e); in __hfs_brec_find() 140 if (rec != e && e >= 0) { in __hfs_brec_find() 141 len = hfs_brec_lenoff(bnode, e, &off); in __hfs_brec_find() 142 keylen = hfs_brec_keylen(bnode, e); in __hfs_brec_find() 151 fd->record = e; in __hfs_brec_find()
|
/linux-4.4.14/arch/sparc/kernel/ |
D | leon_kernel.c | 266 rld = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].rld); in leon_cycles_offset() 267 val = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].val); in leon_cycles_offset() 268 ctrl = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl); in leon_cycles_offset() 270 val = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].val); in leon_cycles_offset() 387 ctrl = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl); in leon_init_timers() 388 LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl, in leon_init_timers() 390 ctrl = LEON3_BYPASS_LOAD_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl); in leon_init_timers() 397 LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].val, 0); in leon_init_timers() 398 LEON3_BYPASS_STORE_PA(&leon3_gptimer_regs->e[leon3_gptimer_idx].rld, in leon_init_timers() 401 &leon3_gptimer_regs->e[leon3_gptimer_idx].ctrl, 0); in leon_init_timers() [all …]
|
/linux-4.4.14/drivers/net/ethernet/marvell/ |
D | skge.c | 911 struct skge_element *e; in skge_ring_alloc() local 914 ring->start = kcalloc(ring->count, sizeof(*e), GFP_KERNEL); in skge_ring_alloc() 918 for (i = 0, e = ring->start, d = vaddr; i < ring->count; i++, e++, d++) { in skge_ring_alloc() 919 e->desc = d; in skge_ring_alloc() 921 e->next = ring->start; in skge_ring_alloc() 924 e->next = e + 1; in skge_ring_alloc() 934 static int skge_rx_setup(struct skge_port *skge, struct skge_element *e, in skge_rx_setup() argument 937 struct skge_rx_desc *rd = e->desc; in skge_rx_setup() 948 e->skb = skb; in skge_rx_setup() 957 dma_unmap_addr_set(e, mapaddr, map); in skge_rx_setup() [all …]
|
/linux-4.4.14/arch/mips/cavium-octeon/ |
D | dma-octeon.c | 266 struct boot_mem_map_entry *e = &boot_mem_map.map[i]; in plat_swiotlb_setup() local 267 if (e->type != BOOT_MEM_RAM && e->type != BOOT_MEM_INIT_RAM) in plat_swiotlb_setup() 271 if (e->addr > 0x410000000ull && !OCTEON_IS_OCTEON2()) in plat_swiotlb_setup() 274 addr_size += e->size; in plat_swiotlb_setup() 276 if (max_addr < e->addr + e->size) in plat_swiotlb_setup() 277 max_addr = e->addr + e->size; in plat_swiotlb_setup()
|
/linux-4.4.14/net/atm/ |
D | proc.c | 457 static struct atm_proc_entry *e; in atm_proc_dirs_remove() local 459 for (e = atm_proc_ents; e->name; e++) { in atm_proc_dirs_remove() 460 if (e->dirent) in atm_proc_dirs_remove() 461 remove_proc_entry(e->name, atm_proc_root); in atm_proc_dirs_remove() 468 static struct atm_proc_entry *e; in atm_proc_init() local 474 for (e = atm_proc_ents; e->name; e++) { in atm_proc_init() 477 dirent = proc_create(e->name, S_IRUGO, in atm_proc_init() 478 atm_proc_root, e->proc_fops); in atm_proc_init() 481 e->dirent = dirent; in atm_proc_init()
|
/linux-4.4.14/include/uapi/linux/netfilter_ipv4/ |
D | ip_tables.h | 60 #define IPT_MATCH_ITERATE(e, fn, args...) \ argument 61 XT_MATCH_ITERATE(struct ipt_entry, e, fn, ## args) 221 ipt_get_target(struct ipt_entry *e) in ipt_get_target() argument 223 return (void *)e + e->target_offset; in ipt_get_target()
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_ipp.c | 630 struct drm_exynos_ipp_send_event *e; in ipp_get_event() local 635 e = kzalloc(sizeof(*e), GFP_KERNEL); in ipp_get_event() 636 if (!e) { in ipp_get_event() 638 c_node->filp->event_space += sizeof(e->event); in ipp_get_event() 644 e->event.base.type = DRM_EXYNOS_IPP_EVENT; in ipp_get_event() 645 e->event.base.length = sizeof(e->event); in ipp_get_event() 646 e->event.user_data = qbuf->user_data; in ipp_get_event() 647 e->event.prop_id = qbuf->prop_id; in ipp_get_event() 648 e->event.buf_id[EXYNOS_DRM_OPS_DST] = qbuf->buf_id; in ipp_get_event() 649 e->base.event = &e->event.base; in ipp_get_event() [all …]
|
/linux-4.4.14/drivers/pci/pcie/aer/ |
D | aerdrv_errprint.c | 39 #define AER_GET_AGENT(t, e) \ argument 40 ((e & AER_AGENT_COMPLETER_MASK(t)) ? AER_AGENT_COMPLETER : \ 41 (e & AER_AGENT_REQUESTER_MASK(t)) ? AER_AGENT_REQUESTER : \ 42 (e & AER_AGENT_TRANSMITTER_MASK(t)) ? AER_AGENT_TRANSMITTER : \ 57 #define AER_GET_LAYER_ERROR(t, e) \ argument 58 ((e & AER_PHYSICAL_LAYER_ERROR_MASK(t)) ? AER_PHYSICAL_LAYER_ERROR : \ 59 (e & AER_DATA_LINK_LAYER_ERROR_MASK(t)) ? AER_DATA_LINK_LAYER_ERROR : \
|
/linux-4.4.14/fs/f2fs/ |
D | node.c | 143 static void __del_from_nat_cache(struct f2fs_nm_info *nm_i, struct nat_entry *e) in __del_from_nat_cache() argument 145 list_del(&e->list); in __del_from_nat_cache() 146 radix_tree_delete(&nm_i->nat_root, nat_get_nid(e)); in __del_from_nat_cache() 148 kmem_cache_free(nat_entry_slab, e); in __del_from_nat_cache() 201 struct nat_entry *e; in need_dentry_mark() local 205 e = __lookup_nat_cache(nm_i, nid); in need_dentry_mark() 206 if (e) { in need_dentry_mark() 207 if (!get_nat_flag(e, IS_CHECKPOINTED) && in need_dentry_mark() 208 !get_nat_flag(e, HAS_FSYNCED_INODE)) in need_dentry_mark() 218 struct nat_entry *e; in is_checkpointed_node() local [all …]
|
/linux-4.4.14/drivers/net/ |
D | tun.c | 280 struct tun_flow_entry *e; in tun_flow_find() local 282 hlist_for_each_entry_rcu(e, head, hash_link) { in tun_flow_find() 283 if (e->rxhash == rxhash) in tun_flow_find() 284 return e; in tun_flow_find() 293 struct tun_flow_entry *e = kmalloc(sizeof(*e), GFP_ATOMIC); in tun_flow_create() local 295 if (e) { in tun_flow_create() 298 e->updated = jiffies; in tun_flow_create() 299 e->rxhash = rxhash; in tun_flow_create() 300 e->rps_rxhash = 0; in tun_flow_create() 301 e->queue_index = queue_index; in tun_flow_create() [all …]
|