Home
last modified time | relevance | path

Searched refs:curr (Results 1 – 25 of 402) sorted by relevance

12345678910>>...17

/linux-6.6.21/drivers/char/ipmi/
Dipmi_si_hotmod.c59 const char **curr) in parse_str() argument
64 s = strchr(*curr, ','); in parse_str()
72 if (strcmp(*curr, v[i].name) == 0) { in parse_str()
74 *curr = s; in parse_str()
79 pr_warn("Invalid hotmod %s '%s'\n", name, *curr); in parse_str()
83 static int check_hotmod_int_op(const char *curr, const char *option, in check_hotmod_int_op() argument
88 if (strcmp(curr, name) == 0) { in check_hotmod_int_op()
90 pr_warn("No option given for '%s'\n", curr); in check_hotmod_int_op()
95 pr_warn("Bad option given for '%s'\n", curr); in check_hotmod_int_op()
103 static int parse_hotmod_str(const char *curr, enum hotmod_op *op, in parse_hotmod_str() argument
[all …]
/linux-6.6.21/drivers/media/test-drivers/vidtv/
Dvidtv_channel.c37 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-6.6.21/fs/hfsplus/
Dbitmap.c25 __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_local_page(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-6.6.21/drivers/input/serio/
Dhp_sdc.c183 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-6.6.21/fs/hfs/
Dbitmap.c31 __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-6.6.21/kernel/locking/
Dlockdep.c1939 struct task_struct *curr = current; in print_circular_bug_header() local
1950 curr->comm, task_pid_nr(curr)); in print_circular_bug_header()
2029 struct task_struct *curr = current; in print_circular_bug() local
2057 lockdep_print_held_locks(curr); in print_circular_bug()
2559 print_bad_irq_dependency(struct task_struct *curr, in print_bad_irq_dependency() argument
2580 curr->comm, task_pid_nr(curr), in print_bad_irq_dependency()
2582 curr->softirq_context, softirq_count() >> SOFTIRQ_SHIFT, in print_bad_irq_dependency()
2584 curr->softirqs_enabled); in print_bad_irq_dependency()
2613 lockdep_print_held_locks(curr); in print_bad_irq_dependency()
2788 static int check_irq_usage(struct task_struct *curr, struct held_lock *prev, in check_irq_usage() argument
[all …]
Dosq_lock.c47 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-6.6.21/Documentation/hwmon/
Dmax16601.rst88 curr[P+2]_label "iin1.P"
89 curr[P+2]_input VCORE phase P input current.
91 curr[N+2]_label "iin2"
92 curr[N+2]_input VCORE input current, derived from sensor
96 curr[N+3]_label "iin3"
97 curr[N+3]_input VSA input current.
99 curr[N+4]_label "iout1"
100 curr[N+4]_input VCORE output current.
101 curr[N+4]_crit Critical output current.
102 curr[N+4]_crit_alarm Output current critical alarm.
[all …]
Dxdpe152c4.rst43 **curr[1-4]_crit**
45 **curr[1-4]_crit_alarm**
47 **curr[1-4]_input**
49 **curr[1-4]_label**
51 **curr[1-4]_max**
53 **curr[1-4]_max_alarm**
55 **curr[3-4]_lcrit**
57 **curr[3-4]_lcrit_alarm**
59 **curr[3-4]_rated_max**
/linux-6.6.21/arch/arm64/include/asm/
Dmte-kasan.h154 u64 curr, mask, dczid, dczid_bs, dczid_dzp, end1, end2, end3; in mte_set_mem_tag_range() local
161 curr = (u64)__tag_set(addr, tag); in mte_set_mem_tag_range()
164 end1 = curr | mask; in mte_set_mem_tag_range()
165 end3 = curr + size; in mte_set_mem_tag_range()
180 curr = stg_post(curr); \ in mte_set_mem_tag_range()
181 } while (curr < end1); \ in mte_set_mem_tag_range()
184 dc_gva(curr); \ in mte_set_mem_tag_range()
185 curr += dczid_bs; \ in mte_set_mem_tag_range()
186 } while (curr < end2); \ in mte_set_mem_tag_range()
189 while (curr < end3) \ in mte_set_mem_tag_range()
[all …]
/linux-6.6.21/drivers/media/v4l2-core/
Dv4l2-jpeg.c61 u8 *curr; member
68 if (stream->curr >= stream->end) in jpeg_get_byte()
71 return *stream->curr++; in jpeg_get_byte()
79 if (stream->curr + sizeof(__be16) > stream->end) in jpeg_get_word_be()
82 word = get_unaligned_be16(stream->curr); in jpeg_get_word_be()
83 stream->curr += sizeof(__be16); in jpeg_get_word_be()
90 if (stream->curr + len > stream->end) in jpeg_skip()
93 stream->curr += len; in jpeg_skip()
119 if (stream->curr + sizeof(__be16) > stream->end) in jpeg_reference_segment()
122 len = get_unaligned_be16(stream->curr); in jpeg_reference_segment()
[all …]
/linux-6.6.21/drivers/gpu/drm/virtio/
Dvirtgpu_fence.c131 struct virtio_gpu_fence *signaled, *curr, *tmp; in virtio_gpu_fence_event_process() local
136 list_for_each_entry_safe(curr, tmp, &drv->fences, node) { in virtio_gpu_fence_event_process()
137 if (fence_id != curr->fence_id) in virtio_gpu_fence_event_process()
140 signaled = curr; in virtio_gpu_fence_event_process()
146 list_for_each_entry_safe(curr, tmp, &drv->fences, node) { in virtio_gpu_fence_event_process()
148 if (signaled->f.context != curr->f.context) in virtio_gpu_fence_event_process()
151 if (!dma_fence_is_later(&signaled->f, &curr->f)) in virtio_gpu_fence_event_process()
154 dma_fence_signal_locked(&curr->f); in virtio_gpu_fence_event_process()
155 if (curr->e) { in virtio_gpu_fence_event_process()
156 drm_send_event(vgdev->ddev, &curr->e->base); in virtio_gpu_fence_event_process()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dprobe_user.c17 struct sockaddr curr, orig, tmp; in serial_test_probe_user() local
18 struct sockaddr_in *in = (struct sockaddr_in *)&curr; in serial_test_probe_user()
52 memset(&curr, 0, sizeof(curr)); in serial_test_probe_user()
56 memcpy(&orig, &curr, sizeof(curr)); in serial_test_probe_user()
62 connect(sock_fd, &curr, sizeof(curr)); in serial_test_probe_user()
78 in = (struct sockaddr_in *)&curr; in serial_test_probe_user()
79 if (CHECK(memcmp(&curr, &tmp, sizeof(tmp)), "check_kprobe_res", in serial_test_probe_user()
/linux-6.6.21/drivers/char/agp/
Dgeneric.c162 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-6.6.21/kernel/sched/
Dswait.c23 struct swait_queue *curr; in swake_up_locked() local
28 curr = list_first_entry(&q->task_list, typeof(*curr), task_list); in swake_up_locked()
29 try_to_wake_up(curr->task, TASK_NORMAL, wake_flags); in swake_up_locked()
30 list_del_init(&curr->task_list); in swake_up_locked()
63 struct swait_queue *curr; in swake_up_all() local
69 curr = list_first_entry(&tmp, typeof(*curr), task_list); in swake_up_all()
71 wake_up_state(curr->task, TASK_NORMAL); in swake_up_all()
72 list_del_init(&curr->task_list); in swake_up_all()
Dstop_task.c73 struct task_struct *curr = rq->curr; in put_prev_task_stop() local
77 delta_exec = now - curr->se.exec_start; in put_prev_task_stop()
81 schedstat_set(curr->stats.exec_max, in put_prev_task_stop()
82 max(curr->stats.exec_max, delta_exec)); in put_prev_task_stop()
84 update_current_exec_runtime(curr, now, delta_exec); in put_prev_task_stop()
95 static void task_tick_stop(struct rq *rq, struct task_struct *curr, int queued) in task_tick_stop() argument
/linux-6.6.21/lib/
Dsg_split.c27 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-6.6.21/arch/x86/um/
Dtls_32.c95 struct uml_tls_struct* curr = in load_TLS() local
102 if (!curr->present) { in load_TLS()
103 if (!curr->flushed) { in load_TLS()
104 clear_user_desc(&curr->tls); in load_TLS()
105 curr->tls.entry_number = idx; in load_TLS()
107 WARN_ON(!LDT_empty(&curr->tls)); in load_TLS()
112 if (!(flags & O_FORCE) && curr->flushed) in load_TLS()
115 ret = do_set_thread_area(&curr->tls); in load_TLS()
119 curr->flushed = 1; in load_TLS()
135 struct uml_tls_struct* curr = in needs_TLS_update() local
[all …]
/linux-6.6.21/drivers/staging/greybus/
Daudio_topology.c1027 struct gb_audio_control *curr; in gbaudio_tplg_create_widget() local
1050 curr = w->ctl; in gbaudio_tplg_create_widget()
1053 curr); in gbaudio_tplg_create_widget()
1057 curr->name, curr->iface); in gbaudio_tplg_create_widget()
1067 control->id = curr->id; in gbaudio_tplg_create_widget()
1068 control->name = curr->name; in gbaudio_tplg_create_widget()
1071 if (curr->info.type == GB_AUDIO_CTL_ELEM_TYPE_ENUMERATED) { in gbaudio_tplg_create_widget()
1073 &curr->info.value.enumerated; in gbaudio_tplg_create_widget()
1091 curr = (void *)curr + csize; in gbaudio_tplg_create_widget()
1152 struct gb_audio_control *curr; in gbaudio_tplg_process_kcontrols() local
[all …]
/linux-6.6.21/sound/core/
Dpcm_param_trace.h29 …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-6.6.21/drivers/net/ethernet/engleder/
Dtsnep_tc.c261 struct tsnep_gcl *gcl, struct tsnep_gcl *curr) in tsnep_enable_gcl() argument
273 if (curr) in tsnep_enable_gcl()
274 limit = timeout + curr->change_limit; in tsnep_enable_gcl()
286 if (curr) { in tsnep_enable_gcl()
291 last = tsnep_gcl_start_before(curr, gcl->start_time); in tsnep_enable_gcl()
292 if ((last + curr->cycle_time) == gcl->start_time) in tsnep_enable_gcl()
293 change = tsnep_cut_gcl(curr, last, in tsnep_enable_gcl()
296 curr->cycle_time_extension) || in tsnep_enable_gcl()
298 change = tsnep_extend_gcl(curr, last, in tsnep_enable_gcl()
301 change = tsnep_cut_gcl(curr, last, in tsnep_enable_gcl()
[all …]
/linux-6.6.21/sound/firewire/oxfw/
Doxfw-proc.c14 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-6.6.21/lib/zlib_inflate/
Dinftrees.c30 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-6.6.21/kernel/futex/
Dcore.c647 static int handle_futex_death(u32 __user *uaddr, struct task_struct *curr, in handle_futex_death() argument
705 if (owner != task_pid_vnr(curr)) in handle_futex_death()
783 static void exit_robust_list(struct task_struct *curr) in exit_robust_list() argument
785 struct robust_list_head __user *head = curr->robust_list; in exit_robust_list()
823 curr, pi, HANDLE_DEATH_LIST)) in exit_robust_list()
841 curr, pip, HANDLE_DEATH_PENDING); in exit_robust_list()
877 static void compat_exit_robust_list(struct task_struct *curr) in compat_exit_robust_list() argument
879 struct compat_robust_list_head __user *head = curr->compat_robust_list; in compat_exit_robust_list()
921 if (handle_futex_death(uaddr, curr, pi, in compat_exit_robust_list()
941 handle_futex_death(uaddr, curr, pip, HANDLE_DEATH_PENDING); in compat_exit_robust_list()
[all …]
/linux-6.6.21/drivers/leds/trigger/
Dledtrig-pattern.c27 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 …]

12345678910>>...17