/linux-master/arch/loongarch/kernel/ |
H A D | acpi.c | 231 void __init numa_set_distance(int from, int to, int distance) argument 233 if ((u8)distance != distance || (from == to && distance != LOCAL_DISTANCE)) { 234 pr_warn_once("Warning: invalid distance parameter, from=%d to=%d distance=%d\n", 235 from, to, distance); 239 node_distances[from][to] = distance;
|
/linux-master/scripts/ |
H A D | checkpatch.pl | 690 # two dimensional array storing minimum edit distance 691 my @distance; 695 $distance[$i][$j] = $j; 697 $distance[$i][$j] = $i; 699 $distance[$i][$j] = $distance[$i - 1][$j - 1]; 701 my $dist1 = $distance[$i][$j - 1]; #insert distance 702 my $dist2 = $distance[$i - 1][$j]; # remove 703 my $dist3 = $distance[ [all...] |
/linux-master/drivers/input/touchscreen/ |
H A D | atmel_mxt_ts.c | 930 int distance = 0; local 952 distance = MXT_DISTANCE_HOVERING; 962 distance = MXT_DISTANCE_ACTIVE_TOUCH; 1017 input_report_abs(input_dev, ABS_MT_DISTANCE, distance);
|
/linux-master/drivers/input/mouse/ |
H A D | cyapa_gen5.c | 157 * 2 : significant displacement (> active distance) 181 * The distance, in surface units, between the contact and 2702 u8 distance = report_data->report_head[PIP_PROXIMITY_DISTANCE_OFFSET] & local 2705 input_report_abs(input, ABS_DISTANCE, distance);
|
H A D | alps.c | 485 int distance = dx * dx + dy * dy; local 487 if (distance < closest) { 489 closest = distance;
|
/linux-master/drivers/video/fbdev/ |
H A D | arcfb.c | 249 unsigned int left, unsigned int right, unsigned int distance) 303 unsigned int distance, upper, lower; local 305 distance = (bottom - top) + 1; 309 while (distance > 0) { 310 distance -= 8; 325 unsigned int distance, upper, lower; local 327 distance = h; 329 lower = min(upper + distance - 1, ceil64(upper)); 331 while (distance > 0) { 332 distance 248 arcfb_lcd_update_page(struct arcfb_par *par, unsigned int upper, unsigned int left, unsigned int right, unsigned int distance) argument 347 unsigned int left, right, distance, y; local [all...] |
/linux-master/drivers/hid/amd-sfh-hid/sfh1_1/ |
H A D | amd_sfh_interface.h | 157 u32 distance : 16; member in struct:hpd_status::__anon928::__anon929
|
/linux-master/mm/kfence/ |
H A D | core.c | 1175 int distance = 0; local 1180 /* Data race ok; distance calculation approximate. */ 1181 distance = addr - data_race(meta->addr + meta->size); 1186 /* Data race ok; distance calculation approximate. */ 1187 if (!to_report || distance > data_race(meta->addr) - addr)
|
/linux-master/include/linux/ |
H A D | lockdep.h | 53 u16 distance; member in struct:lock_list
|
/linux-master/include/asm-generic/ |
H A D | numa.h | 35 void __init numa_set_distance(int from, int to, int distance);
|
/linux-master/drivers/base/ |
H A D | arch_numa.c | 271 * Create a new NUMA distance table. 291 pr_debug("Initialized distance table, cnt=%d\n", numa_distance_cnt); 297 * numa_set_distance() - Set inter node NUMA distance from node to node. 298 * @from: the 'from' node to set distance 299 * @to: the 'to' node to set distance 300 * @distance: NUMA distance 302 * Set the distance from node @from to @to to @distance. 303 * If distance tabl 308 numa_set_distance(int from, int to, int distance) argument [all...] |
/linux-master/kernel/locking/ |
H A D | lockdep.c | 1410 u16 distance, u8 dep, 1425 entry->distance = distance; 3092 struct held_lock *next, u16 distance, 3151 if (distance == 1) 3152 entry->distance = 1; 3173 if (distance == 1) 3174 entry->distance = 1; 3205 &hlock_class(prev)->locks_after, distance, 3212 &hlock_class(next)->locks_before, distance, 1408 add_lock_to_list(struct lock_class *this, struct lock_class *links_to, struct list_head *head, u16 distance, u8 dep, const struct lock_trace *trace) argument 3091 check_prev_add(struct task_struct *curr, struct held_lock *prev, struct held_lock *next, u16 distance, struct lock_trace **const trace) argument 3249 u16 distance = curr->lockdep_depth - depth + 1; local [all...] |
H A D | lockdep_proc.c | 108 if (entry->distance == 1) {
|
/linux-master/arch/x86/include/asm/ |
H A D | numa.h | 29 extern void __init numa_set_distance(int from, int to, int distance);
|
/linux-master/drivers/iio/proximity/ |
H A D | mb1232.c | 47 s16 distance; member in struct:mb1232_data::__anon116 66 s16 distance; local 100 distance = __be16_to_cpu(buf); 102 if (distance < 0) { 103 dev_err(&client->dev, "distance=%d\n", distance); 110 return distance; 124 data->scan.distance = mb1232_read_distance(data); 125 if (data->scan.distance < 0)
|
/linux-master/arch/sparc/kernel/ |
H A D | process_64.c | 429 unsigned long fp, distance, rval; local 447 distance = fp - psp; 448 rval = (csp - distance); 449 if (raw_copy_in_user((void __user *)rval, (void __user *)psp, distance))
|
/linux-master/tools/perf/bench/ |
H A D | numa.c | 1027 int distance; local 1107 distance = nr_max - nr_min; 1109 tprintf(" [%2d/%-2d]", distance, process_groups);
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_sriov.c | 3600 u32 prod, cons[MAX_NUM_EXT_VOQS], distance[MAX_NUM_EXT_VOQS], tmp; local 3609 memset(distance, 0, MAX_NUM_EXT_VOQS * sizeof(u32)); 3621 distance[voq] = prod - cons[voq]; 3638 if (distance[voq] > tmp - cons[voq])
|
/linux-master/arch/parisc/kernel/ |
H A D | jump_label.c | 29 int distance = target - addr; local 36 distance -= 8; 37 BUG_ON(distance > 262143 || distance < -262144); 38 insn = 0xe8000002 | reassemble_17(distance >> 2);
|
/linux-master/arch/loongarch/include/asm/ |
H A D | topology.h | 23 void numa_set_distance(int from, int to, int distance);
|
/linux-master/arch/csky/lib/ |
H A D | string.c | 34 int distance = 0; local 43 distance = s.as_uptr & WORD_MASK; 45 if (distance) { 49 * s is distance bytes ahead of d, and d just reached 51 * and shift data to compensate for distance, in order to do 54 s.as_u8 -= distance; 61 d.as_ulong[0] = last >> (distance * 8) | 62 next << ((BYTES_LONG - distance) * 8); 69 s.as_u8 += distance;
|
/linux-master/drivers/of/ |
H A D | of_numa.c | 83 pr_info("parsing numa-distance-map-v1\n"); 85 matrix = of_get_property(map, "distance-matrix", NULL); 87 pr_err("No distance-matrix property in distance-map\n"); 91 entry_count = of_property_count_u32_elems(map, "distance-matrix"); 93 pr_err("Invalid distance-matrix\n"); 98 u32 nodea, nodeb, distance; local 104 distance = of_read_number(matrix, 1); 107 if ((nodea == nodeb && distance != LOCAL_DISTANCE) || 108 (nodea != nodeb && distance < [all...] |
/linux-master/lib/ |
H A D | decompress_unlzma.c | 427 uint32_t distance; local 433 distance = cst->rep1; 439 distance = cst->rep2; 442 distance = cst->rep3; 448 cst->rep0 = distance;
|
/linux-master/drivers/video/fbdev/aty/ |
H A D | radeon_monitor.c | 945 * This is used when looking for modes. We assign a "distance" value 954 int distance = 0; local 956 distance = mode->yres - var->yres; 957 distance += (mode->xres - var->xres)/2; 958 return distance; 980 int distance = INT_MAX; local 1026 if (d < distance) { 1028 distance = d;
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_utils.h | 132 u8 distance; member in struct:hw_atl_cable_diag
|