/openbmc/linux/lib/ |
H A D | klist.c | 336 struct klist_node *last = i->i_cur; in klist_prev() local 342 if (last) { in klist_prev() 343 prev = to_klist_node(last->n_node.prev); in klist_prev() 344 if (!klist_dec_and_del(last)) in klist_prev() 361 if (put && last) in klist_prev() 362 put(last); in klist_prev() 378 struct klist_node *last = i->i_cur; in klist_next() local 384 if (last) { in klist_next() 386 if (!klist_dec_and_del(last)) in klist_next() 403 if (put && last) in klist_next() [all …]
|
H A D | maple_tree.c | 2800 last = next; in mtree_range_walk() 2834 mas->last = max; in mtree_range_walk() 3576 unsigned long last = wr_mas->mas->last; in mas_is_span_wr() local 3581 if (last < max) in mas_is_span_wr() 3586 if (last < max) in mas_is_span_wr() 3869 r_mas.last++; in mas_wr_spanning_store() 3873 r_mas.last = r_mas.index = mas->last; in mas_wr_spanning_store() 3883 mas->last = l_mas.last = r_mas.last; in mas_wr_spanning_store() 4896 mas->last = 0; in mas_walk() 5049 mas->last = max; in mas_empty_area() [all …]
|
H A D | test_min_heap.c | 38 int last; in pop_verify_heap() local 40 last = values[0]; in pop_verify_heap() 44 if (last > values[0]) { in pop_verify_heap() 45 pr_err("error: expected %d <= %d\n", last, in pop_verify_heap() 50 if (last < values[0]) { in pop_verify_heap() 51 pr_err("error: expected %d >= %d\n", last, in pop_verify_heap() 56 last = values[0]; in pop_verify_heap()
|
H A D | interval_tree_test.c | 30 search(struct rb_root_cached *root, unsigned long start, unsigned long last) in search() argument 35 for (node = interval_tree_iter_first(root, start, last); node; in search() 36 node = interval_tree_iter_next(node, start, last)) in search() 50 nodes[i].last = b; in init() 110 unsigned long last = search_all ? max_endpoint : queries[j]; in interval_tree_test_init() local 112 results += search(&root, start, last); in interval_tree_test_init()
|
/openbmc/linux/drivers/infiniband/hw/qib/ |
H A D | qib_tx.c | 65 unsigned last; in qib_disarm_piobufs() local 67 last = first + cnt; in qib_disarm_piobufs() 69 for (i = first; i < last; i++) { in qib_disarm_piobufs() 84 unsigned last; in qib_disarm_piobufs_ifneeded() local 86 last = rcd->pio_base + rcd->piocnt; in qib_disarm_piobufs_ifneeded() 103 for (i = rcd->pio_base; i < last; i++) { in qib_disarm_piobufs_ifneeded() 279 u32 first, u32 last) in qib_getsendbuf_range() argument 314 if (i > last) in qib_getsendbuf_range() 458 unsigned last; in qib_cancel_sends() local 472 last = rcd->pio_base + rcd->piocnt; in qib_cancel_sends() [all …]
|
/openbmc/linux/drivers/vdpa/vdpa_user/ |
H A D | iova_domain.c | 21 u64 start, u64 last, in vduse_iotlb_add_range() argument 46 u64 start, u64 last) in vduse_iotlb_del_range() argument 64 u64 start = 0ULL, last = ULLONG_MAX; in vduse_domain_set_map() local 68 vduse_iotlb_del_range(domain, start, last); in vduse_domain_set_map() 84 vduse_iotlb_del_range(domain, start, last); in vduse_domain_set_map() 93 u64 start = 0ULL, last = ULLONG_MAX; in vduse_domain_clear_map() local 107 u64 last = iova + size - 1; in vduse_domain_map_bounce_page() local 109 while (iova <= last) { in vduse_domain_map_bounce_page() 127 u64 last = iova + size - 1; in vduse_domain_unmap_bounce_page() local 129 while (iova <= last) { in vduse_domain_unmap_bounce_page() [all …]
|
/openbmc/u-boot/arch/arm/cpu/armv7/sunxi/ |
H A D | timer.c | 84 ulong now, last = read_timer(); in __udelay() local 88 if (now > last) /* normal (non rollover) */ in __udelay() 89 tmo -= now - last; in __udelay() 91 tmo -= TIMER_LOAD_VAL - last + now; in __udelay() 92 last = now; in __udelay()
|
/openbmc/linux/sound/pci/emu10k1/ |
H A D | voice.c | 56 voice->last = 1; in voice_alloc() 73 pvoice->use = pvoice->dirty = pvoice->last = 0; in voice_free() 127 int last; in snd_emu10k1_voice_free() local 133 last = pvoice->last; in snd_emu10k1_voice_free() 135 } while (!last); in snd_emu10k1_voice_free()
|
/openbmc/linux/drivers/pwm/ |
H A D | core.c | 120 pwm->last = pwm->state; in pwm_device_request() 388 struct pwm_state *last = &pwm->last; in pwm_apply_debug() local 431 last->period > s2.period && in pwm_apply_debug() 432 last->period <= state->period) in pwm_apply_debug() 444 last->period == s2.period && in pwm_apply_debug() 451 last->duty_cycle, last->period); in pwm_apply_debug() 467 *last = s1; in pwm_apply_debug() 472 *last = (struct pwm_state){ 0 }; in pwm_apply_debug() 474 trace_pwm_get(pwm, last, err); in pwm_apply_debug() 486 last->enabled, last->polarity, last->duty_cycle, in pwm_apply_debug() [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | c2p_iplan2.c | 92 u32 dst_idx, first, last, w; in c2p_iplan2() local 100 last = 0xffffU ^ (0xffffU >> ((dst_idx+width) % 16)); in c2p_iplan2() 101 last |= last << 16; in c2p_iplan2() 108 first &= last; in c2p_iplan2() 144 store_iplan2_masked(p, bpp, d.words, last); in c2p_iplan2()
|
/openbmc/linux/drivers/md/bcache/ |
H A D | util.c | 165 uint64_t now, duration, last; in bch_time_stats_update() local 172 last = time_after64(now, stats->last) in bch_time_stats_update() 173 ? now - stats->last : 0; in bch_time_stats_update() 177 if (stats->last) { in bch_time_stats_update() 181 ewma_add(stats->average_frequency, last, 8, 8); in bch_time_stats_update() 183 stats->average_frequency = last << 8; in bch_time_stats_update() 188 stats->last = now ?: 1; in bch_time_stats_update()
|
/openbmc/linux/fs/ext2/ |
H A D | xattr.c | 467 last = FIRST_ENTRY(bh); in ext2_xattr_set() 471 if (last->e_value_size) { in ext2_xattr_set() 479 name, last); in ext2_xattr_set() 481 here = last; in ext2_xattr_set() 483 last = EXT2_XATTR_NEXT(last); in ext2_xattr_set() 486 here = last; in ext2_xattr_set() 596 last = ENTRY(header+1); in ext2_xattr_set() 600 last->e_value_offs = in ext2_xattr_set() 602 last = EXT2_XATTR_NEXT(last); in ext2_xattr_set() 610 last = ENTRY((char *)last - size); in ext2_xattr_set() [all …]
|
/openbmc/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_misc.h | 80 struct sym_quehead *last = list->blink; in sym_que_splice() local 86 last->flink = at; in sym_que_splice() 87 at->blink = last; in sym_que_splice() 94 struct sym_quehead *first, *last; in sym_que_move() local 100 last = orig->blink; in sym_que_move() 101 last->flink = dest; in sym_que_move() 102 dest->blink = last; in sym_que_move()
|
/openbmc/linux/fs/proc/ |
H A D | namespaces.c | 121 const struct proc_ns_operations **entry, **last; in proc_ns_dir_readdir() local 131 last = &ns_entries[ARRAY_SIZE(ns_entries) - 1]; in proc_ns_dir_readdir() 132 while (entry <= last) { in proc_ns_dir_readdir() 155 const struct proc_ns_operations **entry, **last; in proc_ns_dir_lookup() local 162 last = &ns_entries[ARRAY_SIZE(ns_entries)]; in proc_ns_dir_lookup() 163 for (entry = ns_entries; entry < last; entry++) { in proc_ns_dir_lookup() 169 if (entry == last) in proc_ns_dir_lookup()
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A D | switch_to.h | 15 extern void *_switch_to(void *last, void *next); 17 #define switch_to(prev,next,last) \ argument 19 (last) = _switch_to(prev, next); \
|
/openbmc/linux/drivers/soc/fsl/qbman/ |
H A D | dpaa_sys.h | 92 static inline u8 dpaa_cyc_diff(u8 ringsize, u8 first, u8 last) in dpaa_cyc_diff() argument 95 if (first <= last) in dpaa_cyc_diff() 96 return last - first; in dpaa_cyc_diff() 97 return ringsize + last - first; in dpaa_cyc_diff()
|
/openbmc/linux/rust/macros/ |
H A D | pinned_drop.rs | 40 if let Some(TokenTree::Group(last)) = toks.pop() { in pinned_drop() 41 let last = last.stream(); in pinned_drop() localVariable 44 @impl_body(#last), in pinned_drop()
|
/openbmc/linux/include/trace/events/ |
H A D | sunvnet.h | 118 TP_PROTO(int lsid, int rsid, int last), 120 TP_ARGS(lsid, rsid, last), 125 __field(int, last) 131 __entry->last = last; 135 __entry->lsid, __entry->rsid, __entry->last)
|
/openbmc/qemu/tests/unit/ |
H A D | test-interval-tree.c | 15 static void rand_interval(IntervalTreeNode *n, uint64_t start, uint64_t last) in rand_interval() argument 19 if (last - start > INT32_MAX) { in rand_interval() 22 l_max = last - start; in rand_interval() 28 n->last = start + l_ofs; in rand_interval() 42 nodes[0].last = 1; in test_find_one_point() 66 nodes[0].last = 1; in test_find_two_point() 91 nodes[0].last = 8; in test_find_one_range() 116 nodes[0].last = 190; in test_find_one_range_many()
|
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/ |
H A D | __intrusive_queue.hpp | 234 iterator last) noexcept in splice() argument 236 if (first == last) in splice() 241 STDEXEC_ASSERT(last.__predecessor_ != nullptr); in splice() 244 other.__head_ = last.__item_; in splice() 253 first.__predecessor_->*_Next = last.__item_; in splice() 254 last.__predecessor_->*_Next = pos.__item_; in splice() 259 __tail_ = last.__predecessor_; in splice() 266 __tail_ = last.__predecessor_; in splice()
|
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | overlay-sysfs.c | 139 char *last; in overlay_position_store() local 144 info.pos_x = simple_strtoul(buf, &last, 10); in overlay_position_store() 145 ++last; in overlay_position_store() 146 if (last - buf >= size) in overlay_position_store() 149 info.pos_y = simple_strtoul(last, &last, 10); in overlay_position_store() 178 char *last; in overlay_output_size_store() local 183 info.out_width = simple_strtoul(buf, &last, 10); in overlay_output_size_store() 184 ++last; in overlay_output_size_store() 185 if (last - buf >= size) in overlay_output_size_store() 188 info.out_height = simple_strtoul(last, &last, 10); in overlay_output_size_store()
|
/openbmc/phosphor-webui/app/common/styles/base/ |
H A D | foundation.scss | 824 .column.end:last-child:last-child, .end.columns:last-child:last-child { 1003 .small-up-1 > .column:last-child, .small-up-1 > .columns:last-child { 1013 .small-up-2 > .column:last-child, .small-up-2 > .columns:last-child { 1023 .small-up-3 > .column:last-child, .small-up-3 > .columns:last-child { 1033 .small-up-4 > .column:last-child, .small-up-4 > .columns:last-child { 1043 .small-up-5 > .column:last-child, .small-up-5 > .columns:last-child { 1053 .small-up-6 > .column:last-child, .small-up-6 > .columns:last-child { 1063 .small-up-7 > .column:last-child, .small-up-7 > .columns:last-child { 1073 .small-up-8 > .column:last-child, .small-up-8 > .columns:last-child { 1442 .large-up-1 > .column:last-child, .large-up-1 > .columns:last-child { [all …]
|
/openbmc/linux/lib/zlib_inflate/ |
H A D | inflate.c | 43 state->last = 0; in zlib_inflateReset() 413 if (state->last) { in zlib_inflate() 419 state->last = BITS(1); in zlib_inflate() 592 last = this; in zlib_inflate() 594 this = state->lencode[last.val + in zlib_inflate() 595 (BITS(last.bits + last.op) >> last.bits)]; in zlib_inflate() 599 DROPBITS(last.bits); in zlib_inflate() 634 last = this; in zlib_inflate() 636 this = state->distcode[last.val + in zlib_inflate() 637 (BITS(last.bits + last.op) >> last.bits)]; in zlib_inflate() [all …]
|
/openbmc/u-boot/arch/nds32/cpu/n1213/ag101/ |
H A D | timer.c | 155 unsigned long now, last = readl(&tmr->timer3_counter); in __udelay() local 160 if (now > last) /* count down timer overflow */ in __udelay() 161 tmo -= TIMER_LOAD_VAL + last - now; in __udelay() 163 tmo -= last - now; in __udelay() 164 last = now; in __udelay()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | test_stack_var_off.c | 19 unsigned long last; in probe() local 29 last = (len - 1) & 0xf; in probe() 47 probe_res = stack_buf[last]; in probe()
|