Home
last modified time | relevance | path

Searched refs:overlap (Results 1 - 25 of 63) sorted by relevance

123

/kernel/linux/linux-5.10/arch/x86/boot/compressed/
H A Dkaslr.c317 * regions that are unsafe to overlap with during decompression, and other
395 * Avoid the region that is unsafe to overlap during in mem_avoid_init()
433 * Does this memory vector overlap a known avoided area? If so, record the
434 * overlap region with the lowest address.
437 struct mem_vector *overlap) in mem_avoid_overlap()
447 *overlap = mem_avoid[i]; in mem_avoid_overlap()
448 earliest = overlap->start; in mem_avoid_overlap()
462 *overlap = avoid; in mem_avoid_overlap()
463 earliest = overlap->start; in mem_avoid_overlap()
473 *overlap in mem_avoid_overlap()
436 mem_avoid_overlap(struct mem_vector *img, struct mem_vector *overlap) mem_avoid_overlap() argument
588 struct mem_vector region, overlap; __process_mem_region() local
[all...]
/kernel/linux/linux-6.6/arch/x86/boot/compressed/
H A Dkaslr.c313 * regions that are unsafe to overlap with during decompression, and other
391 * Avoid the region that is unsafe to overlap during in mem_avoid_init()
429 * Does this memory vector overlap a known avoided area? If so, record the
430 * overlap region with the lowest address.
433 struct mem_vector *overlap) in mem_avoid_overlap()
443 *overlap = mem_avoid[i]; in mem_avoid_overlap()
444 earliest = overlap->start; in mem_avoid_overlap()
458 *overlap = avoid; in mem_avoid_overlap()
459 earliest = overlap->start; in mem_avoid_overlap()
469 *overlap in mem_avoid_overlap()
432 mem_avoid_overlap(struct mem_vector *img, struct mem_vector *overlap) mem_avoid_overlap() argument
584 struct mem_vector region, overlap; __process_mem_region() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_pipeline_state.c601 st->overlap = dflow->overlap; in komeda_splitter_validate()
920 * pixels (overlap) to both side, after split the left/right will be:
921 * - left: [0, src_length/2 + overlap]
922 * - right: [src_length/2 - overlap, src_length]
923 * The extra overlap do eliminate the edge problem, but which may also generates
935 * \ \<--overlap--->/
937 * /<---overlap--->\ \
952 u32 l_out, r_out, overlap; in komeda_split_data_flow() local
961 overlap in komeda_split_data_flow()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_pipeline_state.c601 st->overlap = dflow->overlap; in komeda_splitter_validate()
920 * pixels (overlap) to both side, after split the left/right will be:
921 * - left: [0, src_length/2 + overlap]
922 * - right: [src_length/2 - overlap, src_length]
923 * The extra overlap do eliminate the edge problem, but which may also generates
935 * \ \<--overlap--->/
937 * /<---overlap--->\ \
952 u32 l_out, r_out, overlap; in komeda_split_data_flow() local
961 overlap in komeda_split_data_flow()
[all...]
/kernel/linux/linux-5.10/kernel/dma/
H A Ddebug.c438 * count for the overlapping mappings. For now, the overlap tracking
465 int overlap = 0, i; in active_cacheline_read_overlap() local
469 overlap |= 1 << i; in active_cacheline_read_overlap()
470 return overlap; in active_cacheline_read_overlap()
473 static int active_cacheline_set_overlap(phys_addr_t cln, int overlap) in active_cacheline_set_overlap() argument
477 if (overlap > ACTIVE_CACHELINE_MAX_OVERLAP || overlap < 0) in active_cacheline_set_overlap()
478 return overlap; in active_cacheline_set_overlap()
481 if (overlap & 1 << i) in active_cacheline_set_overlap()
486 return overlap; in active_cacheline_set_overlap()
491 int overlap = active_cacheline_read_overlap(cln); active_cacheline_inc_overlap() local
505 int overlap = active_cacheline_read_overlap(cln); active_cacheline_dec_overlap() local
1080 static inline bool overlap(void *addr, unsigned long len, void *start, void *end) overlap() function
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c115 u8 overlap; in mlx5e_ipsec_update_esn_state() local
126 overlap = sa_entry->esn_state.overlap; in mlx5e_ipsec_update_esn_state()
132 if (unlikely(overlap && seq_bottom < MLX5E_IPSEC_ESN_SCOPE_MID)) { in mlx5e_ipsec_update_esn_state()
133 sa_entry->esn_state.overlap = 0; in mlx5e_ipsec_update_esn_state()
135 } else if (unlikely(!overlap && in mlx5e_ipsec_update_esn_state()
137 sa_entry->esn_state.overlap = 1; in mlx5e_ipsec_update_esn_state()
179 if (sa_entry->esn_state.overlap) in mlx5e_ipsec_build_accel_xfrm_attrs()
H A Dipsec.h97 u8 overlap: 1; member
/kernel/linux/linux-5.10/drivers/block/drbd/
H A Ddrbd_interval.c115 struct drbd_interval *overlap = NULL; in drbd_find_overlap() local
130 overlap = here; in drbd_find_overlap()
138 return overlap; in drbd_find_overlap()
/kernel/linux/linux-5.10/net/netfilter/
H A Dnf_sockopt.c18 /* Do exclusive ranges overlap? */
19 static inline int overlap(int min1, int max1, int min2, int max2) in overlap() function
33 && (overlap(ops->set_optmin, ops->set_optmax, in nf_register_sockopt()
35 || overlap(ops->get_optmin, ops->get_optmax, in nf_register_sockopt()
37 pr_debug("nf_sock overlap: %u-%u/%u-%u v %u-%u/%u-%u\n", in nf_register_sockopt()
/kernel/linux/linux-6.6/drivers/block/drbd/
H A Ddrbd_interval.c121 struct drbd_interval *overlap = NULL; in drbd_find_overlap() local
136 overlap = here; in drbd_find_overlap()
144 return overlap; in drbd_find_overlap()
/kernel/linux/linux-6.6/net/netfilter/
H A Dnf_sockopt.c18 /* Do exclusive ranges overlap? */
19 static inline int overlap(int min1, int max1, int min2, int max2) in overlap() function
33 && (overlap(ops->set_optmin, ops->set_optmax, in nf_register_sockopt()
35 || overlap(ops->get_optmin, ops->get_optmax, in nf_register_sockopt()
37 pr_debug("nf_sock overlap: %u-%u/%u-%u v %u-%u/%u-%u\n", in nf_register_sockopt()
/kernel/linux/linux-6.6/kernel/dma/
H A Ddebug.c406 * count for the overlapping mappings. For now, the overlap tracking
433 int overlap = 0, i; in active_cacheline_read_overlap() local
437 overlap |= 1 << i; in active_cacheline_read_overlap()
438 return overlap; in active_cacheline_read_overlap()
441 static int active_cacheline_set_overlap(phys_addr_t cln, int overlap) in active_cacheline_set_overlap() argument
445 if (overlap > ACTIVE_CACHELINE_MAX_OVERLAP || overlap < 0) in active_cacheline_set_overlap()
446 return overlap; in active_cacheline_set_overlap()
449 if (overlap & 1 << i) in active_cacheline_set_overlap()
454 return overlap; in active_cacheline_set_overlap()
459 int overlap = active_cacheline_read_overlap(cln); active_cacheline_inc_overlap() local
473 int overlap = active_cacheline_read_overlap(cln); active_cacheline_dec_overlap() local
[all...]
/kernel/linux/linux-6.6/drivers/video/
H A Daperture.c144 static bool overlap(resource_size_t base1, resource_size_t end1, in overlap() function
175 if (overlap(base, end, ap->base, ap->base + ap->size)) { in devm_aperture_acquire()
261 if (!overlap(base, end, ap->base, ap->base + ap->size)) in aperture_detach_devices()
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c89 u8 overlap; in mlx5e_ipsec_update_esn_state() local
116 overlap = sa_entry->esn_state.overlap; in mlx5e_ipsec_update_esn_state()
134 if (unlikely(overlap && seq_bottom < MLX5E_IPSEC_ESN_SCOPE_MID)) { in mlx5e_ipsec_update_esn_state()
135 sa_entry->esn_state.overlap = 0; in mlx5e_ipsec_update_esn_state()
137 } else if (unlikely(!overlap && in mlx5e_ipsec_update_esn_state()
139 sa_entry->esn_state.overlap = 1; in mlx5e_ipsec_update_esn_state()
346 attrs->replay_esn.overlap = sa_entry->esn_state.overlap; in mlx5e_ipsec_build_accel_xfrm_attrs()
H A Dipsec_offload.c162 MLX5_SET(ipsec_obj, obj, esn_overlap, attrs->replay_esn.overlap); in mlx5_create_ipsec_obj()
276 MLX5_SET(ipsec_obj, obj, esn_overlap, attrs->replay_esn.overlap); in mlx5_modify_ipsec_obj()
314 sa_entry->esn_state.overlap = 0; in mlx5e_ipsec_update_esn_state()
316 sa_entry->esn_state.overlap = 1; in mlx5e_ipsec_update_esn_state()
H A Dipsec.h74 u8 overlap : 1; member
246 u8 overlap: 1; member
H A Dmacsec.c48 u8 overlap; member
266 MLX5_SET(macsec_offload_obj, obj, epn_overlap, attrs->epn_state.overlap); in mlx5e_macsec_create_object()
496 epn_state->overlap = next_pn_halves->lower < MLX5_MACSEC_EPN_SCOPE_MID ? 0 : 1; in update_macsec_epn()
1275 attrs->epn_state.overlap = sa->epn_state.overlap; in macsec_build_accel_attrs()
1342 MLX5_SET(macsec_offload_obj, obj, epn_overlap, attrs->epn_state.overlap); in mlx5e_macsec_modify_obj()
1496 sa->epn_state.overlap = 0; in macsec_epn_update()
1498 sa->epn_state.overlap = 1; in macsec_epn_update()
/kernel/linux/linux-6.6/lib/
H A Dmemcpy_kunit.c135 struct some_bytes overlap = { in memmove_test() local
181 ptr = &overlap.data[2]; in memmove_test()
182 memmove(ptr, overlap.data, 5); in memmove_test()
183 compare("overlapping write", overlap, overlap_expected); in memmove_test()
464 * Running all possible offset and overlap combinations takes a in memmove_overlap_test()
/kernel/linux/linux-5.10/block/partitions/
H A Dcore.c509 bool overlap = false; in partition_overlaps() local
517 overlap = true; in partition_overlaps()
522 return overlap; in partition_overlaps()
/kernel/linux/linux-6.6/block/partitions/
H A Dcore.c421 bool overlap = false; in partition_overlaps() local
429 overlap = true; in partition_overlaps()
435 return overlap; in partition_overlaps()
/kernel/linux/linux-5.10/drivers/s390/cio/
H A Dqdio_main.c1411 int overlap; in handle_inbound() local
1416 overlap = min_t(int, count - sub_buf(q->u.in.batch_start, bufnr), in handle_inbound()
1418 if (overlap > 0) { in handle_inbound()
1419 q->u.in.batch_start = add_buf(q->u.in.batch_start, overlap); in handle_inbound()
1420 q->u.in.batch_count -= overlap; in handle_inbound()
/kernel/linux/linux-5.10/drivers/nvdimm/
H A Dregion_devs.c335 resource_size_t blk_max_overlap = 0, available, overlap; in nd_region_available_dpa() local
342 overlap = blk_max_overlap; in nd_region_available_dpa()
353 nd_mapping, &overlap); in nd_region_available_dpa()
354 if (overlap > blk_max_overlap) { in nd_region_available_dpa()
355 blk_max_overlap = overlap; in nd_region_available_dpa()
/kernel/linux/linux-6.6/drivers/s390/cio/
H A Dqdio_main.c1194 int overlap; in handle_inbound() local
1199 overlap = min_t(int, count - sub_buf(q->u.in.batch_start, bufnr), in handle_inbound()
1201 if (overlap > 0) { in handle_inbound()
1202 q->u.in.batch_start = add_buf(q->u.in.batch_start, overlap); in handle_inbound()
1203 q->u.in.batch_count -= overlap; in handle_inbound()
/kernel/linux/linux-5.10/arch/nds32/lib/
H A Dmemmove.S23 ! Avoid data lost when memory overlap
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dkvm_emulate.h217 const unsigned long overlap = BIT(24) | BIT(21); in host_spsr_to_spsr32() local
220 spsr &= ~overlap; in host_spsr_to_spsr32()

Completed in 37 milliseconds

123