/linux/drivers/char/ipmi/ |
A D | ipmi_si_hotmod.c | 59 const char **curr) in parse_str() argument 64 s = strchr(*curr, ','); in parse_str() 74 *curr = s; in parse_str() 88 if (strcmp(curr, name) == 0) { in check_hotmod_int_op() 126 s = strchr(curr, ','); in parse_hotmod_str() 138 curr = s; in parse_hotmod_str() 139 s = strchr(curr, ','); in parse_hotmod_str() 144 o = strchr(curr, '='); in parse_hotmod_str() 189 char *str, *curr, *next; in hotmod_handler() local 196 for (curr = strstrip(str); curr; curr = next) { in hotmod_handler() [all …]
|
/linux/drivers/media/test-drivers/vidtv/ |
A D | vidtv_channel.c | 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() 175 if (!curr) in vidtv_channel_eit_event_cat_into_new() 194 curr = curr->next; in vidtv_channel_eit_event_cat_into_new() 222 if (!curr) in vidtv_channel_sdt_serv_cat_into_new() 244 curr = curr->next; in vidtv_channel_sdt_serv_cat_into_new() 276 if (!curr) in vidtv_channel_pat_prog_cat_into_new() 295 curr = curr->next; in vidtv_channel_pat_prog_cat_into_new() 542 tmp = curr; in vidtv_channels_destroy() [all …]
|
/linux/drivers/input/serio/ |
A D | hp_sdc.c | 193 curr->seq[curr->idx++] = status; in hp_sdc_take() 194 curr->seq[curr->idx++] = data; in hp_sdc_take() 204 if (curr->seq[curr->actidx] & HP_SDC_ACT_CALLBACK) in hp_sdc_take() 208 curr->actidx = curr->idx; in hp_sdc_take() 325 tmp = curr->seq[curr->actidx]; in hp_sdc_tasklet() 326 curr->seq[curr->actidx] |= HP_SDC_ACT_DEAD; in hp_sdc_tasklet() 339 curr->actidx = curr->idx; in hp_sdc_tasklet() 415 if (curr->actidx >= curr->endidx) { in hp_sdc_put() 427 if (curr->idx >= curr->endidx) { in hp_sdc_put() 460 hp_sdc_data_out8(curr->seq[curr->idx]); in hp_sdc_put() [all …]
|
/linux/kernel/locking/ |
A D | lockdep.c | 1911 curr->comm, task_pid_nr(curr)); in print_circular_bug_header() 2531 curr->comm, task_pid_nr(curr), in print_bad_irq_dependency() 2946 curr->comm, task_pid_nr(curr)); in print_deadlock_bug() 3273 (prev) = (curr), (curr) = chain_block_next(curr)) 3916 curr->comm, task_pid_nr(curr), in print_usage_bug() 3974 curr->comm, task_pid_nr(curr)); in print_irq_inversion_bug() 4636 if (curr->hardirq_threaded || curr->irq_config) in task_wait_context() 5071 curr->comm, task_pid_nr(curr)); in print_unlock_imbalance_bug() 5759 curr->comm, task_pid_nr(curr)); in print_lock_contention_bug() 6383 curr->comm, task_pid_nr(curr), mem_from, mem_to-1); in print_freed_lock_bug() [all …]
|
A 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/fs/hfsplus/ |
A D | bitmap.c | 25 __be32 *pptr, *curr, *end; in hfsplus_block_allocate() local 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() 118 while (curr < end) { in hfsplus_block_allocate() 139 curr = pptr; in hfsplus_block_allocate() 209 while (curr < end) { in hfsplus_block_free() 212 *curr++ = 0; in hfsplus_block_free() [all …]
|
/linux/Documentation/hwmon/ |
A D | max16601.rst | 71 curr[P+2]_label "iin1.P" 74 curr[N+2]_label "iin2" 79 curr[N+3]_label "iin3" 80 curr[N+3]_input VSA input current. 82 curr[N+4]_label "iout1" 83 curr[N+4]_input VCORE output current. 84 curr[N+4]_crit Critical output current. 86 curr[N+4]_max Maximum output current. 89 curr[N+P+5]_label "iout1.P" 92 curr[2*N+5]_label "iout3" [all …]
|
/linux/fs/hfs/ |
A 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() 85 *curr++ = cpu_to_be32(n); in hfs_find_set_zero_bits() 88 n = be32_to_cpu(*curr); in hfs_find_set_zero_bits() 107 *curr = cpu_to_be32(n); in hfs_find_set_zero_bits() 195 __be32 *curr; in hfs_clear_vbm_bits() local 229 *curr++ = 0; in hfs_clear_vbm_bits() [all …]
|
/linux/arch/arm64/include/asm/ |
A D | mte-kasan.h | 87 u64 curr, mask, dczid_bs, end1, end2, end3; in mte_set_mem_tag_range() local 92 curr = (u64)__tag_set(addr, tag); in mte_set_mem_tag_range() 95 end1 = curr | mask; in mte_set_mem_tag_range() 96 end3 = curr + size; in mte_set_mem_tag_range() 111 curr = stg_post(curr); \ in mte_set_mem_tag_range() 112 } while (curr < end1); \ in mte_set_mem_tag_range() 115 dc_gva(curr); \ in mte_set_mem_tag_range() 116 curr += dczid_bs; \ in mte_set_mem_tag_range() 117 } while (curr < end2); \ in mte_set_mem_tag_range() 120 while (curr < end3) \ in mte_set_mem_tag_range() [all …]
|
/linux/drivers/media/v4l2-core/ |
A D | v4l2-jpeg.c | 61 u8 *curr; member 71 return *stream->curr++; in jpeg_get_byte() 93 stream->curr += len; in jpeg_skip() 126 segment->start = stream->curr; in jpeg_reference_segment() 341 qk = stream->curr; in jpeg_parse_quantization_tables() 390 table = stream->curr; in jpeg_parse_huffman_tables() 500 stream.curr = buf; in v4l2_jpeg_parse_header() 612 stream.curr = buf; in v4l2_jpeg_parse_frame_header() 631 stream.curr = buf; in v4l2_jpeg_parse_scan_header() 652 stream.curr = buf; in v4l2_jpeg_parse_quantization_tables() [all …]
|
/linux/drivers/char/agp/ |
A D | generic.c | 166 if (curr == NULL) in agp_free_memory() 169 if (curr->is_bound) in agp_free_memory() 178 curr->bridge->driver->free_by_type(curr); in agp_free_memory() 183 curr->bridge->driver->agp_destroy_pages(curr); in agp_free_memory() 188 curr->pages[i], in agp_free_memory() 200 kfree(curr); in agp_free_memory() 412 if (curr == NULL) in agp_bind_memory() 424 ret_val = curr->bridge->driver->insert_memory(curr, pg_start, curr->type); in agp_bind_memory() 452 if (curr == NULL) in agp_unbind_memory() 460 ret_val = curr->bridge->driver->remove_memory(curr, curr->pg_start, curr->type); in agp_unbind_memory() [all …]
|
/linux/drivers/gpu/drm/virtio/ |
A D | virtgpu_fence.c | 131 struct virtio_gpu_fence *signaled, *curr, *tmp; in virtio_gpu_fence_event_process() local 137 if (fence_id != curr->fence_id) in virtio_gpu_fence_event_process() 140 signaled = curr; 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() 157 curr->e = NULL; in virtio_gpu_fence_event_process() 160 list_del(&curr->node); in virtio_gpu_fence_event_process() [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | probe_user.c | 11 struct sockaddr curr, orig, tmp; in serial_test_probe_user() local 12 struct sockaddr_in *in = (struct sockaddr_in *)&curr; in serial_test_probe_user() 40 memset(&curr, 0, sizeof(curr)); in serial_test_probe_user() 44 memcpy(&orig, &curr, sizeof(curr)); in serial_test_probe_user() 50 connect(sock_fd, &curr, sizeof(curr)); in serial_test_probe_user() 66 in = (struct sockaddr_in *)&curr; in serial_test_probe_user() 67 if (CHECK(memcmp(&curr, &tmp, sizeof(tmp)), "check_kprobe_res", in serial_test_probe_user()
|
/linux/kernel/sched/ |
A D | stop_task.c | 74 struct task_struct *curr = rq->curr; in put_prev_task_stop() local 77 delta_exec = rq_clock_task(rq) - 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 curr->se.sum_exec_runtime += delta_exec; in put_prev_task_stop() 85 account_group_exec_runtime(curr, delta_exec); in put_prev_task_stop() 87 curr->se.exec_start = rq_clock_task(rq); in put_prev_task_stop() 88 cgroup_account_cputime(curr, delta_exec); in put_prev_task_stop() 99 static void task_tick_stop(struct rq *rq, struct task_struct *curr, int queued) in task_tick_stop() argument
|
A 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()
|
/linux/lib/ |
A D | sg_split.c | 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() 60 curr->length_last_sg = len; in sg_calculate_split() [all …]
|
/linux/drivers/staging/greybus/ |
A D | audio_topology.c | 1013 curr->name, curr->iface); in gbaudio_tplg_create_widget() 1043 curr = (void *)curr + csize; in gbaudio_tplg_create_widget() 1160 curr->name, curr->iface); in gbaudio_tplg_process_kcontrols() 1193 curr->name, curr->info.type); in gbaudio_tplg_process_kcontrols() 1194 curr = (void *)curr + csize; in gbaudio_tplg_process_kcontrols() 1229 curr->name, curr->type); in gbaudio_tplg_process_widgets() 1242 curr = (void *)curr + w_size; in gbaudio_tplg_process_widgets() 1279 curr->source_id, curr->destination_id, in gbaudio_tplg_process_routes() 1280 curr->control_id, curr->index); in gbaudio_tplg_process_routes() 1289 curr->control_id, curr->index); in gbaudio_tplg_process_routes() [all …]
|
/linux/arch/x86/um/ |
A 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() 122 curr->flushed = 1; in load_TLS() 138 struct uml_tls_struct* curr = in needs_TLS_update() local 145 if (curr->flushed) in needs_TLS_update() 162 struct uml_tls_struct* curr = in clear_flushed_tls() local 169 if (!curr->present) in clear_flushed_tls() [all …]
|
/linux/fs/btrfs/ |
A D | delayed-inode.c | 695 curr = first_item; in btrfs_insert_delayed_item() 712 curr = next; in btrfs_insert_delayed_item() 782 if (!curr) { in btrfs_insert_delayed_items() 825 curr = next; in btrfs_batch_delete_items() 867 if (!curr) in btrfs_delete_delayed_items() 878 prev = curr; in btrfs_delete_delayed_items() 883 if (curr) { in btrfs_delete_delayed_items() 1560 kfree(curr); in btrfs_readdir_put_delayed_items() 1566 kfree(curr); in btrfs_readdir_put_delayed_items() 1621 kfree(curr); in btrfs_readdir_delayed_dir_index() [all …]
|
/linux/sound/core/ |
A 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/kernel/futex/ |
A D | core.c | 813 curr, pi, HANDLE_DEATH_LIST)) in exit_robust_list() 831 curr, pip, HANDLE_DEATH_PENDING); in exit_robust_list() 960 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list() 978 raw_spin_unlock_irq(&curr->pi_lock); in exit_pi_state_list() 980 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list() 983 raw_spin_unlock_irq(&curr->pi_lock); in exit_pi_state_list() 987 raw_spin_lock(&curr->pi_lock); in exit_pi_state_list() 1000 WARN_ON(pi_state->owner != curr); in exit_pi_state_list() 1005 raw_spin_unlock(&curr->pi_lock); in exit_pi_state_list() 1012 raw_spin_lock_irq(&curr->pi_lock); in exit_pi_state_list() [all …]
|
/linux/lib/zlib_inflate/ |
A 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/sound/firewire/oxfw/ |
A 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/arch/ia64/kernel/ |
A D | unwind.c | 626 sr->curr.next = rs; in push() 796 alloc_spill_area(&off, 16, sr->curr.reg + UNW_REG_F2, sr->curr.reg + UNW_REG_F31); in finish_prologue() 797 alloc_spill_area(&off, 8, sr->curr.reg + UNW_REG_B1, sr->curr.reg + UNW_REG_B5); in finish_prologue() 798 alloc_spill_area(&off, 8, sr->curr.reg + UNW_REG_R4, sr->curr.reg + UNW_REG_R7); in finish_prologue() 1039 free_state_stack(&sr->curr); in desc_copy_state() 1040 memcpy(&sr->curr, &ls->saved_state, sizeof(sr->curr)); in desc_copy_state() 1546 for (r = sr.curr.reg; r < sr.curr.reg + UNW_NUM_REGS; ++r) in build_script() 1615 for (r = sr.curr.reg; r < sr.curr.reg + UNW_NUM_REGS; ++r) in build_script() 1643 for (r = sr.curr.reg; r < sr.curr.reg + UNW_NUM_REGS; ++r) { in build_script() 1688 else if (sr.curr.reg[UNW_REG_PRI_UNAT_MEM].when > sr.curr.reg[UNW_REG_PRI_UNAT_GR].when) in build_script() [all …]
|
/linux/lib/dim/ |
A 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()
|