/Linux-v5.10/drivers/char/ipmi/ |
D | ipmi_si_hotmod.c | 60 const char **curr) in parse_str() argument 65 s = strchr(*curr, ','); in parse_str() 73 if (strcmp(*curr, v[i].name) == 0) { in parse_str() 75 *curr = s; in parse_str() 80 pr_warn("Invalid hotmod %s '%s'\n", name, *curr); in parse_str() 84 static int check_hotmod_int_op(const char *curr, const char *option, in check_hotmod_int_op() argument 89 if (strcmp(curr, name) == 0) { in check_hotmod_int_op() 91 pr_warn("No option given for '%s'\n", curr); in check_hotmod_int_op() 96 pr_warn("Bad option given for '%s'\n", curr); in check_hotmod_int_op() 104 static int parse_hotmod_str(const char *curr, enum hotmod_op *op, in parse_hotmod_str() argument [all …]
|
/Linux-v5.10/drivers/media/test-drivers/vidtv/ |
D | vidtv_channel.c | 37 struct vidtv_encoder *curr = e; in vidtv_channel_encoder_destroy() local 39 while (curr) { in vidtv_channel_encoder_destroy() 41 tmp = curr; in vidtv_channel_encoder_destroy() 42 curr = curr->next; in vidtv_channel_encoder_destroy() 163 struct vidtv_psi_table_eit_event *curr = NULL; in vidtv_channel_eit_event_cat_into_new() local 173 curr = cur_chnl->events; in vidtv_channel_eit_event_cat_into_new() 175 if (!curr) in vidtv_channel_eit_event_cat_into_new() 180 while (curr) { in vidtv_channel_eit_event_cat_into_new() 181 event_id = be16_to_cpu(curr->event_id); in vidtv_channel_eit_event_cat_into_new() 188 desc = vidtv_psi_desc_clone(curr->descriptor); in vidtv_channel_eit_event_cat_into_new() [all …]
|
/Linux-v5.10/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-v5.10/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-v5.10/kernel/locking/ |
D | lockdep.c | 1875 struct task_struct *curr = current; in print_circular_bug_header() local 1886 curr->comm, task_pid_nr(curr)); in print_circular_bug_header() 1965 struct task_struct *curr = current; in print_circular_bug() local 1993 lockdep_print_held_locks(curr); in print_circular_bug() 2382 print_bad_irq_dependency(struct task_struct *curr, in print_bad_irq_dependency() argument 2403 curr->comm, task_pid_nr(curr), in print_bad_irq_dependency() 2405 curr->softirq_context, softirq_count() >> SOFTIRQ_SHIFT, in print_bad_irq_dependency() 2407 curr->softirqs_enabled); in print_bad_irq_dependency() 2436 lockdep_print_held_locks(curr); in print_bad_irq_dependency() 2614 static int check_irq_usage(struct task_struct *curr, struct held_lock *prev, in check_irq_usage() argument [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() 210 int curr = encode_cpu(smp_processor_id()); in osq_unlock() local 215 if (likely(atomic_cmpxchg_release(&lock->tail, curr, in osq_unlock() 216 OSQ_UNLOCKED_VAL) == curr)) in osq_unlock()
|
/Linux-v5.10/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-v5.10/drivers/media/v4l2-core/ |
D | v4l2-jpeg.c | 60 u8 *curr; member 67 if (stream->curr >= stream->end) in jpeg_get_byte() 70 return *stream->curr++; in jpeg_get_byte() 78 if (stream->curr + sizeof(__be16) > stream->end) in jpeg_get_word_be() 81 word = get_unaligned_be16(stream->curr); in jpeg_get_word_be() 82 stream->curr += sizeof(__be16); in jpeg_get_word_be() 89 if (stream->curr + len > stream->end) in jpeg_skip() 92 stream->curr += len; in jpeg_skip() 118 if (stream->curr + sizeof(__be16) > stream->end) in jpeg_reference_segment() 121 len = get_unaligned_be16(stream->curr); in jpeg_reference_segment() [all …]
|
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | probe_user.c | 10 struct sockaddr curr, orig, tmp; in test_probe_user() local 11 struct sockaddr_in *in = (struct sockaddr_in *)&curr; in test_probe_user() 42 memset(&curr, 0, sizeof(curr)); in test_probe_user() 46 memcpy(&orig, &curr, sizeof(curr)); in test_probe_user() 52 connect(sock_fd, &curr, sizeof(curr)); in test_probe_user() 68 in = (struct sockaddr_in *)&curr; in test_probe_user() 69 if (CHECK(memcmp(&curr, &tmp, sizeof(tmp)), "check_kprobe_res", in test_probe_user()
|
/Linux-v5.10/kernel/sched/ |
D | stop_task.c | 65 struct task_struct *curr = rq->curr; in put_prev_task_stop() local 68 delta_exec = rq_clock_task(rq) - curr->se.exec_start; in put_prev_task_stop() 72 schedstat_set(curr->se.statistics.exec_max, in put_prev_task_stop() 73 max(curr->se.statistics.exec_max, delta_exec)); in put_prev_task_stop() 75 curr->se.sum_exec_runtime += delta_exec; in put_prev_task_stop() 76 account_group_exec_runtime(curr, delta_exec); in put_prev_task_stop() 78 curr->se.exec_start = rq_clock_task(rq); in put_prev_task_stop() 79 cgroup_account_cputime(curr, delta_exec); in put_prev_task_stop() 90 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() 64 struct swait_queue *curr; in swake_up_all() local 70 curr = list_first_entry(&tmp, typeof(*curr), task_list); in swake_up_all() 72 wake_up_state(curr->task, TASK_NORMAL); in swake_up_all() 73 list_del_init(&curr->task_list); in swake_up_all()
|
D | rt.c | 92 rt_rq->highest_prio.curr = MAX_RT_PRIO; in init_rt_rq() 164 rt_rq->highest_prio.curr = MAX_RT_PRIO; in init_tg_rt_entry() 268 return rq->rt.highest_prio.curr > prev->prio; in need_pull_rt_task() 529 struct task_struct *curr = rq_of_rt_rq(rt_rq)->curr; in sched_rt_rq_enqueue() local 543 if (rt_rq->highest_prio.curr < curr->prio) in sched_rt_rq_enqueue() 912 if (rt_rq->rt_nr_running && rq->curr == rq->idle) in do_sched_rt_period_timer() 943 return rt_rq->highest_prio.curr; in rt_se_prio() 998 struct task_struct *curr = rq->curr; in update_curr_rt() local 999 struct sched_rt_entity *rt_se = &curr->rt; in update_curr_rt() 1003 if (curr->sched_class != &rt_sched_class) in update_curr_rt() [all …]
|
/Linux-v5.10/drivers/char/agp/ |
D | generic.c | 162 void agp_free_memory(struct agp_memory *curr) in agp_free_memory() argument 166 if (curr == NULL) in agp_free_memory() 169 if (curr->is_bound) in agp_free_memory() 170 agp_unbind_memory(curr); in agp_free_memory() 172 if (curr->type >= AGP_USER_TYPES) { in agp_free_memory() 173 agp_generic_free_by_type(curr); in agp_free_memory() 177 if (curr->type != 0) { in agp_free_memory() 178 curr->bridge->driver->free_by_type(curr); in agp_free_memory() 181 if (curr->page_count != 0) { in agp_free_memory() 182 if (curr->bridge->driver->agp_destroy_pages) { in agp_free_memory() [all …]
|
/Linux-v5.10/lib/ |
D | sg_split.c | 27 struct sg_splitter *curr = splitters; in sg_calculate_split() local 43 if (!curr->in_sg0) { in sg_calculate_split() 44 curr->in_sg0 = sg; in sg_calculate_split() 45 curr->skip_sg0 = skip; in sg_calculate_split() 48 curr->nents++; in sg_calculate_split() 49 curr->length_last_sg = len; in sg_calculate_split() 52 curr++; in sg_calculate_split() 57 curr->in_sg0 = sg; in sg_calculate_split() 58 curr->skip_sg0 = skip; in sg_calculate_split() 59 curr->nents = 1; in sg_calculate_split() [all …]
|
/Linux-v5.10/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-v5.10/tools/vm/ |
D | page_owner_sort.c | 35 char *curr = buf, *const buf_end = buf + buf_size; in read_block() local 37 while (buf_end - curr > 1 && fgets(curr, buf_end - curr, fin)) { in read_block() 38 if (*curr == '\n') /* empty line */ in read_block() 39 return curr - buf; in read_block() 40 if (!strncmp(curr, "PFN", 3)) in read_block() 42 curr += strlen(curr); in read_block()
|
/Linux-v5.10/drivers/staging/greybus/ |
D | audio_topology.c | 983 struct gb_audio_control *curr; in gbaudio_tplg_create_widget() local 1006 curr = w->ctl; in gbaudio_tplg_create_widget() 1009 curr); in gbaudio_tplg_create_widget() 1013 curr->name, curr->iface); in gbaudio_tplg_create_widget() 1023 control->id = curr->id; in gbaudio_tplg_create_widget() 1024 control->name = curr->name; in gbaudio_tplg_create_widget() 1027 if (curr->info.type == GB_AUDIO_CTL_ELEM_TYPE_ENUMERATED) { in gbaudio_tplg_create_widget() 1029 &curr->info.value.enumerated; in gbaudio_tplg_create_widget() 1043 curr = (void *)curr + csize; in gbaudio_tplg_create_widget() 1144 struct gb_audio_control *curr; in gbaudio_tplg_process_kcontrols() local [all …]
|
/Linux-v5.10/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-v5.10/sound/firewire/oxfw/ |
D | oxfw-proc.c | 14 struct snd_oxfw_stream_formation formation, curr; in proc_read_formation() local 22 &curr); in proc_read_formation() 37 if (memcmp(&formation, &curr, sizeof(curr)) == 0) in proc_read_formation() 52 &curr); in proc_read_formation() 67 if (memcmp(&formation, &curr, sizeof(curr)) == 0) in proc_read_formation()
|
/Linux-v5.10/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-v5.10/lib/dim/ |
D | net_dim.c | 137 static int net_dim_stats_compare(struct dim_stats *curr, in net_dim_stats_compare() argument 141 return curr->bpms ? DIM_STATS_BETTER : DIM_STATS_SAME; in net_dim_stats_compare() 143 if (IS_SIGNIFICANT_DIFF(curr->bpms, prev->bpms)) in net_dim_stats_compare() 144 return (curr->bpms > prev->bpms) ? DIM_STATS_BETTER : in net_dim_stats_compare() 148 return curr->ppms ? DIM_STATS_BETTER : in net_dim_stats_compare() 151 if (IS_SIGNIFICANT_DIFF(curr->ppms, prev->ppms)) in net_dim_stats_compare() 152 return (curr->ppms > prev->ppms) ? DIM_STATS_BETTER : in net_dim_stats_compare() 158 if (IS_SIGNIFICANT_DIFF(curr->epms, prev->epms)) in net_dim_stats_compare() 159 return (curr->epms < prev->epms) ? DIM_STATS_BETTER : in net_dim_stats_compare()
|
/Linux-v5.10/fs/btrfs/ |
D | delayed-inode.c | 697 struct btrfs_delayed_item *curr, *next; in btrfs_batch_insert_items() local 729 curr = next; in btrfs_batch_insert_items() 730 next = __btrfs_next_delayed_item(curr); in btrfs_batch_insert_items() 734 if (!btrfs_is_continuous_delayed_item(curr, next)) in btrfs_batch_insert_items() 775 list_for_each_entry_safe(curr, next, &head, tree_list) { in btrfs_batch_insert_items() 777 write_extent_buffer(leaf, &curr->data, in btrfs_batch_insert_items() 779 curr->data_len); in btrfs_batch_insert_items() 782 btrfs_delayed_item_release_metadata(root, curr); in btrfs_batch_insert_items() 784 list_del(&curr->tree_list); in btrfs_batch_insert_items() 785 btrfs_release_delayed_item(curr); in btrfs_batch_insert_items() [all …]
|
/Linux-v5.10/tools/perf/ui/ |
D | progress.c | 18 u64 last = p->curr; in ui_progress__update() 20 p->curr += adv; in ui_progress__update() 22 if (p->curr >= p->next) { in ui_progress__update() 23 u64 nr = DIV_ROUND_UP(p->curr - last, p->step); in ui_progress__update() 33 p->curr = 0; in __ui_progress__init()
|
/Linux-v5.10/drivers/leds/trigger/ |
D | ledtrig-pattern.c | 27 struct led_pattern *curr; member 41 data->curr = data->next; in pattern_trig_update_patterns() 42 if (!data->is_indefinite && data->curr == data->patterns) in pattern_trig_update_patterns() 62 if (data->delta_t == 0 || data->curr->delta_t < UPDATE_INTERVAL) in pattern_trig_compute_brightness() 63 return data->curr->brightness; in pattern_trig_compute_brightness() 65 step_brightness = abs(data->next->brightness - data->curr->brightness); in pattern_trig_compute_brightness() 66 step_brightness = data->delta_t * step_brightness / data->curr->delta_t; in pattern_trig_compute_brightness() 68 if (data->next->brightness > data->curr->brightness) in pattern_trig_compute_brightness() 69 return data->curr->brightness + step_brightness; in pattern_trig_compute_brightness() 71 return data->curr->brightness - step_brightness; in pattern_trig_compute_brightness() [all …]
|
/Linux-v5.10/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_blk.c | 72 struct dpu_hw_blk *curr; in dpu_hw_blk_get() local 77 list_for_each_entry(curr, &dpu_hw_blk_list, list) { in dpu_hw_blk_get() 78 if ((curr->type != type) || in dpu_hw_blk_get() 79 (id >= 0 && curr->id != id) || in dpu_hw_blk_get() 81 atomic_read(&curr->refcount))) in dpu_hw_blk_get() 84 hw_blk = curr; in dpu_hw_blk_get()
|