| /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() 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/tools/testing/selftests/cgroup/ |
| H A D | test_freezer.c | 823 long prev, curr; in test_cgfreezer_time_empty() local 836 curr = cg_check_freezetime(cgroup); in test_cgfreezer_time_empty() 837 if (curr < 0) { in test_cgfreezer_time_empty() 841 if (curr > 0) { in test_cgfreezer_time_empty() 842 debug("Expect time (%ld) to be 0\n", curr); in test_cgfreezer_time_empty() 854 curr = cg_check_freezetime(cgroup); in test_cgfreezer_time_empty() 855 if (curr < 1000) { in test_cgfreezer_time_empty() 857 curr); in test_cgfreezer_time_empty() 867 prev = curr; in test_cgfreezer_time_empty() 868 curr = cg_check_freezetime(cgroup); in test_cgfreezer_time_empty() [all …]
|
| /linux/drivers/media/test-drivers/vidtv/ |
| H A 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/fs/hfsplus/ |
| H A 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_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/kernel/locking/ |
| H A D | lockdep.c | 1955 struct task_struct *curr = current; in print_circular_bug_header() local 1966 curr->comm, task_pid_nr(curr)); in print_circular_bug_header() 2010 struct task_struct *curr = current; in print_circular_bug() local 2040 lockdep_print_held_locks(curr); in print_circular_bug() 2547 print_bad_irq_dependency(struct task_struct *curr, in print_bad_irq_dependency() argument 2570 curr->comm, task_pid_nr(curr), in print_bad_irq_dependency() 2572 curr->softirq_context, softirq_count() >> SOFTIRQ_SHIFT, in print_bad_irq_dependency() 2574 curr->softirqs_enabled); in print_bad_irq_dependency() 2603 lockdep_print_held_locks(curr); in print_bad_irq_dependency() 2780 static int check_irq_usage(struct task_struct *curr, struct held_lock *prev, in check_irq_usage() argument [all …]
|
| /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() 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/drivers/gpu/drm/virtio/ |
| H A D | virtgpu_fence.c | 114 struct virtio_gpu_fence *signaled, *curr, *tmp; in virtio_gpu_fence_event_process() local 119 list_for_each_entry_safe(curr, tmp, &drv->fences, node) { in virtio_gpu_fence_event_process() 120 if (fence_id != curr->fence_id) in virtio_gpu_fence_event_process() 123 signaled = curr; in virtio_gpu_fence_event_process() 129 list_for_each_entry_safe(curr, tmp, &drv->fences, node) { in virtio_gpu_fence_event_process() 131 if (signaled->f.context != curr->f.context) in virtio_gpu_fence_event_process() 134 if (!dma_fence_is_later(&signaled->f, &curr->f)) in virtio_gpu_fence_event_process() 137 dma_fence_signal_locked(&curr->f); in virtio_gpu_fence_event_process() 138 if (curr->e) { in virtio_gpu_fence_event_process() 139 drm_send_event(vgdev->ddev, &curr->e->base); in virtio_gpu_fence_event_process() [all …]
|
| /linux/drivers/char/agp/ |
| H A 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/tools/testing/selftests/mm/ |
| H A D | guard-regions.c | 367 char *curr = &ptr[i * page_size]; in TEST_F() local 369 ASSERT_TRUE(try_read_write_buf(curr)); in TEST_F() 402 char *curr = &ptr[i * page_size]; in TEST_F() local 404 ASSERT_FALSE(try_read_write_buf(curr)); in TEST_F() 409 char *curr = &ptr[i * page_size]; in TEST_F() local 411 ASSERT_TRUE(try_read_write_buf(curr)); in TEST_F() 419 char *curr = &ptr[i * page_size]; in TEST_F() local 421 ASSERT_TRUE(try_read_write_buf(curr)); in TEST_F() 492 char *curr = &ptr1[i * page_size]; in TEST_F() local 494 ASSERT_FALSE(try_read_write_buf(curr)); in TEST_F() [all …]
|
| /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()
|
| /linux/lib/ |
| H A 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/kernel/sched/ |
| H 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 try_to_wake_up(curr->task, TASK_NORMAL, wake_flags); 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/arch/x86/um/ |
| H A D | tls_32.c | 92 struct uml_tls_struct* curr = in load_TLS() local 99 if (!curr->present) { in load_TLS() 100 if (!curr->flushed) { in load_TLS() 101 clear_user_desc(&curr->tls); in load_TLS() 102 curr->tls.entry_number = idx; in load_TLS() 104 WARN_ON(!LDT_empty(&curr->tls)); in load_TLS() 109 if (!(flags & O_FORCE) && curr->flushed) in load_TLS() 112 ret = do_set_thread_area(current, &curr->tls); in load_TLS() 116 curr->flushed = 1; in load_TLS() 132 struct uml_tls_struct* curr = in needs_TLS_update() local [all …]
|
| /linux/drivers/net/ethernet/engleder/ |
| H A D | tsnep_tc.c | 261 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/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 …]
|
| /linux/lib/zlib_inflate/ |
| H 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/ |
| 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()
|
| /linux/Documentation/hwmon/ |
| H A D | xdpe152c4.rst | 43 **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**
|
| H A D | lt7182s.rst | 45 curr[1-2]_label "iin[12]" 46 curr[1-2]_input Measured input current 47 curr[1-2]_max Maximum input current 48 curr[1-2]_max_alarm Current high alarm 50 curr[3-4]_label "iout[1-2]" 51 curr[3-4]_input Measured output current 52 curr[3-4]_highest Highest measured output current 53 curr[3-4]_max Maximum output current 54 curr[3-4]_max_alarm Output current high alarm
|
| H A D | ir35221.rst | 44 curr[2-3]_label "iout[1-2]" 45 curr[2-3]_input Measured output current 46 curr[2-3]_crit Critical maximum current 47 curr[2-3]_crit_alarm Current critical high alarm 48 curr[2-3]_highest Highest output current 49 curr[2-3]_lowest Lowest output current 50 curr[2-3]_max Maximum current 51 curr[2-3]_max_alarm Current high alarm
|
| /linux/drivers/net/ethernet/huawei/hinic3/ |
| H A D | hinic3_hw_cfg.c | 177 struct hinic3_irq *curr; in hinic3_alloc_irqs() local 183 curr = irq_info->irq + i; in hinic3_alloc_irqs() 184 if (curr->allocated) in hinic3_alloc_irqs() 186 curr->allocated = true; in hinic3_alloc_irqs() 187 alloc_arr[found].vector = curr->irq_id; in hinic3_alloc_irqs() 188 alloc_arr[found].entry = curr->msix_entry_idx; in hinic3_alloc_irqs() 201 struct hinic3_irq *curr; in hinic3_free_irq() local 207 curr = irq_info->irq + i; in hinic3_free_irq() 208 if (curr->irq_id == irq_id) { in hinic3_free_irq() 209 curr->allocated = false; in hinic3_free_irq()
|
| /linux/drivers/dma/ |
| H A D | img-mdc-dma.c | 262 struct mdc_hw_list_desc *curr, *next; in mdc_list_desc_free() local 265 curr = mdesc->list; in mdc_list_desc_free() 267 while (curr) { in mdc_list_desc_free() 268 next = curr->next_desc; in mdc_list_desc_free() 269 next_phys = curr->node_addr; in mdc_list_desc_free() 270 dma_pool_free(mdma->desc_pool, curr, curr_phys); in mdc_list_desc_free() 271 curr = next; in mdc_list_desc_free() 291 struct mdc_hw_list_desc *curr, *prev = NULL; in mdc_prep_dma_memcpy() local 306 curr = dma_pool_alloc(mdma->desc_pool, GFP_NOWAIT, &curr_phys); in mdc_prep_dma_memcpy() 307 if (!curr) in mdc_prep_dma_memcpy() [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_scatterlist.h | 29 unsigned int curr; member 37 s.max = s.curr = s.sgp->offset; in __sgt_iter() 91 ((__dp) = (__iter).dma + (__iter).curr), (__iter).sgp; \ 92 (((__iter).curr += (__step)) >= (__iter).max) ? \ 101 for (; ((__dp) = (__iter).dma + (__iter).curr), (__iter).sgp; \ 102 (((__iter).curr += (__step)) >= (__iter).max) ? \ 114 pfn_to_page((__iter).pfn + ((__iter).curr >> PAGE_SHIFT))); \ 115 (((__iter).curr += PAGE_SIZE) >= (__iter).max) ? \
|
| /linux/fs/btrfs/ |
| H A D | delayed-inode.c | 662 struct btrfs_delayed_item *curr; in btrfs_insert_delayed_item() local 699 curr = first_item; in btrfs_insert_delayed_item() 704 next = __btrfs_next_delayed_item(curr); in btrfs_insert_delayed_item() 712 if (continuous_keys_only && (next->index != curr->index + 1)) in btrfs_insert_delayed_item() 725 curr = next; in btrfs_insert_delayed_item() 747 list_for_each_entry(curr, &item_list, tree_list) { in btrfs_insert_delayed_item() 750 ins_keys[i].offset = curr->index; in btrfs_insert_delayed_item() 751 ins_sizes[i] = curr->data_len; in btrfs_insert_delayed_item() 760 list_for_each_entry(curr, &item_list, tree_list) { in btrfs_insert_delayed_item() 764 write_extent_buffer(path->nodes[0], &curr->data, in btrfs_insert_delayed_item() [all …]
|
| /linux/tools/perf/ui/ |
| H A 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()
|