Home
last modified time | relevance | path

Searched refs:last (Results 1 – 25 of 1616) sorted by relevance

12345678910>>...65

/linux-6.6.21/net/netfilter/
Dnft_last.c17 struct nft_last *last; member
29 struct nft_last *last; in nft_last_init() local
33 last = kzalloc(sizeof(*last), GFP_KERNEL_ACCOUNT); in nft_last_init()
34 if (!last) in nft_last_init()
38 last->set = ntohl(nla_get_be32(tb[NFTA_LAST_SET])); in nft_last_init()
40 if (last->set && tb[NFTA_LAST_MSECS]) { in nft_last_init()
45 last->jiffies = jiffies - (unsigned long)last_jiffies; in nft_last_init()
47 priv->last = last; in nft_last_init()
51 kfree(last); in nft_last_init()
60 struct nft_last *last = priv->last; in nft_last_eval() local
[all …]
/linux-6.6.21/drivers/infiniband/hw/usnic/
Dusnic_uiom_interval_tree.c43 #define LAST(node) ((node)->last)
70 usnic_uiom_interval_node_alloc(long int start, long int last, int ref_cnt, in usnic_uiom_interval_node_alloc() argument
79 interval->last = last; in usnic_uiom_interval_node_alloc()
105 unsigned long start, unsigned long last, in find_intervals_intersection_sorted() argument
112 for (node = usnic_uiom_interval_tree_iter_first(root, start, last); in find_intervals_intersection_sorted()
114 node = usnic_uiom_interval_tree_iter_next(node, start, last)) in find_intervals_intersection_sorted()
120 int usnic_uiom_get_intervals_diff(unsigned long start, unsigned long last, in usnic_uiom_get_intervals_diff() argument
132 find_intervals_intersection_sorted(root, start, last, in usnic_uiom_get_intervals_diff()
148 if (pivot > interval->last) { in usnic_uiom_get_intervals_diff()
150 } else if (pivot <= interval->last && in usnic_uiom_get_intervals_diff()
[all …]
Dusnic_uiom_interval_tree.h43 unsigned long last; member
58 unsigned long last);
61 unsigned long start, unsigned long last);
67 unsigned long start, unsigned long last,
75 unsigned long start, unsigned long last,
82 unsigned long last, int flags,
/linux-6.6.21/arch/mips/sibyte/common/
Dcfe_console.c16 int i, last, written; in cfe_console_write() local
18 for (i=0, last=0; i<count; i++) { in cfe_console_write()
24 written = cfe_write(cfe_cons_handle, &str[last], i-last); in cfe_console_write()
27 last += written; in cfe_console_write()
28 } while (last < i); in cfe_console_write()
33 if (last != count) { in cfe_console_write()
35 written = cfe_write(cfe_cons_handle, &str[last], count-last); in cfe_console_write()
38 last += written; in cfe_console_write()
39 } while (last < count); in cfe_console_write()
/linux-6.6.21/arch/um/kernel/
Dtlb.c125 struct host_vm_op *last; in add_mmap() local
133 last = &hvc->ops[hvc->index - 1]; in add_mmap()
134 if ((last->type == MMAP) && in add_mmap()
135 (last->u.mmap.addr + last->u.mmap.len == virt) && in add_mmap()
136 (last->u.mmap.prot == prot) && (last->u.mmap.fd == fd) && in add_mmap()
137 (last->u.mmap.offset + last->u.mmap.len == offset)) { in add_mmap()
138 last->u.mmap.len += len; in add_mmap()
162 struct host_vm_op *last; in add_munmap() local
166 last = &hvc->ops[hvc->index - 1]; in add_munmap()
167 if ((last->type == MUNMAP) && in add_munmap()
[all …]
/linux-6.6.21/drivers/video/fbdev/core/
Dsysfillrect.c28 unsigned long first, last; in bitfill_aligned() local
34 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_aligned()
38 if (last) in bitfill_aligned()
39 first &= last; in bitfill_aligned()
57 if (last) in bitfill_aligned()
58 *dst = comp(pat, *dst, last); in bitfill_aligned()
74 unsigned long first, last; in bitfill_unaligned() local
80 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned()
84 if (last) in bitfill_unaligned()
85 first &= last; in bitfill_unaligned()
[all …]
Dcfbfillrect.c38 unsigned long first, last; in bitfill_aligned() local
44 last = ~fb_shifted_pixels_mask_long(p, (dst_idx+n) % bits, bswapmask); in bitfill_aligned()
48 if (last) in bitfill_aligned()
49 first &= last; in bitfill_aligned()
78 if (last) in bitfill_aligned()
79 FB_WRITEL(comp(pat, FB_READL(dst), last), dst); in bitfill_aligned()
95 unsigned long first, last; in bitfill_unaligned() local
101 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitfill_unaligned()
105 if (last) in bitfill_unaligned()
106 first &= last; in bitfill_unaligned()
[all …]
Dsyscopyarea.c31 unsigned long first, last; in bitcpy() local
36 last = ~(FB_SHIFT_HIGH(p, ~0UL, (dst_idx+n) % bits)); in bitcpy()
42 if (last) in bitcpy()
43 first &= last; in bitcpy()
72 if (last) in bitcpy()
73 *dst = comp(*src, *dst, last); in bitcpy()
85 if (last) in bitcpy()
86 first &= last; in bitcpy()
159 *dst = comp(d0, *dst, last); in bitcpy()
174 unsigned long first, last; in bitcpy_rev() local
[all …]
/linux-6.6.21/drivers/vhost/
Diotlb.c17 #define LAST(map) ((map)->last)
51 u64 start, u64 last, in vhost_iotlb_add_range_ctx() argument
57 if (last < start) in vhost_iotlb_add_range_ctx()
63 if (start == 0 && last == ULONG_MAX) { in vhost_iotlb_add_range_ctx()
64 u64 mid = last / 2; in vhost_iotlb_add_range_ctx()
87 map->size = last - start + 1; in vhost_iotlb_add_range_ctx()
88 map->last = last; in vhost_iotlb_add_range_ctx()
104 u64 start, u64 last, in vhost_iotlb_add_range() argument
107 return vhost_iotlb_add_range_ctx(iotlb, start, last, in vhost_iotlb_add_range()
118 void vhost_iotlb_del_range(struct vhost_iotlb *iotlb, u64 start, u64 last) in vhost_iotlb_del_range() argument
[all …]
/linux-6.6.21/io_uring/
Dslist.h30 list->last = node; in wq_list_add_after()
38 list->last = node; in wq_list_add_tail()
41 list->last->next = node; in wq_list_add_tail()
42 list->last = node; in wq_list_add_tail()
51 list->last = node; in wq_list_add_head()
56 struct io_wq_work_node *last, in wq_list_cut() argument
61 WRITE_ONCE(list->first, last->next); in wq_list_cut()
63 prev->next = last->next; in wq_list_cut()
65 if (last == list->last) in wq_list_cut()
66 list->last = prev; in wq_list_cut()
[all …]
/linux-6.6.21/include/trace/events/
Dmaple_tree.h24 __field(unsigned long, last)
33 __entry->last = mas->last;
43 (unsigned long) __entry->last
57 __field(unsigned long, last)
66 __entry->last = mas->last;
76 (unsigned long) __entry->last
92 __field(unsigned long, last)
103 __entry->last = mas->last;
115 (unsigned long) __entry->last,
/linux-6.6.21/lib/math/
Dprime_numbers.c13 unsigned long last, sz; member
19 .last = 61,
44 .last = 31,
135 if (x < p->last) { in expand_to_next_prime()
147 new->last = clear_multiples(y, new->primes, p->sz, sz); in expand_to_next_prime()
150 BUG_ON(new->last <= x); in expand_to_next_prime()
194 while (x >= p->last) { in next_prime_number()
203 x = find_next_bit(p->primes, p->last, x + 1); in next_prime_number()
257 p->last, p->sz, p->primes[BITS_TO_LONGS(p->sz) - 1], buf); in dump_primes()
266 unsigned long x, last; in selftest() local
[all …]
/linux-6.6.21/arch/um/drivers/
Dumcast_kern.c74 char *last; in mcast_setup() local
90 init->lport = simple_strtoul(port_str, &last, 10); in mcast_setup()
91 if ((*last != '\0') || (last == port_str)) { in mcast_setup()
99 init->ttl = simple_strtoul(ttl_str, &last, 10); in mcast_setup()
100 if ((*last != '\0') || (last == ttl_str)) { in mcast_setup()
120 char *last; in ucast_setup() local
136 init->lport = simple_strtoul(lport_str, &last, 10); in ucast_setup()
137 if ((*last != '\0') || (last == lport_str)) { in ucast_setup()
145 init->rport = simple_strtoul(rport_str, &last, 10); in ucast_setup()
146 if ((*last != '\0') || (last == rport_str)) { in ucast_setup()
/linux-6.6.21/fs/xfs/scrub/
Dbitmap.c49 uint64_t last);
53 uint64_t last);
75 uint64_t last = start + len - 1; local
77 while ((bn = xbitmap_tree_iter_first(&bitmap->xb_root, start, last))) {
78 if (bn->bn_start < start && bn->bn_last > last) {
91 new_bn->bn_start = last + 1;
99 } else if (bn->bn_last > last) {
102 bn->bn_start = last + 1;
124 uint64_t last = start + len - 1; in xbitmap_set() local
128 left = xbitmap_tree_iter_first(&bitmap->xb_root, start, last); in xbitmap_set()
[all …]
/linux-6.6.21/tools/perf/util/
Dordered-events.c20 struct ordered_event *last = oe->last; in queue_event() local
25 oe->last = new; in queue_event()
29 if (!last) { in queue_event()
40 if (last->timestamp <= timestamp) { in queue_event()
41 while (last->timestamp <= timestamp) { in queue_event()
42 p = last->list.next; in queue_event()
48 last = list_entry(p, struct ordered_event, list); in queue_event()
50 list_add_tail(&new->list, &last->list); in queue_event()
52 while (last->timestamp > timestamp) { in queue_event()
53 p = last->list.prev; in queue_event()
[all …]
/linux-6.6.21/tools/include/linux/
Dinterval_tree_generic.h42 ITTYPE start = ITSTART(node), last = ITLAST(node); \
49 if (parent->ITSUBTREE < last) \
50 parent->ITSUBTREE = last; \
59 node->ITSUBTREE = last; \
81 ITPREFIX ## _subtree_search(ITSTRUCT *node, ITTYPE start, ITTYPE last) \
104 if (ITSTART(node) <= last) { /* Cond1 */ \
120 ITTYPE start, ITTYPE last) \
145 if (ITSTART(leftmost) > last) \
148 return ITPREFIX ## _subtree_search(node, start, last); \
152 ITPREFIX ## _iter_next(ITSTRUCT *node, ITTYPE start, ITTYPE last) \
[all …]
/linux-6.6.21/include/linux/
Dinterval_tree_generic.h42 ITTYPE start = ITSTART(node), last = ITLAST(node); \
49 if (parent->ITSUBTREE < last) \
50 parent->ITSUBTREE = last; \
59 node->ITSUBTREE = last; \
81 ITPREFIX ## _subtree_search(ITSTRUCT *node, ITTYPE start, ITTYPE last) \
104 if (ITSTART(node) <= last) { /* Cond1 */ \
120 ITTYPE start, ITTYPE last) \
145 if (ITSTART(leftmost) > last) \
148 return ITPREFIX ## _subtree_search(node, start, last); \
152 ITPREFIX ## _iter_next(ITSTRUCT *node, ITTYPE start, ITTYPE last) \
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/amdkfd/
Dkfd_svm.c77 svm_range_check_vm(struct kfd_process *p, uint64_t start, uint64_t last,
95 prange, prange->start, prange->last); in svm_range_unlink()
104 if (prange->it_node.start != 0 && prange->it_node.last != 0) in svm_range_unlink()
112 prange, prange->start, prange->last); in svm_range_add_notifier_locked()
131 prange, prange->start, prange->last); in svm_range_add_to_svms()
135 prange->it_node.last = prange->last; in svm_range_add_to_svms()
144 prange->notifier.interval_tree.last >> PAGE_SHIFT); in svm_range_remove_notifier()
147 prange->notifier.interval_tree.last != 0) in svm_range_remove_notifier()
282 uint64_t size = (prange->last - prange->start + 1) << PAGE_SHIFT; in svm_range_free()
286 prange->start, prange->last); in svm_range_free()
[all …]
/linux-6.6.21/scripts/
Ddecode_stacktrace.sh262 local last=$(( ${#words[@]} - 1 ))
277 if [[ ${words[$last]} =~ ^[0-9a-f]+\] ]]; then
278 words[$last-1]="${words[$last-1]} ${words[$last]}"
279 unset words[$last]
280 last=$(( $last - 1 ))
283 if [[ ${words[$last]} =~ \[([^]]+)\] ]]; then
284 module=${words[$last]}
292 symbol=${words[$last-1]}
293 unset words[$last-1]
296 symbol=${words[$last]}
[all …]
/linux-6.6.21/mm/
Dinterval_tree.c34 unsigned long last = vma_last_pgoff(node); in vma_interval_tree_insert_after() local
44 if (parent->shared.rb_subtree_last < last) in vma_interval_tree_insert_after()
45 parent->shared.rb_subtree_last = last; in vma_interval_tree_insert_after()
49 if (parent->shared.rb_subtree_last < last) in vma_interval_tree_insert_after()
50 parent->shared.rb_subtree_last = last; in vma_interval_tree_insert_after()
55 node->shared.rb_subtree_last = last; in vma_interval_tree_insert_after()
93 unsigned long first, unsigned long last) in anon_vma_interval_tree_iter_first() argument
95 return __anon_vma_interval_tree_iter_first(root, first, last); in anon_vma_interval_tree_iter_first()
100 unsigned long first, unsigned long last) in anon_vma_interval_tree_iter_next() argument
102 return __anon_vma_interval_tree_iter_next(node, first, last); in anon_vma_interval_tree_iter_next()
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/
Dselftest_guc.c54 struct i915_request *last[3] = {NULL, NULL, NULL}, *rq; in intel_guc_scrub_ctbs() local
95 last[i] = rq; in intel_guc_scrub_ctbs()
99 ret = i915_request_wait(last[i], 0, HZ); in intel_guc_scrub_ctbs()
104 i915_request_put(last[i]); in intel_guc_scrub_ctbs()
105 last[i] = NULL; in intel_guc_scrub_ctbs()
124 if (last[i]) in intel_guc_scrub_ctbs()
125 i915_request_put(last[i]); in intel_guc_scrub_ctbs()
153 struct i915_request *spin_rq = NULL, *rq, *last = NULL; in intel_guc_steal_guc_ids() local
207 if ((ret != -EAGAIN) || !last) { in intel_guc_steal_guc_ids()
209 last ? "" : "first ", context_index, ERR_PTR(ret)); in intel_guc_steal_guc_ids()
[all …]
/linux-6.6.21/drivers/iommu/iommufd/
Dio_pagetable.h78 return area->pages_node.last; in iopt_area_last_index()
88 return area->node.last; in iopt_area_last_iova()
93 return (area->node.last - area->node.start) + 1; in iopt_area_length()
120 unsigned long last) \
126 last); \
133 unsigned long last) \
137 node = interval_tree_iter_next(&last_node->node, start, last); \
218 unsigned long last, struct page **out_pages);
220 unsigned long last, struct page **out_pages);
222 unsigned long last);
[all …]
/linux-6.6.21/drivers/memory/tegra/
Dtegra210-emc-cc-r21021.c119 struct tegra210_emc_timing *last = emc->last; in update_clock_tree_delay() local
121 u32 last_timing_rate_mhz = last->rate / 1000; in update_clock_tree_delay()
155 cval = tegra210_emc_actual_osc_clocks(last->run_clocks); in update_clock_tree_delay()
180 cval = tegra210_emc_actual_osc_clocks(last->run_clocks); in update_clock_tree_delay()
208 cval = tegra210_emc_actual_osc_clocks(last->run_clocks); in update_clock_tree_delay()
235 cval = tegra210_emc_actual_osc_clocks(last->run_clocks); in update_clock_tree_delay()
290 cval = tegra210_emc_actual_osc_clocks(last->run_clocks); in update_clock_tree_delay()
317 cval = tegra210_emc_actual_osc_clocks(last->run_clocks); in update_clock_tree_delay()
345 cval = tegra210_emc_actual_osc_clocks(last->run_clocks); in update_clock_tree_delay()
372 cval = tegra210_emc_actual_osc_clocks(last->run_clocks); in update_clock_tree_delay()
[all …]
/linux-6.6.21/drivers/base/regmap/
Dregcache-maple.c44 unsigned long index, last; in regcache_maple_write() local
60 last = reg; in regcache_maple_write()
65 lower_sz = (mas.last - mas.index + 1) * sizeof(unsigned long); in regcache_maple_write()
70 last = mas.last; in regcache_maple_write()
71 upper_sz = (mas.last - mas.index + 1) * sizeof(unsigned long); in regcache_maple_write()
76 entry = kmalloc((last - index + 1) * sizeof(unsigned long), in regcache_maple_write()
94 mas_set_range(&mas, index, last); in regcache_maple_write()
144 if (mas.last > max) { in regcache_maple_drop()
146 upper_last = mas.last; in regcache_maple_drop()
149 ((mas.last - max) * in regcache_maple_drop()
[all …]
/linux-6.6.21/net/sunrpc/xprtrdma/
Dfrwr_ops.c498 struct ib_send_wr *first, **prev, *last; in frwr_unmap_sync() local
515 last = &mr->mr_invwr; in frwr_unmap_sync()
516 last->next = NULL; in frwr_unmap_sync()
517 last->wr_cqe = &mr->mr_cqe; in frwr_unmap_sync()
518 last->sg_list = NULL; in frwr_unmap_sync()
519 last->num_sge = 0; in frwr_unmap_sync()
520 last->opcode = IB_WR_LOCAL_INV; in frwr_unmap_sync()
521 last->send_flags = IB_SEND_SIGNALED; in frwr_unmap_sync()
522 last->ex.invalidate_rkey = mr->mr_handle; in frwr_unmap_sync()
524 last->wr_cqe->done = frwr_wc_localinv; in frwr_unmap_sync()
[all …]

12345678910>>...65