/openbmc/linux/drivers/char/ipmi/ |
H 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 …]
|
/openbmc/qemu/tests/qtest/ |
H A D | rtl8139-test.c | 74 unsigned prev, curr, next; in test_timer() local 87 curr = in_Timer(); in test_timer() 88 if (curr > 0.1 * CLK) { in test_timer() 93 prev = curr; in test_timer() 94 curr = in_Timer(); in test_timer() 129 curr = in_Timer(); in test_timer() 141 curr = in_Timer(); in test_timer() 150 curr = in_Timer(); in test_timer() 151 next = curr + 5.0 * CLK; in test_timer() 155 prev = curr; in test_timer() [all …]
|
/openbmc/linux/drivers/media/test-drivers/vidtv/ |
H 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 …]
|
/openbmc/linux/fs/hfsplus/ |
H 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 …]
|
/openbmc/u-boot/tools/ |
H A D | imagetool.c | 14 struct image_type_params **curr; in imagetool_get_type() local 20 for (curr = start; curr != end; curr++) { in imagetool_get_type() 21 if ((*curr)->check_image_type) { in imagetool_get_type() 22 if (!(*curr)->check_image_type(type)) in imagetool_get_type() 23 return *curr; in imagetool_get_type() 36 struct image_type_params **curr; in imagetool_verify_print_header() local 42 for (curr = start; curr != end; curr++) { in imagetool_verify_print_header() 43 if ((*curr)->verify_header) { in imagetool_verify_print_header() 52 if ((*curr)->print_header) { in imagetool_verify_print_header() 54 (*curr)->print_header(ptr); in imagetool_verify_print_header() [all …]
|
/openbmc/linux/drivers/input/serio/ |
H 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 …]
|
/openbmc/linux/fs/hfs/ |
H 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 …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | max16601.rst | 88 curr[P+2]_label "iin1.P" 91 curr[N+2]_label "iin2" 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. 103 curr[N+4]_max Maximum output current. 106 curr[N+P+5]_label "iout1.P" 109 curr[2*N+5]_label "iout3" [all …]
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | mte-kasan.h | 154 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 …]
|
/openbmc/linux/kernel/locking/ |
H A D | lockdep.c | 1950 curr->comm, task_pid_nr(curr)); in print_circular_bug_header() 2580 curr->comm, task_pid_nr(curr), in print_bad_irq_dependency() 2997 curr->comm, task_pid_nr(curr)); in print_deadlock_bug() 3340 (prev) = (curr), (curr) = chain_block_next(curr)) 3984 curr->comm, task_pid_nr(curr), in print_usage_bug() 4042 curr->comm, task_pid_nr(curr)); in print_irq_inversion_bug() 4709 if (curr->hardirq_threaded || curr->irq_config) in task_wait_context() 5185 curr->comm, task_pid_nr(curr)); in print_unlock_imbalance_bug() 5904 curr->comm, task_pid_nr(curr)); in print_lock_contention_bug() 6533 curr->comm, task_pid_nr(curr), mem_from, mem_to-1); in print_freed_lock_bug() [all …]
|
H 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()
|
/openbmc/linux/drivers/media/v4l2-core/ |
H 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 …]
|
/openbmc/linux/drivers/gpu/drm/virtio/ |
H 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 …]
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | probe_user.c | 17 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()
|
/openbmc/u-boot/drivers/video/rockchip/ |
H A D | rk_hdmi.c | 46 .cpce = 0x00b3, .gmp = 0x0000, .curr = 0x0018, 49 .cpce = 0x0072, .gmp = 0x0001, .curr = 0x0028, 52 .cpce = 0x013e, .gmp = 0x0003, .curr = 0x0038, 55 .cpce = 0x0072, .gmp = 0x0001, .curr = 0x0028, 58 .cpce = 0x0051, .gmp = 0x0002, .curr = 0x0038, 61 .cpce = 0x0051, .gmp = 0x0003, .curr = 0x0000, 64 .cpce = 0x0040, .gmp = 0x0003, .curr = 0x0000, 67 .cpce = 0x0040, .gmp = 0x0003, .curr = 0x0000, 70 .cpce = 0x0051, .gmp = 0x0003, .curr = 0x0000,
|
/openbmc/linux/drivers/char/agp/ |
H 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 …]
|
/openbmc/linux/kernel/sched/ |
H A D | swait.c | 23 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()
|
/openbmc/linux/lib/ |
H 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 …]
|
/openbmc/entity-manager/src/ |
H A D | expression.cpp | 91 int evaluate(int substitute, std::vector<std::string>::iterator curr, in evaluate() argument 97 for (; curr != end; curr++) in evaluate() 101 next = expression::parseOperation(*curr); in evaluate() 111 int constant = std::stoi(*curr); in evaluate() 116 std::cerr << "Parameter not supported for templates " << *curr in evaluate() 124 end = curr; in evaluate()
|
/openbmc/linux/arch/x86/um/ |
H A D | tls_32.c | 95 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() 119 curr->flushed = 1; in load_TLS() 135 struct uml_tls_struct* curr = in needs_TLS_update() local 142 if (curr->flushed) in needs_TLS_update() 159 struct uml_tls_struct* curr = in clear_flushed_tls() local 166 if (!curr->present) in clear_flushed_tls() [all …]
|
/openbmc/u-boot/cmd/ |
H A D | gpt.c | 181 struct disk_part *curr; in del_gpt_info() local 185 free(curr); in del_gpt_info() 230 struct disk_part *curr; in print_gpt_info() local 237 curr->gpt_part_info.blksz); in print_gpt_info() 239 curr->gpt_part_info.blksz); in print_gpt_info() 244 curr->gpt_part_info.name); in print_gpt_info() 246 curr->gpt_part_info.bootable); in print_gpt_info() 269 struct disk_part *curr; in create_gpt_partitions_list() local 286 curr->gpt_part_info.blksz); in create_gpt_partitions_list() 291 curr->gpt_part_info.blksz); in create_gpt_partitions_list() [all …]
|
/openbmc/linux/sound/firewire/oxfw/ |
H 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()
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | audio_topology.c | 1057 curr->name, curr->iface); in gbaudio_tplg_create_widget() 1091 curr = (void *)curr + csize; in gbaudio_tplg_create_widget() 1168 curr->name, curr->iface); in gbaudio_tplg_process_kcontrols() 1205 curr->name, curr->info.type); in gbaudio_tplg_process_kcontrols() 1206 curr = (void *)curr + csize; in gbaudio_tplg_process_kcontrols() 1241 curr->name, curr->type); in gbaudio_tplg_process_widgets() 1254 curr = (void *)curr + w_size; in gbaudio_tplg_process_widgets() 1291 curr->source_id, curr->destination_id, in gbaudio_tplg_process_routes() 1292 curr->control_id, curr->index); in gbaudio_tplg_process_routes() 1301 curr->control_id, curr->index); in gbaudio_tplg_process_routes() [all …]
|
/openbmc/linux/sound/core/ |
H 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 …]
|
/openbmc/u-boot/drivers/net/ |
H A D | ag7xxx.c | 397 struct ag7xxx_dma_desc *curr; in ag7xxx_eth_send() local 403 start = (u32)curr; in ag7xxx_eth_send() 404 end = start + sizeof(*curr); in ag7xxx_eth_send() 417 start = (u32)curr; in ag7xxx_eth_send() 418 end = start + sizeof(*curr); in ag7xxx_eth_send() 437 struct ag7xxx_dma_desc *curr; in ag7xxx_eth_recv() local 443 start = (u32)curr; in ag7xxx_eth_recv() 444 end = start + sizeof(*curr); in ag7xxx_eth_recv() 467 struct ag7xxx_dma_desc *curr; in ag7xxx_eth_free_pkt() local 475 start = (u32)curr; in ag7xxx_eth_free_pkt() [all …]
|