/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_dir2_data.c | 170 if (be16_to_cpu(bf[0].length) < be16_to_cpu(bf[1].length)) in __xfs_dir3_data_check() 172 if (be16_to_cpu(bf[1].length) < be16_to_cpu(bf[2].length)) in __xfs_dir3_data_check() 186 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in __xfs_dir3_data_check() 191 if (offset + be16_to_cpu(dup->length) > end) in __xfs_dir3_data_check() 193 if (be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) != in __xfs_dir3_data_check() 205 if (be16_to_cpu(dup->length) > in __xfs_dir3_data_check() 206 be16_to_cpu(bf[2].length)) in __xfs_dir3_data_check() 209 offset += be16_to_cpu(du in __xfs_dir3_data_check() [all...] |
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_dir2_data.c | 170 if (be16_to_cpu(bf[0].length) < be16_to_cpu(bf[1].length)) in __xfs_dir3_data_check() 172 if (be16_to_cpu(bf[1].length) < be16_to_cpu(bf[2].length)) in __xfs_dir3_data_check() 186 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in __xfs_dir3_data_check() 191 if (offset + be16_to_cpu(dup->length) > end) in __xfs_dir3_data_check() 193 if (be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) != in __xfs_dir3_data_check() 205 if (be16_to_cpu(dup->length) > in __xfs_dir3_data_check() 206 be16_to_cpu(bf[2].length)) in __xfs_dir3_data_check() 209 offset += be16_to_cpu(du in __xfs_dir3_data_check() [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | s390-sample-raw.c | 57 ce.def = be16_to_cpu(cep->def); in s390_cpumcfdg_testctr() 58 ce.set = be16_to_cpu(cep->set); in s390_cpumcfdg_testctr() 59 ce.ctr = be16_to_cpu(cep->ctr); in s390_cpumcfdg_testctr() 60 ce.res1 = be16_to_cpu(cep->res1); in s390_cpumcfdg_testctr() 89 te.cfvn = be16_to_cpu(tep->cfvn); in s390_cpumcfdg_dumptrail() 90 te.csvn = be16_to_cpu(tep->csvn); in s390_cpumcfdg_dumptrail() 97 te.mach_type = be16_to_cpu(tep->mach_type); in s390_cpumcfdg_dumptrail() 98 te.res1 = be16_to_cpu(tep->res1); in s390_cpumcfdg_dumptrail() 171 ce.def = be16_to_cpu(cep->def); in s390_cpumcfdg_dump() 172 ce.set = be16_to_cpu(ce in s390_cpumcfdg_dump() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | s390-sample-raw.c | 58 ce.def = be16_to_cpu(cep->def); in s390_cpumcfdg_testctr() 59 ce.set = be16_to_cpu(cep->set); in s390_cpumcfdg_testctr() 60 ce.ctr = be16_to_cpu(cep->ctr); in s390_cpumcfdg_testctr() 61 ce.res1 = be16_to_cpu(cep->res1); in s390_cpumcfdg_testctr() 90 te.cfvn = be16_to_cpu(tep->cfvn); in s390_cpumcfdg_dumptrail() 91 te.csvn = be16_to_cpu(tep->csvn); in s390_cpumcfdg_dumptrail() 98 te.mach_type = be16_to_cpu(tep->mach_type); in s390_cpumcfdg_dumptrail() 99 te.res1 = be16_to_cpu(tep->res1); in s390_cpumcfdg_dumptrail() 190 ce.def = be16_to_cpu(cep->def); in s390_cpumcfdg_dump() 191 ce.set = be16_to_cpu(ce in s390_cpumcfdg_dump() [all...] |
/kernel/linux/linux-5.10/block/partitions/ |
H A D | sun.c | 77 if (be16_to_cpu(label->magic) != SUN_LABEL_MAGIC) { in sun_partition() 79 bdevname(bdev, b), be16_to_cpu(label->magic)); */ in sun_partition() 97 (be16_to_cpu(label->vtoc.nparts) <= 8)); in sun_partition() 100 nparts = (use_vtoc) ? be16_to_cpu(label->vtoc.nparts) : 8; in sun_partition() 108 spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect); in sun_partition() 119 if (be16_to_cpu(label->vtoc.infos[i].id) == LINUX_RAID_PARTITION) in sun_partition() 121 else if (be16_to_cpu(label->vtoc.infos[i].id) == SUN_WHOLE_DISK) in sun_partition()
|
H A D | aix.c | 191 u16 lvm_version = be16_to_cpu(p->version); in aix_partition() 195 int pp_size_log2 = be16_to_cpu(p->pp_size); in aix_partition() 215 numlvs = be16_to_cpu(p->numlvs); in aix_partition() 230 lvip[i].pps_per_lv = be16_to_cpu(p[i].num_lps); in aix_partition() 240 int numpps = be16_to_cpu(pvd->pp_count); in aix_partition() 251 lp_ix = be16_to_cpu(p->lp_ix); in aix_partition() 256 lv_ix = be16_to_cpu(p->lv_ix) - 1; in aix_partition()
|
/kernel/linux/linux-6.6/block/partitions/ |
H A D | sun.c | 76 if (be16_to_cpu(label->magic) != SUN_LABEL_MAGIC) { in sun_partition() 78 state->disk->disk_name, be16_to_cpu(label->magic)); */ in sun_partition() 96 (be16_to_cpu(label->vtoc.nparts) <= 8)); in sun_partition() 99 nparts = (use_vtoc) ? be16_to_cpu(label->vtoc.nparts) : 8; in sun_partition() 107 spc = be16_to_cpu(label->ntrks) * be16_to_cpu(label->nsect); in sun_partition() 118 if (be16_to_cpu(label->vtoc.infos[i].id) == LINUX_RAID_PARTITION) in sun_partition() 120 else if (be16_to_cpu(label->vtoc.infos[i].id) == SUN_WHOLE_DISK) in sun_partition()
|
H A D | aix.c | 175 u16 lvm_version = be16_to_cpu(p->version); in aix_partition() 179 int pp_size_log2 = be16_to_cpu(p->pp_size); in aix_partition() 199 numlvs = be16_to_cpu(p->numlvs); in aix_partition() 214 lvip[i].pps_per_lv = be16_to_cpu(p[i].num_lps); in aix_partition() 224 int numpps = be16_to_cpu(pvd->pp_count); in aix_partition() 235 lp_ix = be16_to_cpu(p->lp_ix); in aix_partition() 240 lv_ix = be16_to_cpu(p->lv_ix) - 1; in aix_partition()
|
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/ |
H A D | opal-fadump.c | 63 if (be16_to_cpu(opal_fdm_active->registered_regions) == 0) in opal_fadump_dt_scan() 98 pr_debug("Boot memory regions count: %d\n", be16_to_cpu(fdm->region_cnt)); in opal_fadump_update_config() 129 for (i = 0; i < be16_to_cpu(fdm->region_cnt); i++) { in opal_fadump_get_config() 158 if (be16_to_cpu(fdm->region_cnt) > be16_to_cpu(fdm->registered_regions)) { in opal_fadump_get_config() 161 i = be16_to_cpu(fdm->registered_regions); in opal_fadump_get_config() 162 while (i < be16_to_cpu(fdm->region_cnt)) { in opal_fadump_get_config() 174 fadump_conf->boot_mem_regs_cnt = be16_to_cpu(fdm->region_cnt); in opal_fadump_get_config() 197 reg_cnt = be16_to_cpu(opal_fdm->region_cnt); in opal_fadump_init_mem_struct() 279 registered_regs = be16_to_cpu(opal_fd in opal_fadump_register() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
H A D | opal-fadump.c | 63 if (be16_to_cpu(opal_fdm_active->registered_regions) == 0) in opal_fadump_dt_scan() 98 pr_debug("Boot memory regions count: %d\n", be16_to_cpu(fdm->region_cnt)); in opal_fadump_update_config() 129 for (i = 0; i < be16_to_cpu(fdm->region_cnt); i++) { in opal_fadump_get_config() 158 if (be16_to_cpu(fdm->region_cnt) > be16_to_cpu(fdm->registered_regions)) { in opal_fadump_get_config() 161 i = be16_to_cpu(fdm->registered_regions); in opal_fadump_get_config() 162 while (i < be16_to_cpu(fdm->region_cnt)) { in opal_fadump_get_config() 174 fadump_conf->boot_mem_regs_cnt = be16_to_cpu(fdm->region_cnt); in opal_fadump_get_config() 197 reg_cnt = be16_to_cpu(opal_fdm->region_cnt); in opal_fadump_init_mem_struct() 279 registered_regs = be16_to_cpu(opal_fd in opal_fadump_register() [all...] |
/kernel/linux/linux-5.10/include/rdma/ |
H A D | opa_addr.h | 13 #define OPA_TO_IB_UCAST_LID(x) (((x) >= be16_to_cpu(IB_MULTICAST_LID_BASE)) \ 61 be16_to_cpu(IB_MULTICAST_LID_BASE)) || in opa_is_extended_lid() 63 be16_to_cpu(IB_MULTICAST_LID_BASE))) in opa_is_extended_lid() 81 be16_to_cpu(IB_MULTICAST_LID_BASE)) in rdma_is_valid_unicast_lid()
|
H A D | ib_hdrs.h | 175 return (be16_to_cpu(hdr->lrh[0]) & IB_LNH_MASK); in ib_get_lnh() 180 return ((be16_to_cpu(hdr->lrh[0]) >> IB_SC_SHIFT) & IB_SC_MASK); in ib_get_sc() 190 return ((be16_to_cpu(hdr->lrh[0]) >> IB_SL_SHIFT) & IB_SL_MASK); in ib_get_sl() 195 return (be16_to_cpu(hdr->lrh[1])); in ib_get_dlid() 200 return (be16_to_cpu(hdr->lrh[3])); in ib_get_slid() 205 return (u8)((be16_to_cpu(hdr->lrh[0]) >> IB_LVER_SHIFT) & in ib_get_lver() 211 return (u16)(be16_to_cpu(hdr->lrh[2])); in ib_get_len()
|
/kernel/linux/linux-6.6/include/rdma/ |
H A D | opa_addr.h | 13 #define OPA_TO_IB_UCAST_LID(x) (((x) >= be16_to_cpu(IB_MULTICAST_LID_BASE)) \ 61 be16_to_cpu(IB_MULTICAST_LID_BASE)) || in opa_is_extended_lid() 63 be16_to_cpu(IB_MULTICAST_LID_BASE))) in opa_is_extended_lid() 81 be16_to_cpu(IB_MULTICAST_LID_BASE)) in rdma_is_valid_unicast_lid()
|
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | unicode.c | 38 len1 = be16_to_cpu(s1->length); in hfsplus_strcasecmp() 39 len2 = be16_to_cpu(s2->length); in hfsplus_strcasecmp() 47 c1 = case_fold(be16_to_cpu(*p1)); in hfsplus_strcasecmp() 52 c2 = case_fold(be16_to_cpu(*p2)); in hfsplus_strcasecmp() 72 len1 = be16_to_cpu(s1->length); in hfsplus_strcmp() 73 len2 = be16_to_cpu(s2->length); in hfsplus_strcmp() 78 c1 = be16_to_cpu(*p1); in hfsplus_strcmp() 79 c2 = be16_to_cpu(*p2); in hfsplus_strcmp() 135 ustrlen = be16_to_cpu(ustr->length); in hfsplus_uni2asc() 141 c0 = be16_to_cpu(*i in hfsplus_uni2asc() [all...] |
/kernel/linux/linux-6.6/fs/hfsplus/ |
H A D | unicode.c | 38 len1 = be16_to_cpu(s1->length); in hfsplus_strcasecmp() 39 len2 = be16_to_cpu(s2->length); in hfsplus_strcasecmp() 47 c1 = case_fold(be16_to_cpu(*p1)); in hfsplus_strcasecmp() 52 c2 = case_fold(be16_to_cpu(*p2)); in hfsplus_strcasecmp() 72 len1 = be16_to_cpu(s1->length); in hfsplus_strcmp() 73 len2 = be16_to_cpu(s2->length); in hfsplus_strcmp() 78 c1 = be16_to_cpu(*p1); in hfsplus_strcmp() 79 c2 = be16_to_cpu(*p2); in hfsplus_strcmp() 135 ustrlen = be16_to_cpu(ustr->length); in hfsplus_uni2asc() 141 c0 = be16_to_cpu(*i in hfsplus_uni2asc() [all...] |
/kernel/linux/linux-5.10/fs/hfs/ |
H A D | extent.c | 66 return be16_to_cpu(block1) < be16_to_cpu(block2) ? -1 : 1; in hfs_ext_keycmp() 80 count = be16_to_cpu(ext->count); in hfs_ext_find_block() 82 return be16_to_cpu(ext->block) + off; in hfs_ext_find_block() 95 count += be16_to_cpu(ext->count); in hfs_ext_block_count() 107 return be16_to_cpu(ext->block) + be16_to_cpu(ext->count); in hfs_ext_lastblock() 182 HFS_I(inode)->cached_start = be16_to_cpu(fd->key->ext.FABN); in __hfs_ext_cache_extent() 215 be16_to_cpu(extent[i].block), in hfs_dump_extent() 216 be16_to_cpu(exten in hfs_dump_extent() [all...] |
/kernel/linux/linux-6.6/fs/hfs/ |
H A D | extent.c | 66 return be16_to_cpu(block1) < be16_to_cpu(block2) ? -1 : 1; in hfs_ext_keycmp() 80 count = be16_to_cpu(ext->count); in hfs_ext_find_block() 82 return be16_to_cpu(ext->block) + off; in hfs_ext_find_block() 95 count += be16_to_cpu(ext->count); in hfs_ext_block_count() 107 return be16_to_cpu(ext->block) + be16_to_cpu(ext->count); in hfs_ext_lastblock() 182 HFS_I(inode)->cached_start = be16_to_cpu(fd->key->ext.FABN); in __hfs_ext_cache_extent() 215 be16_to_cpu(extent[i].block), in hfs_dump_extent() 216 be16_to_cpu(exten in hfs_dump_extent() [all...] |
/kernel/linux/linux-5.10/drivers/usb/misc/ |
H A D | emi62.c | 120 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware() 142 while (rec && (i + be16_to_cpu(rec->len) < FW_LOAD_SIZE)) { in emi62_load_firmware() 143 memcpy(buf + i, rec->data, be16_to_cpu(rec->len)); in emi62_load_firmware() 144 i += be16_to_cpu(rec->len); in emi62_load_firmware() 161 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware() 179 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware() 195 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware()
|
H A D | emi26.c | 113 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware() 135 while (rec && (i + be16_to_cpu(rec->len) < FW_LOAD_SIZE)) { in emi26_load_firmware() 136 memcpy(buf + i, rec->data, be16_to_cpu(rec->len)); in emi26_load_firmware() 137 i += be16_to_cpu(rec->len); in emi26_load_firmware() 154 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware() 172 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware() 188 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware()
|
/kernel/linux/linux-6.6/drivers/usb/misc/ |
H A D | emi62.c | 120 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware() 142 while (rec && (i + be16_to_cpu(rec->len) < FW_LOAD_SIZE)) { in emi62_load_firmware() 143 memcpy(buf + i, rec->data, be16_to_cpu(rec->len)); in emi62_load_firmware() 144 i += be16_to_cpu(rec->len); in emi62_load_firmware() 161 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware() 179 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware() 195 rec->data, be16_to_cpu(rec->len), in emi62_load_firmware()
|
H A D | emi26.c | 113 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware() 135 while (rec && (i + be16_to_cpu(rec->len) < FW_LOAD_SIZE)) { in emi26_load_firmware() 136 memcpy(buf + i, rec->data, be16_to_cpu(rec->len)); in emi26_load_firmware() 137 i += be16_to_cpu(rec->len); in emi26_load_firmware() 154 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware() 172 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware() 188 rec->data, be16_to_cpu(rec->len), in emi26_load_firmware()
|
/kernel/linux/linux-6.6/arch/powerpc/perf/ |
H A D | hv-gpci.c | 176 for (i = 0; i < be16_to_cpu(arg->params.returned_values); i++) { in systeminfo_gpci_request() 177 j = i * be16_to_cpu(arg->params.cv_element_size); in systeminfo_gpci_request() 179 for (; j < (i + 1) * be16_to_cpu(arg->params.cv_element_size); j++) in systeminfo_gpci_request() 227 int returned_values = be16_to_cpu(arg->params.returned_values); in processor_bus_topology_show() 228 int elementsize = be16_to_cpu(arg->params.cv_element_size); in processor_bus_topology_show() 295 int returned_values = be16_to_cpu(arg->params.returned_values); in processor_config_show() 296 int elementsize = be16_to_cpu(arg->params.cv_element_size); in processor_config_show() 363 int returned_values = be16_to_cpu(arg->params.returned_values); in affinity_domain_via_virtual_processor_show() 364 int elementsize = be16_to_cpu(arg->params.cv_element_size); in affinity_domain_via_virtual_processor_show() 433 int returned_values = be16_to_cpu(ar in affinity_domain_via_domain_show() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/ |
H A D | gve_adminq.c | 29 option_end = (void *)(option + 1) + be16_to_cpu(option->option_length); in gve_get_next_option() 30 descriptor_end = (void *)descriptor + be16_to_cpu(descriptor->total_length); in gve_get_next_option() 46 u16 option_length = be16_to_cpu(option->option_length); in gve_parse_device_option() 47 u16 option_id = be16_to_cpu(option->option_id); in gve_parse_device_option() 169 const int num_options = be16_to_cpu(descriptor->num_device_options); in gve_process_device_options() 699 priv->tx_desc_cnt = be16_to_cpu(descriptor->tx_queue_entries); in gve_set_desc_cnt() 705 priv->rx_desc_cnt = be16_to_cpu(descriptor->rx_queue_entries); in gve_set_desc_cnt() 720 priv->tx_desc_cnt = be16_to_cpu(descriptor->tx_queue_entries); in gve_set_desc_cnt_dqo() 721 priv->rx_desc_cnt = be16_to_cpu(descriptor->rx_queue_entries); in gve_set_desc_cnt_dqo() 727 be16_to_cpu(dev_op_dqo_rd in gve_set_desc_cnt_dqo() [all...] |
/kernel/linux/linux-5.10/net/6lowpan/ |
H A D | debugfs.c | 105 be16_to_cpu(ctx->pfx.s6_addr16[0]), in lowpan_ctx_pfx_show() 106 be16_to_cpu(ctx->pfx.s6_addr16[1]), in lowpan_ctx_pfx_show() 107 be16_to_cpu(ctx->pfx.s6_addr16[2]), in lowpan_ctx_pfx_show() 108 be16_to_cpu(ctx->pfx.s6_addr16[3]), in lowpan_ctx_pfx_show() 109 be16_to_cpu(ctx->pfx.s6_addr16[4]), in lowpan_ctx_pfx_show() 110 be16_to_cpu(ctx->pfx.s6_addr16[5]), in lowpan_ctx_pfx_show() 111 be16_to_cpu(ctx->pfx.s6_addr16[6]), in lowpan_ctx_pfx_show() 112 be16_to_cpu(ctx->pfx.s6_addr16[7])); in lowpan_ctx_pfx_show()
|
/kernel/linux/linux-6.6/net/6lowpan/ |
H A D | debugfs.c | 105 be16_to_cpu(ctx->pfx.s6_addr16[0]), in lowpan_ctx_pfx_show() 106 be16_to_cpu(ctx->pfx.s6_addr16[1]), in lowpan_ctx_pfx_show() 107 be16_to_cpu(ctx->pfx.s6_addr16[2]), in lowpan_ctx_pfx_show() 108 be16_to_cpu(ctx->pfx.s6_addr16[3]), in lowpan_ctx_pfx_show() 109 be16_to_cpu(ctx->pfx.s6_addr16[4]), in lowpan_ctx_pfx_show() 110 be16_to_cpu(ctx->pfx.s6_addr16[5]), in lowpan_ctx_pfx_show() 111 be16_to_cpu(ctx->pfx.s6_addr16[6]), in lowpan_ctx_pfx_show() 112 be16_to_cpu(ctx->pfx.s6_addr16[7])); in lowpan_ctx_pfx_show()
|