/linux/drivers/mfd/ |
A D | ab8500-debugfs.c | 113 u8 last; member 165 .last = 0x02, 169 .last = 0x42, 173 .last = 0x81, 182 .last = 0x0D, 186 .last = 0x17, 190 .last = 0x30, 194 .last = 0x33, 203 .last = 0x00, 207 .last = 0x10, [all …]
|
/linux/drivers/infiniband/hw/usnic/ |
A D | usnic_uiom_interval_tree.c | 43 #define LAST(node) ((node)->last) 79 interval->last = last; in usnic_uiom_interval_node_alloc() 148 if (pivot > interval->last) { in usnic_uiom_get_intervals_diff() 150 } else if (pivot <= interval->last && in usnic_uiom_get_intervals_diff() 153 pivot = interval->last + 1; in usnic_uiom_get_intervals_diff() 157 if (pivot <= last) in usnic_uiom_get_intervals_diff() 180 unsigned long last, int flags) in usnic_uiom_insert_interval() argument 199 ilast = interval->last; in usnic_uiom_insert_interval() 214 if (ilast > last) { in usnic_uiom_insert_interval() 229 if (lpivot <= last) in usnic_uiom_insert_interval() [all …]
|
A 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/arch/um/kernel/ |
A D | tlb.c | 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() 168 (last->u.munmap.addr + last->u.mmap.len == addr)) { in add_munmap() 195 (last->u.mprotect.addr + last->u.mprotect.len == addr) && in add_mprotect() 370 last = end; in flush_tlb_kernel_range_common() 378 addr = last; in flush_tlb_kernel_range_common() 386 last = end; in flush_tlb_kernel_range_common() 394 addr = last; in flush_tlb_kernel_range_common() 402 last = end; in flush_tlb_kernel_range_common() [all …]
|
/linux/arch/mips/sibyte/common/ |
A 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/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_svm.c | 112 prange->it_node.last = prange->last; in svm_range_add_to_svms() 297 prange->last = last; in svm_range_new() 860 new->last > old->last) { in svm_range_split_adjust() 877 old->last = last; in svm_range_split_adjust() 1025 if (last < prange->last) { in svm_range_split_by_granularity() 1725 l = min(last, pchild->last); in svm_range_evict() 1731 l = min(last, prange->last); in svm_range_evict() 1842 if (node->last > last) { in svm_range_handle_overlap() 2107 if (last < tail->last) in svm_range_unmap_split() 2151 l = min(last, pchild->last); in svm_range_unmap_from_cpu() [all …]
|
/linux/drivers/video/fbdev/core/ |
A D | sysfillrect.c | 38 if (last) in bitfill_aligned() 39 first &= last; in bitfill_aligned() 67 if (last) in bitfill_aligned() 94 if (last) in bitfill_unaligned() 95 first &= last; in bitfill_unaligned() 126 if (last) in bitfill_unaligned() 149 if (last) in bitfill_aligned_rev() 150 first &= last; in bitfill_aligned_rev() 177 if (last) in bitfill_aligned_rev() 205 if (last) in bitfill_unaligned_rev() [all …]
|
A D | cfbfillrect.c | 48 if (last) in bitfill_aligned() 49 first &= last; in bitfill_aligned() 78 if (last) in bitfill_aligned() 105 if (last) in bitfill_unaligned() 106 first &= last; in bitfill_unaligned() 137 if (last) in bitfill_unaligned() 161 if (last) in bitfill_aligned_rev() 162 first &= last; in bitfill_aligned_rev() 201 if (last) { in bitfill_aligned_rev() 231 if (last) in bitfill_unaligned_rev() [all …]
|
A D | syscopyarea.c | 31 unsigned long first, last; in bitcpy() local 42 if (last) in bitcpy() 43 first &= last; in bitcpy() 72 if (last) in bitcpy() 85 if (last) in bitcpy() 86 first &= last; in bitcpy() 174 unsigned long first, last; in bitcpy_rev() local 192 last &= first; in bitcpy_rev() 221 if (last != -1UL) in bitcpy_rev() 233 last &= first; in bitcpy_rev() [all …]
|
A D | cfbcopyarea.c | 50 unsigned long first, last; in bitcpy() local 71 if (last) in bitcpy() 72 first &= last; in bitcpy() 102 if (last) in bitcpy() 115 if (last) in bitcpy() 116 first &= last; in bitcpy() 216 unsigned long first, last; in bitcpy_rev() local 245 last &= first; in bitcpy_rev() 275 if (last != -1UL) in bitcpy_rev() 289 last &= first; in bitcpy_rev() [all …]
|
A D | fbsysfs.c | 219 char ** last = NULL; in store_bpp() local 242 char **last = NULL; in store_rotate() local 269 char *last = NULL; in store_virtual() local 274 last++; in store_virtual() 275 if (last - buf >= count) in store_virtual() 277 var.yres_virtual = simple_strtoul(last, &last, 0); in store_virtual() 304 char *last = NULL; in store_blank() local 361 char *last = NULL; in store_pan() local 366 last++; in store_pan() 369 var.yoffset = simple_strtoul(last, &last, 0); in store_pan() [all …]
|
/linux/drivers/vhost/ |
A 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() 72 map->size = last - start + 1; in vhost_iotlb_add_range_ctx() 73 map->last = last; in vhost_iotlb_add_range_ctx() 89 u64 start, u64 last, in vhost_iotlb_add_range() argument 92 return vhost_iotlb_add_range_ctx(iotlb, start, last, in vhost_iotlb_add_range() 108 start, last))) in vhost_iotlb_del_range() 167 vhost_iotlb_itree_first(struct vhost_iotlb *iotlb, u64 start, u64 last) in vhost_iotlb_itree_first() argument 169 return vhost_iotlb_itree_iter_first(&iotlb->root, start, last); in vhost_iotlb_itree_first() [all …]
|
/linux/lib/math/ |
A 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() 150 BUG_ON(new->last <= x); in expand_to_next_prime() 194 while (x >= p->last) { in next_prime_number() 266 unsigned long x, last; in selftest() local 271 for (last = 0, x = 2; x < max; x++) { in selftest() 284 if (next_prime_number(last) != x) { in selftest() 286 last, x, next_prime_number(last)); in selftest() [all …]
|
/linux/tools/perf/util/ |
A 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() 42 p = last->list.next; in queue_event() 52 while (last->timestamp > timestamp) { in queue_event() 53 p = last->list.prev; in queue_event() 60 list_add(&new->list, &last->list); in queue_event() 228 u64 last_ts = oe->last ? oe->last->timestamp : 0ULL; in do_flush() 256 oe->last = NULL; in do_flush() [all …]
|
/linux/arch/um/drivers/ |
A 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/scripts/ |
A D | decode_stacktrace.sh | 222 local last=$(( ${#words[@]} - 1 )) 237 if [[ ${words[$last]} =~ ^[0-9a-f]+\] ]]; then 238 words[$last-1]="${words[$last-1]} ${words[$last]}" 239 unset words[$last] 240 last=$(( $last - 1 )) 243 if [[ ${words[$last]} =~ \[([^]]+)\] ]]; then 244 module=${words[$last]} 252 symbol=${words[$last-1]} 253 unset words[$last-1] 256 symbol=${words[$last]} [all …]
|
/linux/fs/ |
A D | io-wq.h | 29 struct io_wq_work_node *last; member 52 list->last = node; in wq_list_add_after() 60 list->last = node; in wq_list_add_tail() 63 list->last->next = node; in wq_list_add_tail() 64 list->last = node; in wq_list_add_tail() 73 list->last = node; in wq_list_add_head() 85 prev->next = last->next; in wq_list_cut() 87 if (last == list->last) in wq_list_cut() 88 list->last = prev; in wq_list_cut() 89 last->next = NULL; in wq_list_cut() [all …]
|
/linux/drivers/memory/tegra/ |
A D | tegra210-emc-cc-r21021.c | 119 struct tegra210_emc_timing *last = emc->last; in update_clock_tree_delay() local 422 if (last->periodic_training && in periodic_compensation_handler() 493 struct tegra210_emc_timing *last = emc->last; in tegra210_emc_r21021_periodic_compensation() local 497 if (last->periodic_training) { in tegra210_emc_r21021_periodic_compensation() 541 delay /= last->rate + 1; in tegra210_emc_r21021_periodic_compensation() 550 last, last); in tegra210_emc_r21021_periodic_compensation() 556 if (last->tree_margin < ((del * 128 * (last->rate / 1000)) / 1000000)) { in tegra210_emc_r21021_periodic_compensation() 607 struct tegra210_emc_timing *fake, *last = emc->last, *next = emc->next; in tegra210_emc_r21021_set_clock() local 964 W2P_war = last->burst_regs[ in tegra210_emc_r21021_set_clock() 1220 if (next->rate < last->rate) { in tegra210_emc_r21021_set_clock() [all …]
|
/linux/include/linux/ |
A 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; \ 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) \ 168 start, last); \ [all …]
|
/linux/net/sunrpc/xprtrdma/ |
A D | frwr_ops.c | 523 last = &mr->mr_invwr; in frwr_unmap_sync() 524 last->next = NULL; in frwr_unmap_sync() 526 last->sg_list = NULL; in frwr_unmap_sync() 527 last->num_sge = 0; in frwr_unmap_sync() 534 *prev = last; in frwr_unmap_sync() 535 prev = &last->next; in frwr_unmap_sync() 626 last = &mr->mr_invwr; in frwr_unmap_async() 627 last->next = NULL; in frwr_unmap_async() 630 last->num_sge = 0; in frwr_unmap_async() 637 *prev = last; in frwr_unmap_async() [all …]
|
/linux/mm/ |
A 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/net/netfilter/ |
A D | nft_set_pipapo_avx2.c | 246 if (last) in nft_pipapo_avx2_lookup_4b_2() 322 if (last) in nft_pipapo_avx2_lookup_4b_4() 416 if (last) in nft_pipapo_avx2_lookup_4b_8() 506 if (last) in nft_pipapo_avx2_lookup_4b_12() 641 if (last) in nft_pipapo_avx2_lookup_4b_32() 698 if (last) in nft_pipapo_avx2_lookup_8b_1() 762 if (last) in nft_pipapo_avx2_lookup_8b_2() 836 if (last) in nft_pipapo_avx2_lookup_8b_4() 921 if (last) in nft_pipapo_avx2_lookup_8b_6() 1013 if (last) in nft_pipapo_avx2_lookup_8b_16() [all …]
|
/linux/crypto/asymmetric_keys/ |
A 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/drivers/crypto/marvell/cesa/ |
A D | tdma.c | 76 dreq->chain.last = NULL; in mv_cesa_dma_cleanup() 101 engine->chain.last = dreq->chain.last; in mv_cesa_tdma_chain() 103 struct mv_cesa_tdma_desc *last; in mv_cesa_tdma_chain() local 105 last = engine->chain.last; in mv_cesa_tdma_chain() 106 last->next = dreq->chain.first; in mv_cesa_tdma_chain() 107 engine->chain.last = dreq->chain.last; in mv_cesa_tdma_chain() 157 engine->chain.last = NULL; in mv_cesa_tdma_process() 203 if (chain->last) { in mv_cesa_dma_add_desc() 205 chain->last->next = new_tdma; in mv_cesa_dma_add_desc() 210 chain->last = new_tdma; in mv_cesa_dma_add_desc() [all …]
|
/linux/drivers/vdpa/vdpa_user/ |
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 …]
|