Home
last modified time | relevance | path

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

12

/linux-4.19.296/drivers/char/ipmi/
Dipmi_si_hotmod.c57 char **curr) in parse_str() argument
62 s = strchr(*curr, ','); in parse_str()
70 if (strcmp(*curr, v[i].name) == 0) { in parse_str()
72 *curr = s; in parse_str()
77 pr_warn(PFX "Invalid hotmod %s '%s'\n", name, *curr); in parse_str()
81 static int check_hotmod_int_op(const char *curr, const char *option, in check_hotmod_int_op() argument
86 if (strcmp(curr, name) == 0) { in check_hotmod_int_op()
88 pr_warn(PFX "No option given for '%s'\n", curr); in check_hotmod_int_op()
93 pr_warn(PFX "Bad option given for '%s'\n", curr); in check_hotmod_int_op()
105 char *next, *curr, *s, *n, *o; in hotmod_handler() local
[all …]
/linux-4.19.296/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(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-4.19.296/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-4.19.296/drivers/char/agp/
Dgeneric.c163 void agp_free_memory(struct agp_memory *curr) in agp_free_memory() argument
167 if (curr == NULL) in agp_free_memory()
170 if (curr->is_bound) in agp_free_memory()
171 agp_unbind_memory(curr); in agp_free_memory()
173 if (curr->type >= AGP_USER_TYPES) { in agp_free_memory()
174 agp_generic_free_by_type(curr); in agp_free_memory()
178 if (curr->type != 0) { in agp_free_memory()
179 curr->bridge->driver->free_by_type(curr); in agp_free_memory()
182 if (curr->page_count != 0) { in agp_free_memory()
183 if (curr->bridge->driver->agp_destroy_pages) { in agp_free_memory()
[all …]
Dfrontend.c49 struct agp_memory *curr; in agp_find_mem_by_key() local
54 curr = agp_fe.current_controller->pool; in agp_find_mem_by_key()
56 while (curr != NULL) { in agp_find_mem_by_key()
57 if (curr->key == key) in agp_find_mem_by_key()
59 curr = curr->next; in agp_find_mem_by_key()
62 DBG("key=%d -> mem=%p", key, curr); in agp_find_mem_by_key()
63 return curr; in agp_find_mem_by_key()
217 struct agp_file_private *curr; in agp_find_private() local
219 curr = agp_fe.file_priv_list; in agp_find_private()
221 while (curr != NULL) { in agp_find_private()
[all …]
Dintel-gtt.c276 static void intel_i810_free_by_type(struct agp_memory *curr) in intel_i810_free_by_type() argument
278 agp_free_key(curr->key); in intel_i810_free_by_type()
279 if (curr->type == AGP_PHYS_MEMORY) { in intel_i810_free_by_type()
280 if (curr->page_count == 4) in intel_i810_free_by_type()
281 i8xx_destroy_pages(curr->pages[0]); in intel_i810_free_by_type()
283 agp_bridge->driver->agp_destroy_page(curr->pages[0], in intel_i810_free_by_type()
285 agp_bridge->driver->agp_destroy_page(curr->pages[0], in intel_i810_free_by_type()
288 agp_free_page_array(curr); in intel_i810_free_by_type()
290 kfree(curr); in intel_i810_free_by_type()
/linux-4.19.296/lib/
Dsg_split.c29 struct sg_splitter *curr = splitters; in sg_calculate_split() local
45 if (!curr->in_sg0) { in sg_calculate_split()
46 curr->in_sg0 = sg; in sg_calculate_split()
47 curr->skip_sg0 = skip; in sg_calculate_split()
50 curr->nents++; in sg_calculate_split()
51 curr->length_last_sg = len; in sg_calculate_split()
54 curr++; in sg_calculate_split()
59 curr->in_sg0 = sg; in sg_calculate_split()
60 curr->skip_sg0 = skip; in sg_calculate_split()
61 curr->nents = 1; in sg_calculate_split()
[all …]
/linux-4.19.296/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-4.19.296/fs/btrfs/
Ddelayed-inode.c692 struct btrfs_delayed_item *curr, *next; in btrfs_batch_insert_items() local
724 curr = next; in btrfs_batch_insert_items()
725 next = __btrfs_next_delayed_item(curr); in btrfs_batch_insert_items()
729 if (!btrfs_is_continuous_delayed_item(curr, next)) in btrfs_batch_insert_items()
774 list_for_each_entry_safe(curr, next, &head, tree_list) { in btrfs_batch_insert_items()
776 write_extent_buffer(leaf, &curr->data, in btrfs_batch_insert_items()
778 curr->data_len); in btrfs_batch_insert_items()
781 btrfs_delayed_item_release_metadata(root, curr); in btrfs_batch_insert_items()
783 list_del(&curr->tree_list); in btrfs_batch_insert_items()
784 btrfs_release_delayed_item(curr); in btrfs_batch_insert_items()
[all …]
/linux-4.19.296/drivers/misc/mic/scif/
Dscif_rma_list.c30 struct scif_window *curr = NULL; in scif_insert_tcw() local
37 curr = list_entry(head->prev, struct scif_window, list); in scif_insert_tcw()
38 if (curr->va_for_temp < window->va_for_temp) { in scif_insert_tcw()
44 curr = list_entry(item, struct scif_window, list); in scif_insert_tcw()
45 if (curr->va_for_temp > window->va_for_temp) in scif_insert_tcw()
47 prev = curr; in scif_insert_tcw()
60 struct scif_window *curr = NULL, *prev = NULL; in scif_insert_window() local
65 curr = list_entry(item, struct scif_window, list); in scif_insert_window()
66 if (curr->offset > window->offset) in scif_insert_window()
68 prev = curr; in scif_insert_window()
/linux-4.19.296/drivers/clk/
Dclk-max9485.c165 const struct max9485_rate *curr, *prev = NULL; in max9485_clkout_round_rate() local
167 for (curr = max9485_rates; curr->out != 0; curr++) { in max9485_clkout_round_rate()
169 if (curr->out == rate) in max9485_clkout_round_rate()
176 if (curr->out > rate) { in max9485_clkout_round_rate()
184 return curr->out; in max9485_clkout_round_rate()
190 mid = prev->out + ((curr->out - prev->out) / 2); in max9485_clkout_round_rate()
192 return (mid > rate) ? prev->out : curr->out; in max9485_clkout_round_rate()
195 prev = curr; in max9485_clkout_round_rate()
/linux-4.19.296/include/linux/
Dnet_dim.h273 static inline int net_dim_stats_compare(struct net_dim_stats *curr, in net_dim_stats_compare() argument
277 return curr->bpms ? NET_DIM_STATS_BETTER : in net_dim_stats_compare()
280 if (IS_SIGNIFICANT_DIFF(curr->bpms, prev->bpms)) in net_dim_stats_compare()
281 return (curr->bpms > prev->bpms) ? NET_DIM_STATS_BETTER : in net_dim_stats_compare()
285 return curr->ppms ? NET_DIM_STATS_BETTER : in net_dim_stats_compare()
288 if (IS_SIGNIFICANT_DIFF(curr->ppms, prev->ppms)) in net_dim_stats_compare()
289 return (curr->ppms > prev->ppms) ? NET_DIM_STATS_BETTER : in net_dim_stats_compare()
295 if (IS_SIGNIFICANT_DIFF(curr->epms, prev->epms)) in net_dim_stats_compare()
296 return (curr->epms < prev->epms) ? NET_DIM_STATS_BETTER : in net_dim_stats_compare()
/linux-4.19.296/drivers/pci/hotplug/
Dibmphp_res.c35 static struct bus_node * __init alloc_error_bus(struct ebda_pci_rsrc *curr, u8 busno, int flag) in alloc_error_bus() argument
39 if (!(curr) && !(flag)) { in alloc_error_bus()
51 newbus->busno = curr->bus_num; in alloc_error_bus()
56 static struct resource_node * __init alloc_resources(struct ebda_pci_rsrc *curr) in alloc_resources() argument
60 if (!curr) { in alloc_resources()
69 rs->busno = curr->bus_num; in alloc_resources()
70 rs->devfunc = curr->dev_fun; in alloc_resources()
71 rs->start = curr->start_addr; in alloc_resources()
72 rs->end = curr->end_addr; in alloc_resources()
73 rs->len = curr->end_addr - curr->start_addr + 1; in alloc_resources()
[all …]
/linux-4.19.296/fs/nilfs2/
Dcpfile.c53 __u64 curr, in nilfs_cpfile_checkpoints_in_block() argument
58 nilfs_cpfile_get_offset(cpfile, curr), in nilfs_cpfile_checkpoints_in_block()
59 max - curr); in nilfs_cpfile_checkpoints_in_block()
483 __u64 curr = *cnop, next; in nilfs_cpfile_do_get_ssinfo() local
490 if (curr == 0) { in nilfs_cpfile_do_get_ssinfo()
496 curr = le64_to_cpu(header->ch_snapshot_list.ssl_next); in nilfs_cpfile_do_get_ssinfo()
499 if (curr == 0) { in nilfs_cpfile_do_get_ssinfo()
503 } else if (unlikely(curr == ~(__u64)0)) { in nilfs_cpfile_do_get_ssinfo()
508 curr_blkoff = nilfs_cpfile_get_blkoff(cpfile, curr); in nilfs_cpfile_do_get_ssinfo()
509 ret = nilfs_cpfile_get_checkpoint_block(cpfile, curr, 0, &bh); in nilfs_cpfile_do_get_ssinfo()
[all …]
/linux-4.19.296/drivers/auxdisplay/
Dimg-ascii-lcd.c64 char curr[] __aligned(8); member
76 val = *((u64 *)&ctx->curr[0]); in boston_update()
79 val = *((u32 *)&ctx->curr[0]); in boston_update()
81 val = *((u32 *)&ctx->curr[4]); in boston_update()
104 ctx->offset + (i * 8), ctx->curr[i]); in malta_update()
202 ctx->curr[i]); in sead3_update()
242 ctx->curr[i] = ctx->message[ch]; in img_ascii_lcd_scroll()
292 memset(ctx->curr, ' ', ctx->cfg->num_chars); in img_ascii_lcd_display()
/linux-4.19.296/drivers/media/common/saa7146/
Dsaa7146_fops.c78 if (NULL == q->curr) { in saa7146_buffer_queue()
79 q->curr = buf; in saa7146_buffer_queue()
97 DEB_EE("q->curr:%p\n", q->curr); in saa7146_buffer_finish()
99 BUG_ON(!q->curr); in saa7146_buffer_finish()
102 if (NULL == q->curr) { in saa7146_buffer_finish()
107 q->curr->vb.state = state; in saa7146_buffer_finish()
108 v4l2_get_timestamp(&q->curr->vb.ts); in saa7146_buffer_finish()
109 wake_up(&q->curr->vb.done); in saa7146_buffer_finish()
111 q->curr = NULL; in saa7146_buffer_finish()
130 q->curr = buf; in saa7146_buffer_next()
[all …]
Dsaa7146_vbi.c339 if (vv->vbi_dmaq.curr) in vbi_stop()
442 if (vv->vbi_dmaq.curr) { in vbi_irq_done()
443 DEB_VBI("dev:%p, curr:%p\n", dev, vv->vbi_dmaq.curr); in vbi_irq_done()
446 vv->vbi_dmaq.curr->vb.field_count = vv->vbi_fieldcount; in vbi_irq_done()
/linux-4.19.296/lib/zstd/
Dcompress.c1038 U32 const curr = (U32)(ip - base); in ZSTD_compressBlock_fast_generic() local
1041 hashTable[h] = curr; /* update hash table */ in ZSTD_compressBlock_fast_generic()
1072 …hashTable[ZSTD_hashPtr(base + curr + 2, hBits, mls)] = curr + 2; /* here because curr+2 could be >… in ZSTD_compressBlock_fast_generic()
1141 const U32 curr = (U32)(ip - base); in ZSTD_compressBlock_fast_extDict_generic() local
1142 const U32 repIndex = curr + 1 - offset_1; /* offset_1 expected <= curr +1 */ in ZSTD_compressBlock_fast_extDict_generic()
1146 hashTable[h] = curr; /* update hash table */ in ZSTD_compressBlock_fast_extDict_generic()
1169 offset = curr - matchIndex; in ZSTD_compressBlock_fast_extDict_generic()
1182 hashTable[ZSTD_hashPtr(base + curr + 2, hBits, mls)] = curr + 2; in ZSTD_compressBlock_fast_extDict_generic()
1287 U32 const curr = (U32)(ip - base); in ZSTD_compressBlock_doubleFast_generic() local
1292 hashLong[h2] = hashSmall[h] = curr; /* update hash tables */ in ZSTD_compressBlock_doubleFast_generic()
[all …]
Dzstd_opt.h239 const U32 curr = (U32)(ip - base); in ZSTD_insertBtAndGetAllMatches() local
252 const U32 btLow = btMask >= curr ? 0 : curr - btMask; in ZSTD_insertBtAndGetAllMatches()
254 U32 *smallerPtr = bt + 2 * (curr & btMask); in ZSTD_insertBtAndGetAllMatches()
255 U32 *largerPtr = bt + 2 * (curr & btMask) + 1; in ZSTD_insertBtAndGetAllMatches()
256 U32 matchEndIdx = curr + 8; in ZSTD_insertBtAndGetAllMatches()
265 if (matchIndex3 > windowLow && (curr - matchIndex3 < (1 << 18))) { in ZSTD_insertBtAndGetAllMatches()
282 matches[mnum].off = ZSTD_REP_MOVE_OPT + curr - matchIndex3; in ZSTD_insertBtAndGetAllMatches()
293 hashTable[h] = curr; /* Update Hash Table */ in ZSTD_insertBtAndGetAllMatches()
316 matches[mnum].off = ZSTD_REP_MOVE_OPT + curr - matchIndex; in ZSTD_insertBtAndGetAllMatches()
351 zc->nextToUpdate = (matchEndIdx > curr + 8) ? matchEndIdx - 8 : curr + 1; in ZSTD_insertBtAndGetAllMatches()
[all …]
/linux-4.19.296/include/uapi/linux/
Dcdrom.h762 __u8 curr : 1; member
764 __u8 curr : 1; member
789 __u8 curr : 1; member
791 __u8 curr : 1; member
919 __u8 curr:1; member
921 __u8 curr:1; member
/linux-4.19.296/fs/udf/
Dinode.c918 int curr = *c; in udf_split_extents() local
919 int blen = ((laarr[curr].extLength & UDF_EXTENT_LENGTH_MASK) + in udf_split_extents()
921 int8_t etype = (laarr[curr].extLength >> 30); in udf_split_extents()
926 laarr[curr + 2] = laarr[curr + 1]; in udf_split_extents()
927 laarr[curr + 1] = laarr[curr]; in udf_split_extents()
929 laarr[curr + 3] = laarr[curr + 1]; in udf_split_extents()
930 laarr[curr + 2] = laarr[curr + 1] = laarr[curr]; in udf_split_extents()
936 &laarr[curr].extLocation, in udf_split_extents()
938 laarr[curr].extLength = in udf_split_extents()
941 laarr[curr].extLocation.logicalBlockNum = 0; in udf_split_extents()
[all …]
/linux-4.19.296/fs/
Dcoredump.c450 struct core_thread *curr, *next; in coredump_finish() local
461 while ((curr = next) != NULL) { in coredump_finish()
462 next = curr->next; in coredump_finish()
463 task = curr->task; in coredump_finish()
469 curr->task = NULL; in coredump_finish()
/linux-4.19.296/include/acpi/
Dvideo.h15 int curr; member
/linux-4.19.296/drivers/i2c/busses/
Di2c-ocores.c315 u32 curr, wr; in oc_setreg_grlib() local
320 curr = ioread32be(i2c->base + (rreg << i2c->reg_shift)); in oc_setreg_grlib()
322 wr = (curr & 0xff00) | value; in oc_setreg_grlib()
324 wr = (((u32)value) << 8) | (curr & 0xff); in oc_setreg_grlib()
/linux-4.19.296/drivers/pci/controller/
Dpcie-rockchip-host.c262 int curr; in rockchip_pcie_set_power_limit() local
274 curr = regulator_get_current_limit(rockchip->vpcie3v3); in rockchip_pcie_set_power_limit()
275 if (curr <= 0) in rockchip_pcie_set_power_limit()
279 curr = curr / 1000; /* convert to mA */ in rockchip_pcie_set_power_limit()
280 power = (curr * 3300) / 1000; /* milliwatt */ in rockchip_pcie_set_power_limit()

12