| /linux-6.15/lib/ |
| H A D | union_find.c | 41 if (root1->rank < root2->rank) { in uf_union() 43 } else if (root1->rank > root2->rank) { in uf_union() 47 root1->rank++; in uf_union()
|
| /linux-6.15/Documentation/devicetree/bindings/memory-controllers/ddr/ |
| H A D | jedec,lpddr-channel.yaml | 7 title: LPDDR channel with chip/rank topology description 34 channel is equal to the sum of the densities of each rank on the 51 "^rank@[0-9]+$": 56 transaction on the channel targets exactly one rank, based on the 70 "^rank@[0-9]+$": 79 "^rank@[0-9]+$": 88 "^rank@[0-9]+$": 97 "^rank@[0-9]+$": 116 rank@0 { 131 rank@0 { [all …]
|
| H A D | jedec,lpddr-props.yaml | 31 The rank number of this LPDDR rank when used as a subnode to an LPDDR
|
| /linux-6.15/Documentation/translations/zh_CN/core-api/ |
| H A D | union_find.rst | 51 unsigned int rank; 54 其中parent为当前节点的父节点,rank为当前树的高度,在合并时将rank小的节点接到rank大 60 可以采用静态或初始化接口完成初始化操作。初始化时,parent 指针指向自身,rank 设置
|
| /linux-6.15/drivers/s390/cio/ |
| H A D | scm.c | 104 scm_attr(rank); 141 scmdev->attrs.rank = sale->rank; in scmdev_setup() 145 scmdev->attrs.rank = sale->rank; in scmdev_setup() 163 changed = scmdev->attrs.rank != sale->rank || in scmdev_update() 165 scmdev->attrs.rank = sale->rank; in scmdev_update()
|
| /linux-6.15/include/linux/ |
| H A D | union_find.h | 16 unsigned int rank; member 20 #define UF_INIT_NODE(node) {.parent = &node, .rank = 0} 32 node->rank = 0; in uf_node_init()
|
| /linux-6.15/drivers/edac/ |
| H A D | i5100_edac.c | 357 int chan, int rank) in i5100_rank_to_slot() argument 367 if (priv->dimm_csmap[i][j] == rank) in i5100_rank_to_slot() 430 unsigned rank, in i5100_handle_ce() argument 445 chan, rank, -1, in i5100_handle_ce() 452 unsigned rank, in i5100_handle_ue() argument 467 chan, rank, -1, in i5100_handle_ue() 481 unsigned rank; in i5100_read_log() local 499 rank = i5100_recmema_rank(dw2); in i5100_read_log() 521 rank = i5100_nrecmema_rank(dw2); in i5100_read_log() 777 u8 rank; in i5100_init_dimm_layout() local [all …]
|
| H A D | al_mc_edac.c | 65 u8 rank, u32 row, u8 bg, u8 bank, u16 column, in prepare_msg() argument 71 rank, row, bg, bank, column, syn0, syn1, syn2); in prepare_msg() 81 u8 rank, bg, bank; in handle_ce() local 100 rank = FIELD_GET(AL_MC_ECC_CE_ADDR0_RANK, ecccaddr0); in handle_ce() 108 rank, row, bg, bank, column, in handle_ce() 126 u8 rank, bg, bank; in handle_ue() local 145 rank = FIELD_GET(AL_MC_ECC_UE_ADDR0_RANK, eccuaddr0); in handle_ue() 153 rank, row, bg, bank, column, in handle_ue()
|
| H A D | i3200_edac.c | 137 u64 rank = ((log & I3200_ECCERRLOG_RANK_BITS) >> in eccerrlog_row() local 139 return rank | (channel * I3200_RANKS_PER_CHANNEL); in eccerrlog_row() 317 int channel, int rank) in drb_to_nr_pages() argument 321 n = drbs[channel][rank]; in drb_to_nr_pages() 325 if (rank > 0) in drb_to_nr_pages() 326 n -= drbs[channel][rank - 1]; in drb_to_nr_pages() 328 drbs[channel][rank] == drbs[channel][I3200_RANKS_PER_CHANNEL - 1]) in drb_to_nr_pages()
|
| H A D | octeon_edac-lmc.c | 32 unsigned long rank; member 94 fadr.cn61xx.fbunk = pvt->rank; in octeon_lmc_edac_poll_o2() 160 TEMPLATE_SHOW(rank); 161 TEMPLATE_STORE(rank); 203 static DEVICE_ATTR(rank, S_IRUGO | S_IWUSR,
|
| H A D | x38_edac.c | 301 bool stacked, int channel, int rank) in drb_to_nr_pages() argument 305 n = drbs[channel][rank]; in drb_to_nr_pages() 306 if (rank > 0) in drb_to_nr_pages() 307 n -= drbs[channel][rank - 1]; in drb_to_nr_pages() 308 if (stacked && (channel == 1) && drbs[channel][rank] == in drb_to_nr_pages()
|
| H A D | i5000_edac.c | 469 int rank; in i5000_process_fatal_error_info() local 482 rank = NREC_RANK(info->nrecmema); in i5000_process_fatal_error_info() 488 rank, channel, bank, in i5000_process_fatal_error_info() 529 channel >> 1, channel & 1, rank, in i5000_process_fatal_error_info() 554 int rank; in i5000_process_nonfatal_error_info() local 577 rank = NREC_RANK(info->nrecmema); in i5000_process_nonfatal_error_info() 624 rank, bank, ras, cas, ue_errors, specific); in i5000_process_nonfatal_error_info() 628 channel >> 1, -1, rank, in i5000_process_nonfatal_error_info() 649 rank = REC_RANK(info->recmema); in i5000_process_nonfatal_error_info() 655 rank, channel, branch >> 1, bank, in i5000_process_nonfatal_error_info() [all …]
|
| H A D | edac_mc_sysfs.c | 204 struct rank_info *rank = csrow->channels[chan]; in channel_dimm_label_show() local 207 if (!rank->dimm->label[0]) in channel_dimm_label_show() 210 return sysfs_emit(data, "%s\n", rank->dimm->label); in channel_dimm_label_show() 219 struct rank_info *rank = csrow->channels[chan]; in channel_dimm_label_store() local 228 if (copy_count == 0 || copy_count >= sizeof(rank->dimm->label)) in channel_dimm_label_store() 231 memcpy(rank->dimm->label, data, copy_count); in channel_dimm_label_store() 232 rank->dimm->label[copy_count] = '\0'; in channel_dimm_label_store() 243 struct rank_info *rank = csrow->channels[chan]; in channel_ce_count_show() local 245 return sysfs_emit(data, "%u\n", rank->ce_count); in channel_ce_count_show()
|
| H A D | i5400_edac.c | 522 int rank; in i5400_proccess_non_recoverable_info() local 547 rank = nrec_rank(info); in i5400_proccess_non_recoverable_info() 554 type, rank, channel, channel + 1, branch >> 1, bank, in i5400_proccess_non_recoverable_info() 566 branch >> 1, -1, rank, in i5400_proccess_non_recoverable_info() 586 int rank; in i5400_process_nonfatal_error_info() local 618 rank = rec_rank(info); in i5400_process_nonfatal_error_info() 627 rank, channel, branch >> 1, bank, in i5400_process_nonfatal_error_info() 638 branch >> 1, channel % 2, rank, in i5400_process_nonfatal_error_info()
|
| H A D | pnd2_edac.c | 58 int rank; member 912 int column = 0, bank = 0, row = 0, rank = 0; in apl_pmi2mem() local 949 rank = bit; in apl_pmi2mem() 951 rank ^= rank_hash(pmiaddr); in apl_pmi2mem() 966 daddr->rank = rank; in apl_pmi2mem() 979 daddr->rank = dnv_get_bit(pmiaddr, dmap[pmiidx].rs0 + 13, 0); in dnv_pmi2mem() 981 daddr->rank |= dnv_get_bit(pmiaddr, dmap[pmiidx].rs1 + 13, 1); in dnv_pmi2mem() 987 daddr->dimm = (daddr->rank >= 2) ^ drp[pmiidx].dimmflip; in dnv_pmi2mem() 1117 addr, pmiaddr, daddr->chan, daddr->dimm, daddr->rank, daddr->bank, daddr->row, daddr->col); in get_memory_error_data() 1187 errcode, daddr->chan, daddr->dimm, daddr->rank, daddr->row, daddr->bank, daddr->col); in pnd2_mce_output_error() [all …]
|
| H A D | xgene_edac.c | 181 u32 rank; in xgene_edac_mc_check() local 193 for (rank = 0; rank < MCU_MAX_RANK; rank++) { in xgene_edac_mc_check() 194 reg = readl(ctx->mcu_csr + MCUESRR0 + rank * MCU_RANK_STRIDE); in xgene_edac_mc_check() 201 "MCU uncorrectable error at rank %d\n", rank); in xgene_edac_mc_check() 210 rank * MCU_RANK_STRIDE); in xgene_edac_mc_check() 212 rank * MCU_RANK_STRIDE); in xgene_edac_mc_check() 214 rank * MCU_RANK_STRIDE); in xgene_edac_mc_check() 217 rank, MCU_EBLRR_ERRBANK_RD(bank), in xgene_edac_mc_check() 227 writel(0x0, ctx->mcu_csr + MCUEBLRR0 + rank * MCU_RANK_STRIDE); in xgene_edac_mc_check() 230 rank * MCU_RANK_STRIDE); in xgene_edac_mc_check() [all …]
|
| /linux-6.15/Documentation/ABI/testing/ |
| H A D | sysfs-devices-edac | 86 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/size 92 stick. For rank*/size, this is the size, in MB for one rank 93 of the DIMM memory stick. On single rank memories (1R), this 94 is also the total size of the dimm. On dual rank (2R) memories, 97 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_dev_type 112 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_label 127 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_location 132 branch/channel/slot or channel/slot) of the dimm or rank. 134 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_mem_type 142 What: /sys/devices/system/edac/mc/mc*/(dimm|rank)*/dimm_ce_count [all …]
|
| /linux-6.15/Documentation/edac/ |
| H A D | memory_repair.rst | 55 sparing has cacheline/row/bank/rank sparing granularities. For example, in 56 rank memory-sparing mode, one memory rank serves as a spare for other ranks on 59 The spare rank is held in reserve and not used as active memory until 64 the content of a failing rank of DIMMs is copied to the spare rank. The 65 failing rank is then taken offline and the spare rank placed online for use as 66 active memory in place of the failed rank. 75 rank is replaced.
|
| /linux-6.15/Documentation/core-api/ |
| H A D | union_find.rst | 37 the find operation, and using union by rank can reduce the time complexity 59 unsigned int rank; 63 The rank field represents the height of the current tree. During a union 64 operation, the tree with the smaller rank is attached under the tree with the 65 larger rank to maintain balance. 71 interface. Initialize the parent pointer to point to itself and set the rank 102 and then link the smaller node to the larger node based on the rank of the root
|
| /linux-6.15/drivers/s390/block/ |
| H A D | scm_blk.h | 66 u8 rank; in SCM_LOG_STATE() member 70 .rank = scmdev->attrs.rank, in SCM_LOG_STATE()
|
| /linux-6.15/drivers/perf/arm_cspmu/ |
| H A D | ampere_cspmu.c | 37 SOC_PMU_EVENT_ATTR_EXTRACTOR(rank, config1, 8, 23); 106 ARM_CSPMU_FORMAT_ATTR(rank, "config1:8-23"), 147 u32 threshold, rank, bank; in ampere_cspmu_set_ev_filter() local 150 rank = get_rank(event); in ampere_cspmu_set_ev_filter() 154 writel(rank, cspmu->base0 + PMAUXR1); in ampere_cspmu_set_ev_filter()
|
| /linux-6.15/drivers/memory/tegra/ |
| H A D | tegra210-emc-core.c | 59 #define TRIM_REG(chan, rank, reg, byte) \ argument 60 (((EMC_PMACRO_OB_DDLL_LONG_DQ_RANK ## rank ## _ ## reg ## \ 63 rank ## _ ## reg ## _INDEX]) >> \ 64 EMC_PMACRO_OB_DDLL_LONG_DQ_RANK ## rank ## _ ## reg ## \ 67 (((EMC_DATA_BRLSHFT_ ## rank ## _RANK ## rank ## _BYTE ## \ 70 _EMC_DATA_BRLSHFT_ ## rank ## _INDEX]) >> \ 71 EMC_DATA_BRLSHFT_ ## rank ## _RANK ## rank ## _BYTE ## \ 74 #define CALC_TEMP(rank, reg, byte1, byte2, n) \ argument 77 EMC_PMACRO_OB_DDLL_LONG_DQ_RANK ## rank ## _ ## reg ## \ 82 EMC_PMACRO_OB_DDLL_LONG_DQ_RANK ## rank ## _ ## reg ## \ [all …]
|
| /linux-6.15/Documentation/admin-guide/perf/ |
| H A D | ampere_cspmu.rst | 15 The PMU driver supports setting filters for "rank", "bank", and "threshold". 28 …/ # perf stat -a -e ampere_mcu_pmu_0/act_sent,bank=5,rank=3,threshold=2/,ampere_mcu_pmu_1/rd_sent/…
|
| /linux-6.15/Documentation/filesystems/ |
| H A D | directory-locking.rst | 124 it should be possible to rank the filesystems so that directory operation 138 them in order of non-decreasing rank. Namely, 140 * rank ->i_rwsem of non-directories on given filesystem in inode pointer 142 * put ->i_rwsem of all directories on a filesystem at the same rank, 144 * put ->s_vfs_rename_mutex at rank lower than that of any ->i_rwsem 147 rank of those filesystems. 152 2. ->i_rwsem of directories on that NFS filesystem, same rank for all 156 5. ->i_rwsem of directories on the local filesystem, same rank for all 160 It's easy to verify that operations never take a lock with rank 168 contended locks in the minimal deadlock will be of the same rank,
|
| /linux-6.15/drivers/cxl/core/ |
| H A D | trace.h | 462 __field(u8, rank) 484 __entry->rank = rec->media_hdr.rank; 515 __entry->channel, __entry->rank, __entry->device, 603 __field(u8, rank) /* Out of order to pack trace record */ 630 __entry->rank = rec->media_hdr.rank; 667 __entry->channel, __entry->rank, __entry->nibble_mask,
|