/Linux-v6.1/net/netfilter/ |
D | nft_last.c | 17 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 …]
|
D | nft_set_pipapo_avx2.c | 157 union nft_pipapo_map_bucket *mt, bool last) in nft_pipapo_avx2_refill() argument 167 if (last) \ in nft_pipapo_avx2_refill() 219 const u8 *pkt, bool first, bool last) in nft_pipapo_avx2_lookup_4b_2() argument 245 b = nft_pipapo_avx2_refill(i_ul, &map[i_ul], fill, f->mt, last); in nft_pipapo_avx2_lookup_4b_2() 246 if (last) in nft_pipapo_avx2_lookup_4b_2() 281 const u8 *pkt, bool first, bool last) in nft_pipapo_avx2_lookup_4b_4() argument 321 b = nft_pipapo_avx2_refill(i_ul, &map[i_ul], fill, f->mt, last); in nft_pipapo_avx2_lookup_4b_4() 322 if (last) in nft_pipapo_avx2_lookup_4b_4() 357 const u8 *pkt, bool first, bool last) in nft_pipapo_avx2_lookup_4b_8() argument 415 b = nft_pipapo_avx2_refill(i_ul, &map[i_ul], fill, f->mt, last); in nft_pipapo_avx2_lookup_4b_8() [all …]
|
/Linux-v6.1/drivers/infiniband/hw/usnic/ |
D | usnic_uiom_interval_tree.c | 43 #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 …]
|
D | usnic_uiom_interval_tree.h | 43 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-v6.1/arch/mips/sibyte/common/ |
D | cfe_console.c | 16 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-v6.1/arch/um/kernel/ |
D | tlb.c | 125 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-v6.1/drivers/video/fbdev/core/ |
D | sysfillrect.c | 28 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 …]
|
D | cfbfillrect.c | 38 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 …]
|
D | syscopyarea.c | 31 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-v6.1/drivers/vhost/ |
D | iotlb.c | 17 #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-v6.1/io_uring/ |
D | slist.h | 27 list->last = node; in wq_list_add_after() 45 list0->last->next = list1->first; in wq_list_merge() 57 list->last = node; in wq_list_add_tail() 60 list->last->next = node; in wq_list_add_tail() 61 list->last = node; in wq_list_add_tail() 70 list->last = node; in wq_list_add_head() 75 struct io_wq_work_node *last, in wq_list_cut() argument 80 WRITE_ONCE(list->first, last->next); in wq_list_cut() 82 prev->next = last->next; in wq_list_cut() 84 if (last == list->last) in wq_list_cut() [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_svm.c | 66 svm_range_check_vm(struct kfd_process *p, uint64_t start, uint64_t last, 84 prange, prange->start, prange->last); in svm_range_unlink() 93 if (prange->it_node.start != 0 && prange->it_node.last != 0) in svm_range_unlink() 101 prange, prange->start, prange->last); in svm_range_add_notifier_locked() 120 prange, prange->start, prange->last); in svm_range_add_to_svms() 124 prange->it_node.last = prange->last; in svm_range_add_to_svms() 133 prange->notifier.interval_tree.last >> PAGE_SHIFT); in svm_range_remove_notifier() 136 prange->notifier.interval_tree.last != 0) in svm_range_remove_notifier() 271 uint64_t size = (prange->last - prange->start + 1) << PAGE_SHIFT; in svm_range_free() 275 prange->start, prange->last); in svm_range_free() [all …]
|
/Linux-v6.1/include/trace/events/ |
D | maple_tree.h | 24 __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-v6.1/lib/math/ |
D | prime_numbers.c | 13 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-v6.1/arch/um/drivers/ |
D | umcast_kern.c | 74 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-v6.1/tools/perf/util/ |
D | ordered-events.c | 20 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-v6.1/include/linux/ |
D | interval_tree_generic.h | 42 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-v6.1/scripts/ |
D | decode_stacktrace.sh | 247 local last=$(( ${#words[@]} - 1 )) 262 if [[ ${words[$last]} =~ ^[0-9a-f]+\] ]]; then 263 words[$last-1]="${words[$last-1]} ${words[$last]}" 264 unset words[$last] 265 last=$(( $last - 1 )) 268 if [[ ${words[$last]} =~ \[([^]]+)\] ]]; then 269 module=${words[$last]} 277 symbol=${words[$last-1]} 278 unset words[$last-1] 281 symbol=${words[$last]} [all …]
|
/Linux-v6.1/mm/ |
D | interval_tree.c | 34 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-v6.1/drivers/memory/tegra/ |
D | tegra210-emc-cc-r21021.c | 119 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-v6.1/net/sunrpc/xprtrdma/ |
D | frwr_ops.c | 498 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 …]
|
/Linux-v6.1/crypto/asymmetric_keys/ |
D | pkcs7_trust.c | 27 struct x509_certificate *x509, *last = NULL, *p; in pkcs7_validate_trust_one() local 74 last = x509; in pkcs7_validate_trust_one() 75 sig = last->sig; in pkcs7_validate_trust_one() 81 if (last && (last->sig->auth_ids[0] || last->sig->auth_ids[1])) { in pkcs7_validate_trust_one() 83 last->sig->auth_ids[0], in pkcs7_validate_trust_one() 84 last->sig->auth_ids[1], in pkcs7_validate_trust_one() 87 x509 = last; in pkcs7_validate_trust_one()
|
/Linux-v6.1/drivers/gpu/drm/i915/gt/uc/ |
D | selftest_guc.c | 52 struct i915_request *last[3] = {NULL, NULL, NULL}, *rq; in intel_guc_scrub_ctbs() local 93 last[i] = rq; in intel_guc_scrub_ctbs() 97 ret = i915_request_wait(last[i], 0, HZ); in intel_guc_scrub_ctbs() 102 i915_request_put(last[i]); in intel_guc_scrub_ctbs() 103 last[i] = NULL; in intel_guc_scrub_ctbs() 122 if (last[i]) in intel_guc_scrub_ctbs() 123 i915_request_put(last[i]); in intel_guc_scrub_ctbs() 151 struct i915_request *spin_rq = NULL, *rq, *last = NULL; in intel_guc_steal_guc_ids() local 211 if (last) in intel_guc_steal_guc_ids() 212 i915_request_put(last); in intel_guc_steal_guc_ids() [all …]
|
/Linux-v6.1/drivers/infiniband/hw/cxgb4/ |
D | id_table.c | 51 obj = find_next_zero_bit(alloc->table, alloc->max, alloc->last); in c4iw_id_alloc() 57 alloc->last += prandom_u32_max(RANDOM_SKIP); in c4iw_id_alloc() 59 alloc->last = obj + 1; in c4iw_id_alloc() 60 if (alloc->last >= alloc->max) in c4iw_id_alloc() 61 alloc->last = 0; in c4iw_id_alloc() 88 alloc->last = prandom_u32_max(RANDOM_SKIP); in c4iw_id_table_alloc() 90 alloc->last = 0; in c4iw_id_table_alloc()
|
/Linux-v6.1/drivers/net/team/ |
D | team_mode_broadcast.c | 18 struct team_port *last = NULL; in bc_transmit() local 25 if (last) { in bc_transmit() 28 ret = !team_dev_queue_xmit(team, last, in bc_transmit() 34 last = cur; in bc_transmit() 37 if (last) { in bc_transmit() 38 ret = !team_dev_queue_xmit(team, last, skb); in bc_transmit()
|