distance 34 arch/arm64/include/asm/numa.h void __init numa_set_distance(int from, int to, int distance); distance 312 arch/arm64/mm/numa.c void __init numa_set_distance(int from, int to, int distance) distance 322 arch/arm64/mm/numa.c from, to, distance); distance 326 arch/arm64/mm/numa.c if ((u8)distance != distance || distance 327 arch/arm64/mm/numa.c (from == to && distance != LOCAL_DISTANCE)) { distance 329 arch/arm64/mm/numa.c from, to, distance); distance 333 arch/arm64/mm/numa.c numa_distance[from * numa_distance_cnt + to] = distance; distance 29 arch/parisc/kernel/jump_label.c int distance = target - addr; distance 36 arch/parisc/kernel/jump_label.c distance -= 8; distance 37 arch/parisc/kernel/jump_label.c BUG_ON(distance > 262143 || distance < -262144); distance 38 arch/parisc/kernel/jump_label.c insn = 0xe8000002 | reassemble_17(distance >> 2); distance 191 arch/powerpc/mm/numa.c int distance = LOCAL_DISTANCE; distance 201 arch/powerpc/mm/numa.c distance *= 2; distance 204 arch/powerpc/mm/numa.c return distance; distance 289 arch/powerpc/platforms/pseries/lpar.c int distance; distance 304 arch/powerpc/platforms/pseries/lpar.c distance = cpu_relative_dispatch_distance(disp->last_disp_cpu, distance 306 arch/powerpc/platforms/pseries/lpar.c if (distance < 0) distance 310 arch/powerpc/platforms/pseries/lpar.c switch (distance) { distance 325 arch/powerpc/platforms/pseries/lpar.c distance); distance 330 arch/powerpc/platforms/pseries/lpar.c distance = cpu_home_node_dispatch_distance(disp_cpu); distance 331 arch/powerpc/platforms/pseries/lpar.c if (distance < 0) distance 335 arch/powerpc/platforms/pseries/lpar.c switch (distance) { distance 349 arch/powerpc/platforms/pseries/lpar.c distance); distance 551 arch/s390/numa/mode_emu.c .distance = emu_distance, distance 54 arch/s390/numa/numa.c return mode->distance ? mode->distance(a, b) : 0; distance 19 arch/s390/numa/numa_mode.h int (*distance)(int a, int b); /* Distance between two nodes */ distance 442 arch/sparc/kernel/process_64.c unsigned long fp, distance, rval; distance 460 arch/sparc/kernel/process_64.c distance = fp - psp; distance 461 arch/sparc/kernel/process_64.c rval = (csp - distance); distance 462 arch/sparc/kernel/process_64.c if (copy_in_user((void __user *) rval, (void __user *) psp, distance)) distance 35 arch/x86/include/asm/numa.h extern void __init numa_set_distance(int from, int to, int distance); distance 402 arch/x86/mm/numa.c void __init numa_set_distance(int from, int to, int distance) distance 410 arch/x86/mm/numa.c from, to, distance); distance 414 arch/x86/mm/numa.c if ((u8)distance != distance || distance 415 arch/x86/mm/numa.c (from == to && distance != LOCAL_DISTANCE)) { distance 417 arch/x86/mm/numa.c from, to, distance); distance 421 arch/x86/mm/numa.c numa_distance[from * numa_distance_cnt + to] = distance; distance 463 block/genhd.c int distance = MINORBITS - 1 - 2 * i; distance 466 block/genhd.c low <<= distance; /* swap the positions */ distance 467 block/genhd.c high >>= distance; distance 538 drivers/base/node.c static DEVICE_ATTR(distance, S_IRUGO, node_read_distance, NULL); distance 459 drivers/gpu/drm/bridge/sii902x.c int distance = 100000; distance 465 drivers/gpu/drm/bridge/sii902x.c if (d >= distance) distance 469 drivers/gpu/drm/bridge/sii902x.c distance = d; distance 844 drivers/hid/wacom_wac.c unsigned int x, y, distance, t; distance 882 drivers/hid/wacom_wac.c distance = data[9] >> 2; distance 886 drivers/hid/wacom_wac.c distance >>= 1; distance 889 drivers/hid/wacom_wac.c distance = features->distance_max - distance; distance 892 drivers/hid/wacom_wac.c input_report_abs(input, ABS_DISTANCE, distance); distance 59 drivers/iio/proximity/mb1232.c s16 distance; distance 93 drivers/iio/proximity/mb1232.c distance = __be16_to_cpu(buf); distance 95 drivers/iio/proximity/mb1232.c if (distance < 0) { distance 96 drivers/iio/proximity/mb1232.c dev_err(&client->dev, "distance=%d\n", distance); distance 103 drivers/iio/proximity/mb1232.c return distance; distance 1298 drivers/infiniband/hw/hns/hns_roce_hem.c int distance; distance 1319 drivers/infiniband/hw/hns/hns_roce_hem.c distance = offset - r->offset; distance 1338 drivers/infiniband/hw/hns/hns_roce_hem.c start_aligned = (distance / step) * step + r->offset; distance 485 drivers/input/mouse/alps.c int distance = dx * dx + dy * dy; distance 487 drivers/input/mouse/alps.c if (distance < closest) { distance 489 drivers/input/mouse/alps.c closest = distance; distance 2701 drivers/input/mouse/cyapa_gen5.c u8 distance = report_data->report_head[PIP_PROXIMITY_DISTANCE_OFFSET] & distance 2704 drivers/input/mouse/cyapa_gen5.c input_report_abs(input, ABS_DISTANCE, distance); distance 857 drivers/input/touchscreen/atmel_mxt_ts.c int distance = 0; distance 879 drivers/input/touchscreen/atmel_mxt_ts.c distance = MXT_DISTANCE_HOVERING; distance 889 drivers/input/touchscreen/atmel_mxt_ts.c distance = MXT_DISTANCE_ACTIVE_TOUCH; distance 944 drivers/input/touchscreen/atmel_mxt_ts.c input_report_abs(input_dev, ABS_MT_DISTANCE, distance); distance 295 drivers/lightnvm/pblk-recovery.c int distance = geo->mw_cunits * geo->all_luns * geo->ws_opt; distance 297 drivers/lightnvm/pblk-recovery.c return (distance > line->left_msecs) ? line->left_msecs : distance; distance 3606 drivers/net/ethernet/qlogic/qed/qed_sriov.c u32 cons[MAX_NUM_VOQS_E4], distance[MAX_NUM_VOQS_E4]; distance 3619 drivers/net/ethernet/qlogic/qed/qed_sriov.c distance[i] = prod - cons[i]; distance 3631 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (distance[i] > tmp - cons[i]) distance 179 drivers/nvme/host/multipath.c int found_distance = INT_MAX, fallback_distance = INT_MAX, distance; distance 187 drivers/nvme/host/multipath.c distance = node_distance(node, ns->ctrl->numa_node); distance 189 drivers/nvme/host/multipath.c distance = LOCAL_DISTANCE; distance 193 drivers/nvme/host/multipath.c if (distance < found_distance) { distance 194 drivers/nvme/host/multipath.c found_distance = distance; distance 199 drivers/nvme/host/multipath.c if (distance < fallback_distance) { distance 200 drivers/nvme/host/multipath.c fallback_distance = distance; distance 98 drivers/of/of_numa.c u32 nodea, nodeb, distance; distance 104 drivers/of/of_numa.c distance = of_read_number(matrix, 1); distance 107 drivers/of/of_numa.c if ((nodea == nodeb && distance != LOCAL_DISTANCE) || distance 108 drivers/of/of_numa.c (nodea != nodeb && distance <= LOCAL_DISTANCE)) { distance 110 drivers/of/of_numa.c nodea, nodeb, distance); distance 114 drivers/of/of_numa.c numa_set_distance(nodea, nodeb, distance); distance 118 drivers/of/of_numa.c numa_set_distance(nodeb, nodea, distance); distance 535 drivers/pci/p2pdma.c int distance; distance 560 drivers/pci/p2pdma.c pci_client, &distance); distance 563 drivers/pci/p2pdma.c &distance, NULL, NULL); distance 573 drivers/pci/p2pdma.c total_dist += distance; distance 613 drivers/pci/p2pdma.c int distance; distance 628 drivers/pci/p2pdma.c distance = pci_p2pdma_distance_many(pdev, clients, distance 630 drivers/pci/p2pdma.c if (distance < 0 || distance > closest_distance) distance 633 drivers/pci/p2pdma.c if (distance == closest_distance && dev_cnt >= max_devs) distance 636 drivers/pci/p2pdma.c if (distance < closest_distance) { distance 641 drivers/pci/p2pdma.c closest_distance = distance; distance 6573 drivers/scsi/bfa/bfa_svc.c cpu_to_be32(msg->info.testcomp.distance); distance 1151 drivers/scsi/bfa/bfi.h u32 distance; /* from swtich unit in meters */ distance 248 drivers/video/fbdev/arcfb.c unsigned int left, unsigned int right, unsigned int distance) distance 302 drivers/video/fbdev/arcfb.c unsigned int distance, upper, lower; distance 304 drivers/video/fbdev/arcfb.c distance = (bottom - top) + 1; distance 308 drivers/video/fbdev/arcfb.c while (distance > 0) { distance 309 drivers/video/fbdev/arcfb.c distance -= 8; distance 324 drivers/video/fbdev/arcfb.c unsigned int distance, upper, lower; distance 326 drivers/video/fbdev/arcfb.c distance = h; distance 328 drivers/video/fbdev/arcfb.c lower = min(upper + distance - 1, ceil64(upper)); distance 330 drivers/video/fbdev/arcfb.c while (distance > 0) { distance 331 drivers/video/fbdev/arcfb.c distance -= ((lower - upper) + 1 ); distance 334 drivers/video/fbdev/arcfb.c lower = min(upper + distance - 1, ceil64(upper)); distance 346 drivers/video/fbdev/arcfb.c unsigned int left, right, distance, y; distance 353 drivers/video/fbdev/arcfb.c distance = w; distance 357 drivers/video/fbdev/arcfb.c while (distance > 0) { distance 359 drivers/video/fbdev/arcfb.c distance -= ((right - left) + 1); distance 361 drivers/video/fbdev/arcfb.c right = min(left + distance - 1, ceil64(left)); distance 956 drivers/video/fbdev/aty/radeon_monitor.c int distance = 0; distance 958 drivers/video/fbdev/aty/radeon_monitor.c distance = mode->yres - var->yres; distance 959 drivers/video/fbdev/aty/radeon_monitor.c distance += (mode->xres - var->xres)/2; distance 960 drivers/video/fbdev/aty/radeon_monitor.c return distance; distance 982 drivers/video/fbdev/aty/radeon_monitor.c int distance = INT_MAX; distance 1028 drivers/video/fbdev/aty/radeon_monitor.c if (d < distance) { distance 1030 drivers/video/fbdev/aty/radeon_monitor.c distance = d; distance 5969 fs/btrfs/extent_io.c unsigned long distance = (src > dst) ? src - dst : dst - src; distance 5970 fs/btrfs/extent_io.c return distance < len; distance 3664 fs/xfs/libxfs/xfs_bmap.c xfs_fileoff_t distance; distance 3674 fs/xfs/libxfs/xfs_bmap.c distance = bno - irec->br_startoff; distance 3679 fs/xfs/libxfs/xfs_bmap.c irec->br_startblock += distance; distance 3680 fs/xfs/libxfs/xfs_bmap.c irec->br_startoff += distance; distance 3681 fs/xfs/libxfs/xfs_bmap.c irec->br_blockcount -= distance; distance 3685 fs/xfs/libxfs/xfs_bmap.c distance = irec->br_startoff + irec->br_blockcount - end; distance 3686 fs/xfs/libxfs/xfs_bmap.c irec->br_blockcount -= distance; distance 1680 fs/xfs/xfs_log_recover.c int distance; distance 1762 fs/xfs/xfs_log_recover.c distance = log->l_logBBsize - head_block; distance 1764 fs/xfs/xfs_log_recover.c head_block, distance, tail_cycle, distance 1778 fs/xfs/xfs_log_recover.c distance = max_distance - (log->l_logBBsize - head_block); distance 1779 fs/xfs/xfs_log_recover.c error = xlog_write_log_records(log, head_cycle, 0, distance, distance 194 include/linux/lockdep.h int distance; distance 1304 kernel/locking/lockdep.c unsigned long ip, int distance, distance 1318 kernel/locking/lockdep.c entry->distance = distance; distance 2445 kernel/locking/lockdep.c struct held_lock *next, int distance, distance 2506 kernel/locking/lockdep.c if (distance == 1) distance 2507 kernel/locking/lockdep.c entry->distance = 1; distance 2533 kernel/locking/lockdep.c next->acquire_ip, distance, *trace); distance 2540 kernel/locking/lockdep.c next->acquire_ip, distance, *trace); distance 2576 kernel/locking/lockdep.c int distance = curr->lockdep_depth - depth + 1; distance 2584 kernel/locking/lockdep.c int ret = check_prev_add(curr, hlock, next, distance, distance 86 kernel/locking/lockdep_proc.c if (entry->distance == 1) { distance 1277 kernel/sched/sched.h extern bool find_numa_distance(int distance); distance 1488 kernel/sched/topology.c bool find_numa_distance(int distance) distance 1492 kernel/sched/topology.c if (distance == node_distance(0, 0)) distance 1496 kernel/sched/topology.c if (sched_domains_numa_distance[i] == distance) distance 1581 kernel/sched/topology.c int distance = node_distance(i, k); distance 1583 kernel/sched/topology.c if (distance > curr_distance && distance 1584 kernel/sched/topology.c (distance < next_distance || distance 1586 kernel/sched/topology.c next_distance = distance; distance 1593 kernel/sched/topology.c if (sched_debug() && node_distance(k, i) != distance) distance 1596 kernel/sched/topology.c if (sched_debug() && i && !find_numa_distance(distance)) distance 427 lib/decompress_unlzma.c uint32_t distance; distance 433 lib/decompress_unlzma.c distance = cst->rep1; distance 439 lib/decompress_unlzma.c distance = cst->rep2; distance 442 lib/decompress_unlzma.c distance = cst->rep3; distance 448 lib/decompress_unlzma.c cst->rep0 = distance; distance 1281 mm/compaction.c unsigned long distance; distance 1303 mm/compaction.c distance = (cc->free_pfn - cc->migrate_pfn); distance 1304 mm/compaction.c low_pfn = pageblock_start_pfn(cc->free_pfn - (distance >> 2)); distance 1305 mm/compaction.c min_pfn = pageblock_start_pfn(cc->free_pfn - (distance >> 1)); distance 1628 mm/compaction.c unsigned long distance; distance 1668 mm/compaction.c distance = (cc->free_pfn - cc->migrate_pfn) >> 1; distance 1670 mm/compaction.c distance >>= 2; distance 1671 mm/compaction.c high_pfn = pageblock_start_pfn(cc->migrate_pfn + distance); distance 131 net/dccp/ackvec.c static void dccp_ackvec_update_old(struct dccp_ackvec *av, s64 distance, distance 136 net/dccp/ackvec.c BUG_ON(distance > 0); distance 143 net/dccp/ackvec.c if (distance + runlen >= 0) { distance 167 net/dccp/ackvec.c distance += runlen + 1; distance 238 net/rxrpc/conn_client.c int id_cursor, id, distance, limit; distance 254 net/rxrpc/conn_client.c distance = id - id_cursor; distance 255 net/rxrpc/conn_client.c if (distance < 0) distance 256 net/rxrpc/conn_client.c distance = -distance; distance 258 net/rxrpc/conn_client.c if (distance > limit) distance 1320 scripts/mod/modpost.c Elf64_Sword distance = 20; distance 1341 scripts/mod/modpost.c if (d < distance) { distance 1342 scripts/mod/modpost.c distance = d; distance 1347 scripts/mod/modpost.c if (distance < 20) distance 1364 scripts/mod/modpost.c Elf_Addr distance = ~0; distance 1377 scripts/mod/modpost.c if ((addr - sym->st_value) < distance) { distance 1378 scripts/mod/modpost.c distance = addr - sym->st_value; distance 1380 scripts/mod/modpost.c } else if ((addr - sym->st_value) == distance) { distance 970 tools/perf/bench/numa.c int distance; distance 1046 tools/perf/bench/numa.c distance = nr_max - nr_min; distance 1048 tools/perf/bench/numa.c tprintf(" [%2d/%-2d]", distance, process_groups);