/Linux-v4.19/drivers/char/ipmi/ |
D | ipmi_si_hotmod.c | 57 char **curr) in parse_str() argument 62 s = strchr(*curr, ','); in parse_str() 70 if (strcmp(*curr, v[i].name) == 0) { in parse_str() 72 *curr = s; in parse_str() 77 pr_warn(PFX "Invalid hotmod %s '%s'\n", name, *curr); in parse_str() 81 static int check_hotmod_int_op(const char *curr, const char *option, in check_hotmod_int_op() argument 86 if (strcmp(curr, name) == 0) { in check_hotmod_int_op() 88 pr_warn(PFX "No option given for '%s'\n", curr); in check_hotmod_int_op() 93 pr_warn(PFX "Bad option given for '%s'\n", curr); in check_hotmod_int_op() 105 char *next, *curr, *s, *n, *o; in hotmod_handler() local [all …]
|
/Linux-v4.19/kernel/locking/ |
D | lockdep.c | 1155 struct task_struct *curr = current; in print_circular_bug_header() local 1166 curr->comm, task_pid_nr(curr)); in print_circular_bug_header() 1191 struct task_struct *curr = current; in print_circular_bug() local 1218 lockdep_print_held_locks(curr); in print_circular_bug() 1500 print_bad_irq_dependency(struct task_struct *curr, in print_bad_irq_dependency() argument 1521 curr->comm, task_pid_nr(curr), in print_bad_irq_dependency() 1522 curr->hardirq_context, hardirq_count() >> HARDIRQ_SHIFT, in print_bad_irq_dependency() 1523 curr->softirq_context, softirq_count() >> SOFTIRQ_SHIFT, in print_bad_irq_dependency() 1524 curr->hardirqs_enabled, in print_bad_irq_dependency() 1525 curr->softirqs_enabled); in print_bad_irq_dependency() [all …]
|
D | osq_lock.c | 47 int curr = encode_cpu(smp_processor_id()); in osq_wait_next() local 58 if (atomic_read(&lock->tail) == curr && in osq_wait_next() 59 atomic_cmpxchg_acquire(&lock->tail, curr, old) == curr) { in osq_wait_next() 94 int curr = encode_cpu(smp_processor_id()); in osq_lock() local 99 node->cpu = curr; in osq_lock() 107 old = atomic_xchg(&lock->tail, curr); in osq_lock() 209 int curr = encode_cpu(smp_processor_id()); in osq_unlock() local 214 if (likely(atomic_cmpxchg_release(&lock->tail, curr, in osq_unlock() 215 OSQ_UNLOCKED_VAL) == curr)) in osq_unlock()
|
/Linux-v4.19/fs/hfsplus/ |
D | bitmap.c | 25 __be32 *pptr, *curr, *end; in hfsplus_block_allocate() local 43 curr = pptr + (offset & (PAGE_CACHE_BITS - 1)) / 32; in hfsplus_block_allocate() 52 val = *curr; in hfsplus_block_allocate() 61 curr++; in hfsplus_block_allocate() 65 while (curr < end) { in hfsplus_block_allocate() 66 val = *curr; in hfsplus_block_allocate() 75 curr++; in hfsplus_block_allocate() 87 curr = pptr = kmap(page); in hfsplus_block_allocate() 98 start = offset + (curr - pptr) * 32 + i; in hfsplus_block_allocate() 115 *curr++ = cpu_to_be32(n); in hfsplus_block_allocate() [all …]
|
/Linux-v4.19/drivers/input/serio/ |
D | hp_sdc.c | 183 hp_sdc_transaction *curr; in hp_sdc_take() local 190 curr = hp_sdc.tq[hp_sdc.rcurr]; in hp_sdc_take() 193 curr->seq[curr->idx++] = status; in hp_sdc_take() 194 curr->seq[curr->idx++] = data; in hp_sdc_take() 200 if (curr->seq[curr->actidx] & HP_SDC_ACT_SEMAPHORE) in hp_sdc_take() 201 if (curr->act.semaphore) in hp_sdc_take() 202 up(curr->act.semaphore); in hp_sdc_take() 204 if (curr->seq[curr->actidx] & HP_SDC_ACT_CALLBACK) in hp_sdc_take() 205 if (curr->act.irqhook) in hp_sdc_take() 206 curr->act.irqhook(irq, dev_id, status, data); in hp_sdc_take() [all …]
|
/Linux-v4.19/fs/hfs/ |
D | bitmap.c | 31 __be32 *curr, *end; in hfs_find_set_zero_bits() local 40 curr = bitmap + (offset / 32); in hfs_find_set_zero_bits() 44 val = *curr; in hfs_find_set_zero_bits() 56 while (++curr < end) { in hfs_find_set_zero_bits() 57 val = *curr; in hfs_find_set_zero_bits() 70 start = (curr - bitmap) * 32 + i; in hfs_find_set_zero_bits() 85 *curr++ = cpu_to_be32(n); in hfs_find_set_zero_bits() 88 n = be32_to_cpu(*curr); in hfs_find_set_zero_bits() 95 *curr++ = cpu_to_be32(0xffffffff); in hfs_find_set_zero_bits() 107 *curr = cpu_to_be32(n); in hfs_find_set_zero_bits() [all …]
|
/Linux-v4.19/kernel/sched/ |
D | stop_task.c | 60 struct task_struct *curr = rq->curr; in put_prev_task_stop() local 63 delta_exec = rq_clock_task(rq) - curr->se.exec_start; in put_prev_task_stop() 67 schedstat_set(curr->se.statistics.exec_max, in put_prev_task_stop() 68 max(curr->se.statistics.exec_max, delta_exec)); in put_prev_task_stop() 70 curr->se.sum_exec_runtime += delta_exec; in put_prev_task_stop() 71 account_group_exec_runtime(curr, delta_exec); in put_prev_task_stop() 73 curr->se.exec_start = rq_clock_task(rq); in put_prev_task_stop() 74 cgroup_account_cputime(curr, delta_exec); in put_prev_task_stop() 85 static void task_tick_stop(struct rq *rq, struct task_struct *curr, int queued) in task_tick_stop() argument
|
D | swait.c | 24 struct swait_queue *curr; in swake_up_locked() local 29 curr = list_first_entry(&q->task_list, typeof(*curr), task_list); in swake_up_locked() 30 wake_up_process(curr->task); in swake_up_locked() 31 list_del_init(&curr->task_list); in swake_up_locked() 51 struct swait_queue *curr; in swake_up_all() local 57 curr = list_first_entry(&tmp, typeof(*curr), task_list); in swake_up_all() 59 wake_up_state(curr->task, TASK_NORMAL); in swake_up_all() 60 list_del_init(&curr->task_list); in swake_up_all()
|
D | rt.c | 89 rt_rq->highest_prio.curr = MAX_RT_PRIO; in init_rt_rq() 161 rt_rq->highest_prio.curr = MAX_RT_PRIO; in init_tg_rt_entry() 265 return rq->rt.highest_prio.curr > prev->prio; in need_pull_rt_task() 487 struct task_struct *curr = rq_of_rt_rq(rt_rq)->curr; in sched_rt_rq_enqueue() local 501 if (rt_rq->highest_prio.curr < curr->prio) in sched_rt_rq_enqueue() 870 if (rt_rq->rt_nr_running && rq->curr == rq->idle) in do_sched_rt_period_timer() 901 return rt_rq->highest_prio.curr; in rt_se_prio() 956 struct task_struct *curr = rq->curr; in update_curr_rt() local 957 struct sched_rt_entity *rt_se = &curr->rt; in update_curr_rt() 961 if (curr->sched_class != &rt_sched_class) in update_curr_rt() [all …]
|
D | deadline.c | 363 dl_rq->earliest_dl.curr = dl_rq->earliest_dl.next = 0; in init_dl_rq() 1020 if (dl_task(rq->curr)) in dl_task_timer() 1149 struct task_struct *curr = rq->curr; in update_curr_dl() local 1150 struct sched_dl_entity *dl_se = &curr->dl; in update_curr_dl() 1155 if (!dl_task(curr) || !on_dl_rq(dl_se)) in update_curr_dl() 1167 delta_exec = now - curr->se.exec_start; in update_curr_dl() 1174 schedstat_set(curr->se.statistics.exec_max, in update_curr_dl() 1175 max(curr->se.statistics.exec_max, delta_exec)); in update_curr_dl() 1177 curr->se.sum_exec_runtime += delta_exec; in update_curr_dl() 1178 account_group_exec_runtime(curr, delta_exec); in update_curr_dl() [all …]
|
/Linux-v4.19/drivers/char/agp/ |
D | generic.c | 163 void agp_free_memory(struct agp_memory *curr) in agp_free_memory() argument 167 if (curr == NULL) in agp_free_memory() 170 if (curr->is_bound) in agp_free_memory() 171 agp_unbind_memory(curr); in agp_free_memory() 173 if (curr->type >= AGP_USER_TYPES) { in agp_free_memory() 174 agp_generic_free_by_type(curr); in agp_free_memory() 178 if (curr->type != 0) { in agp_free_memory() 179 curr->bridge->driver->free_by_type(curr); in agp_free_memory() 182 if (curr->page_count != 0) { in agp_free_memory() 183 if (curr->bridge->driver->agp_destroy_pages) { in agp_free_memory() [all …]
|
/Linux-v4.19/lib/ |
D | sg_split.c | 29 struct sg_splitter *curr = splitters; in sg_calculate_split() local 45 if (!curr->in_sg0) { in sg_calculate_split() 46 curr->in_sg0 = sg; in sg_calculate_split() 47 curr->skip_sg0 = skip; in sg_calculate_split() 50 curr->nents++; in sg_calculate_split() 51 curr->length_last_sg = len; in sg_calculate_split() 54 curr++; in sg_calculate_split() 59 curr->in_sg0 = sg; in sg_calculate_split() 60 curr->skip_sg0 = skip; in sg_calculate_split() 61 curr->nents = 1; in sg_calculate_split() [all …]
|
/Linux-v4.19/arch/x86/um/ |
D | tls_32.c | 98 struct uml_tls_struct* curr = in load_TLS() local 105 if (!curr->present) { in load_TLS() 106 if (!curr->flushed) { in load_TLS() 107 clear_user_desc(&curr->tls); in load_TLS() 108 curr->tls.entry_number = idx; in load_TLS() 110 WARN_ON(!LDT_empty(&curr->tls)); in load_TLS() 115 if (!(flags & O_FORCE) && curr->flushed) in load_TLS() 118 ret = do_set_thread_area(&curr->tls); in load_TLS() 122 curr->flushed = 1; in load_TLS() 138 struct uml_tls_struct* curr = in needs_TLS_update() local [all …]
|
/Linux-v4.19/drivers/staging/greybus/ |
D | audio_topology.c | 992 struct gb_audio_control *curr; in gbaudio_tplg_create_widget() local 1015 curr = w->ctl; in gbaudio_tplg_create_widget() 1018 curr); in gbaudio_tplg_create_widget() 1022 curr->name, curr->iface); in gbaudio_tplg_create_widget() 1032 control->id = curr->id; in gbaudio_tplg_create_widget() 1033 control->name = curr->name; in gbaudio_tplg_create_widget() 1036 if (curr->info.type == GB_AUDIO_CTL_ELEM_TYPE_ENUMERATED) { in gbaudio_tplg_create_widget() 1038 &curr->info.value.enumerated; in gbaudio_tplg_create_widget() 1052 curr = (void *)curr + csize; in gbaudio_tplg_create_widget() 1152 struct gb_audio_control *curr; in gbaudio_tplg_process_kcontrols() local [all …]
|
/Linux-v4.19/sound/core/ |
D | pcm_param_trace.h | 29 …eam, snd_pcm_hw_param_t type, int index, const struct snd_mask *prev, const struct snd_mask *curr), 30 TP_ARGS(substream, type, index, prev, curr), 51 memcpy(__entry->curr_bits, curr->bits, sizeof(__u32) * 8); 69 …_pcm_hw_param_t type, int index, const struct snd_interval *prev, const struct snd_interval *curr), 70 TP_ARGS(substream, type, index, prev, curr), 106 __entry->curr_min = curr->min; 107 __entry->curr_max = curr->max; 108 __entry->curr_openmin = curr->openmin; 109 __entry->curr_openmax = curr->openmax; 110 __entry->curr_integer = curr->integer; [all …]
|
/Linux-v4.19/sound/firewire/oxfw/ |
D | oxfw-proc.c | 15 struct snd_oxfw_stream_formation formation, curr; in proc_read_formation() local 23 &curr); in proc_read_formation() 38 if (memcmp(&formation, &curr, sizeof(curr)) == 0) in proc_read_formation() 53 &curr); in proc_read_formation() 68 if (memcmp(&formation, &curr, sizeof(curr)) == 0) in proc_read_formation()
|
/Linux-v4.19/lib/zlib_inflate/ |
D | inftrees.c | 30 unsigned curr; /* number of index bits for current table */ in zlib_inflate_table() local 191 curr = root; /* current table index bits */ in zlib_inflate_table() 220 fill = 1U << curr; in zlib_inflate_table() 255 curr = len - drop; in zlib_inflate_table() 256 left = (int)(1 << curr); in zlib_inflate_table() 257 while (curr + drop < max) { in zlib_inflate_table() 258 left -= count[curr + drop]; in zlib_inflate_table() 260 curr++; in zlib_inflate_table() 265 used += 1U << curr; in zlib_inflate_table() 271 (*table)[low].op = (unsigned char)curr; in zlib_inflate_table()
|
/Linux-v4.19/fs/btrfs/ |
D | delayed-inode.c | 692 struct btrfs_delayed_item *curr, *next; in btrfs_batch_insert_items() local 724 curr = next; in btrfs_batch_insert_items() 725 next = __btrfs_next_delayed_item(curr); in btrfs_batch_insert_items() 729 if (!btrfs_is_continuous_delayed_item(curr, next)) in btrfs_batch_insert_items() 774 list_for_each_entry_safe(curr, next, &head, tree_list) { in btrfs_batch_insert_items() 776 write_extent_buffer(leaf, &curr->data, in btrfs_batch_insert_items() 778 curr->data_len); in btrfs_batch_insert_items() 781 btrfs_delayed_item_release_metadata(root, curr); in btrfs_batch_insert_items() 783 list_del(&curr->tree_list); in btrfs_batch_insert_items() 784 btrfs_release_delayed_item(curr); in btrfs_batch_insert_items() [all …]
|
/Linux-v4.19/tools/vm/ |
D | page_owner_sort.c | 34 char *curr = buf, *const buf_end = buf + buf_size; in read_block() local 36 while (buf_end - curr > 1 && fgets(curr, buf_end - curr, fin)) { in read_block() 37 if (*curr == '\n') /* empty line */ in read_block() 38 return curr - buf; in read_block() 39 curr += strlen(curr); in read_block()
|
/Linux-v4.19/tools/perf/ui/ |
D | progress.c | 19 u64 last = p->curr; in ui_progress__update() 21 p->curr += adv; in ui_progress__update() 23 if (p->curr >= p->next) { in ui_progress__update() 24 u64 nr = DIV_ROUND_UP(p->curr - last, p->step); in ui_progress__update() 34 p->curr = 0; in __ui_progress__init()
|
/Linux-v4.19/include/linux/ |
D | futex.h | 13 handle_futex_death(u32 __user *uaddr, struct task_struct *curr, int pi); 54 extern void exit_robust_list(struct task_struct *curr); 64 static inline void exit_robust_list(struct task_struct *curr) in exit_robust_list() argument 77 extern void exit_pi_state_list(struct task_struct *curr); 79 static inline void exit_pi_state_list(struct task_struct *curr) in exit_pi_state_list() argument
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_blk.c | 88 struct dpu_hw_blk *curr; in dpu_hw_blk_get() local 93 list_for_each_entry(curr, &dpu_hw_blk_list, list) { in dpu_hw_blk_get() 94 if ((curr->type != type) || in dpu_hw_blk_get() 95 (id >= 0 && curr->id != id) || in dpu_hw_blk_get() 97 atomic_read(&curr->refcount))) in dpu_hw_blk_get() 100 hw_blk = curr; in dpu_hw_blk_get()
|
/Linux-v4.19/drivers/staging/erofs/ |
D | unzip_pagevec.h | 37 struct page *curr, *next; member 46 if (ctor->curr == NULL) in z_erofs_pagevec_ctor_exit() 52 kunmap(ctor->curr); in z_erofs_pagevec_ctor_exit() 87 ctor->curr = next; in z_erofs_pagevec_ctor_pagedown() 90 kmap_atomic(ctor->curr) : kmap(ctor->curr); in z_erofs_pagevec_ctor_pagedown() 101 ctor->curr = ctor->next = NULL; in z_erofs_pagevec_ctor_init()
|
/Linux-v4.19/Documentation/hwmon/ |
D | ir35221 | 40 curr[2-3]_label "iout[1-2]" 41 curr[2-3]_input Measured output current 42 curr[2-3]_crit Critical maximum current 43 curr[2-3]_crit_alarm Current critical high alarm 44 curr[2-3]_highest Highest output current 45 curr[2-3]_lowest Lowest output current 46 curr[2-3]_max Maximum current 47 curr[2-3]_max_alarm Current high alarm
|
/Linux-v4.19/arch/ia64/kernel/ |
D | unwind.c | 625 memcpy(rs, &sr->curr, sizeof(*rs)); in push() 626 sr->curr.next = rs; in push() 632 struct unw_reg_state *rs = sr->curr.next; in pop() 638 memcpy(&sr->curr, rs, sizeof(*rs)); in pop() 757 reg = sr->curr.reg + unw.save_order[i]; in finish_prologue() 778 regs[0] = sr->curr.reg + UNW_REG_F2; in finish_prologue() 779 regs[1] = sr->curr.reg + UNW_REG_R4; in finish_prologue() 780 regs[2] = sr->curr.reg + UNW_REG_B1; in finish_prologue() 787 spill_next_when(®s[kind - 1], sr->curr.reg + limit[kind - 1], in finish_prologue() 796 alloc_spill_area(&off, 16, sr->curr.reg + UNW_REG_F2, sr->curr.reg + UNW_REG_F31); in finish_prologue() [all …]
|