/kernel/linux/linux-5.10/drivers/staging/octeon-usb/ |
D | octeon-hcd.h | 54 #define CVMX_USBCXREG1(reg, bid) \ argument 56 ((bid) & 1) * 0x100000000000ull) 57 #define CVMX_USBCXREG2(reg, bid, off) \ argument 59 (((off) & 7) + ((bid) & 1) * 0x8000000000ull) * 32) 61 #define CVMX_USBCX_GAHBCFG(bid) CVMX_USBCXREG1(0x008, bid) argument 62 #define CVMX_USBCX_GHWCFG3(bid) CVMX_USBCXREG1(0x04c, bid) argument 63 #define CVMX_USBCX_GINTMSK(bid) CVMX_USBCXREG1(0x018, bid) argument 64 #define CVMX_USBCX_GINTSTS(bid) CVMX_USBCXREG1(0x014, bid) argument 65 #define CVMX_USBCX_GNPTXFSIZ(bid) CVMX_USBCXREG1(0x028, bid) argument 66 #define CVMX_USBCX_GNPTXSTS(bid) CVMX_USBCXREG1(0x02c, bid) argument [all …]
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
D | tape_34xx.c | 47 struct tape_34xx_block_id bid; member 884 tape_34xx_append_new_sbid(struct tape_34xx_block_id bid, struct list_head *l) in tape_34xx_append_new_sbid() argument 892 new_sbid->bid = bid; in tape_34xx_append_new_sbid() 902 tape_34xx_add_sbid(struct tape_device *device, struct tape_34xx_block_id bid) in tape_34xx_add_sbid() argument 914 if (!sbid_list || (bid.segment < 2 && bid.wrap == 0)) in tape_34xx_add_sbid() 929 (sbid->bid.segment == bid.segment) && in tape_34xx_add_sbid() 930 (sbid->bid.wrap == bid.wrap) in tape_34xx_add_sbid() 932 if (bid.block < sbid->bid.block) in tape_34xx_add_sbid() 933 sbid->bid = bid; in tape_34xx_add_sbid() 939 if (bid.block < sbid->bid.block) { in tape_34xx_add_sbid() [all …]
|
/kernel/linux/linux-5.10/drivers/misc/sgi-gru/ |
D | grufile.c | 254 int pnode, nid, bid, chip; in gru_init_tables() local 264 for_each_possible_blade(bid) { in gru_init_tables() 265 pnode = uv_blade_to_pnode(bid); in gru_init_tables() 266 nid = uv_blade_to_memory_nid(bid);/* -1 if no memory on blade */ in gru_init_tables() 270 gru_base[bid] = page_address(page); in gru_init_tables() 271 memset(gru_base[bid], 0, sizeof(struct gru_blade_state)); in gru_init_tables() 272 gru_base[bid]->bs_lru_gru = &gru_base[bid]->bs_grus[0]; in gru_init_tables() 273 spin_lock_init(&gru_base[bid]->bs_lock); in gru_init_tables() 274 init_rwsem(&gru_base[bid]->bs_kgts_sema); in gru_init_tables() 278 for (gru = gru_base[bid]->bs_grus, chip = 0; in gru_init_tables() [all …]
|
D | grukservices.c | 191 int bid, ret = 0; in gru_free_kernel_contexts() local 193 for (bid = 0; bid < GRU_MAX_BLADES; bid++) { in gru_free_kernel_contexts() 194 bs = gru_base[bid]; in gru_free_kernel_contexts() 219 int bid; in gru_lock_kernel_context() local 223 bid = blade_id < 0 ? uv_numa_blade_id() : blade_id; in gru_lock_kernel_context() 224 bs = gru_base[bid]; in gru_lock_kernel_context() 228 if (blade_id < 0 && bid != uv_numa_blade_id()) { in gru_lock_kernel_context() 233 gru_load_kernel_context(bs, bid); in gru_lock_kernel_context() 393 int cbrnum, bid; in gru_get_cb_exception_detail() local 400 for_each_possible_blade(bid) { in gru_get_cb_exception_detail() [all …]
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | symbol-minimal.c | 34 static int read_build_id(void *note_data, size_t note_len, struct build_id *bid, in read_build_id() argument 37 size_t size = sizeof(bid->data); in read_build_id() 67 memcpy(bid->data, ptr, sz); in read_build_id() 68 memset(bid->data + sz, 0, size - sz); in read_build_id() 69 bid->size = sz; in read_build_id() 89 int filename__read_build_id(const char *filename, struct build_id *bid) in filename__read_build_id() argument 161 ret = read_build_id(buf, buf_size, bid, need_swap); in filename__read_build_id() 163 ret = bid->size; in filename__read_build_id() 212 ret = read_build_id(buf, buf_size, bid, need_swap); in filename__read_build_id() 214 ret = bid->size; in filename__read_build_id() [all …]
|
D | build-id.c | 101 char *bid = bf; in build_id__sprintf() local 108 sprintf(bid, "%02x", *raw); in build_id__sprintf() 110 bid += 2; in build_id__sprintf() 113 return (bid - bf) + 1; in build_id__sprintf() 119 struct build_id bid; in sysfs__sprintf_build_id() local 127 ret = sysfs__read_build_id(notes, &bid); in sysfs__sprintf_build_id() 131 return build_id__sprintf(&bid, sbuild_id); in sysfs__sprintf_build_id() 136 struct build_id bid; in filename__sprintf_build_id() local 139 ret = filename__read_build_id(pathname, &bid); in filename__sprintf_build_id() 143 return build_id__sprintf(&bid, sbuild_id); in filename__sprintf_build_id() [all …]
|
D | dso.c | 175 build_id__sprintf(&dso->bid, build_id_hex); in dso__read_binary_type_filename() 1331 void dso__set_build_id(struct dso *dso, struct build_id *bid) in dso__set_build_id() argument 1333 dso->bid = *bid; in dso__set_build_id() 1337 bool dso__build_id_equal(const struct dso *dso, struct build_id *bid) in dso__build_id_equal() argument 1339 if (dso->bid.size > bid->size && dso->bid.size == BUILD_ID_SIZE) { in dso__build_id_equal() 1344 return !memcmp(dso->bid.data, bid->data, bid->size) && in dso__build_id_equal() 1345 !memchr_inv(&dso->bid.data[bid->size], 0, in dso__build_id_equal() 1346 dso->bid.size - bid->size); in dso__build_id_equal() 1349 return dso->bid.size == bid->size && in dso__build_id_equal() 1350 memcmp(dso->bid.data, bid->data, dso->bid.size) == 0; in dso__build_id_equal() [all …]
|
D | symbol-elf.c | 537 int filename__read_build_id(const char *filename, struct build_id *bid) in filename__read_build_id() argument 539 size_t size = sizeof(bid->data); in filename__read_build_id() 555 memcpy(bid->data, abfd->build_id->data, abfd->build_id->size); in filename__read_build_id() 556 memset(bid->data + abfd->build_id->size, 0, size - abfd->build_id->size); in filename__read_build_id() 557 err = bid->size = abfd->build_id->size; in filename__read_build_id() 566 int filename__read_build_id(const char *filename, struct build_id *bid) in filename__read_build_id() argument 568 size_t size = sizeof(bid->data); in filename__read_build_id() 585 err = elf_read_build_id(elf, bid->data, size); in filename__read_build_id() 587 bid->size = err; in filename__read_build_id() 598 int sysfs__read_build_id(const char *filename, struct build_id *bid) in sysfs__read_build_id() argument [all …]
|
D | dso.h | 179 struct build_id bid; member 263 void dso__set_build_id(struct dso *dso, struct build_id *bid); 264 bool dso__build_id_equal(const struct dso *dso, struct build_id *bid);
|
/kernel/linux/linux-5.10/arch/x86/platform/uv/ |
D | uv_time.c | 126 int bid; in uv_rtc_deallocate_timers() local 128 for_each_possible_blade(bid) { in uv_rtc_deallocate_timers() 129 kfree(blade_info[bid]); in uv_rtc_deallocate_timers() 145 int bid = uv_cpu_to_blade_id(cpu); in uv_rtc_allocate_timers() local 147 struct uv_rtc_timer_head *head = blade_info[bid]; in uv_rtc_allocate_timers() 151 uv_blade_nr_possible_cpus(bid)), in uv_rtc_allocate_timers() 158 head->ncpus = uv_blade_nr_possible_cpus(bid); in uv_rtc_allocate_timers() 160 blade_info[bid] = head; in uv_rtc_allocate_timers() 204 int bid = uv_cpu_to_blade_id(cpu); in uv_rtc_set_timer() local 205 struct uv_rtc_timer_head *head = blade_info[bid]; in uv_rtc_set_timer() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/usbip/ |
D | stub_main.c | 70 struct bus_id_priv *bid = NULL; in get_busid_priv() local 75 bid = &(busid_table[idx]); in get_busid_priv() 77 spin_lock(&bid->busid_lock); in get_busid_priv() 81 return bid; in get_busid_priv() 84 void put_busid_priv(struct bus_id_priv *bid) in put_busid_priv() argument 86 if (bid) in put_busid_priv() 87 spin_unlock(&bid->busid_lock); in put_busid_priv() 251 struct bus_id_priv *bid; in rebind_store() local 259 bid = get_busid_priv(buf); in rebind_store() 260 if (!bid) in rebind_store() [all …]
|
D | stub.h | 91 void put_busid_priv(struct bus_id_priv *bid);
|
/kernel/linux/linux-5.10/tools/perf/ |
D | builtin-buildid-cache.c | 177 struct build_id bid; in build_id_cache__add_file() local 182 err = filename__read_build_id(filename, &bid); in build_id_cache__add_file() 189 build_id__sprintf(&bid, sbuild_id); in build_id_cache__add_file() 200 struct build_id bid; in build_id_cache__remove_file() local 206 err = filename__read_build_id(filename, &bid); in build_id_cache__remove_file() 213 build_id__sprintf(&bid, sbuild_id); in build_id_cache__remove_file() 277 struct build_id bid; in dso__missing_buildid_cache() local 280 filename__read_build_id(filename, &bid) == -1) { in dso__missing_buildid_cache() 286 } else if (memcmp(dso->bid.data, bid.data, bid.size)) { in dso__missing_buildid_cache() 303 struct build_id bid; in build_id_cache__update_file() local [all …]
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
D | pe-file-parsing.c | 27 struct build_id bid; in run_dir() local 39 ret = filename__read_build_id(filename, &bid); in run_dir() 42 TEST_ASSERT_VAL("Wrong build_id", !memcmp(bid.data, expect_build_id, in run_dir() 51 ret = filename__read_build_id(debugfile, &bid); in run_dir() 54 TEST_ASSERT_VAL("Wrong build_id", !memcmp(bid.data, expect_build_id, in run_dir()
|
D | sdt.c | 31 struct build_id bid; in build_id_cache__add_file() local 34 err = filename__read_build_id(filename, &bid); in build_id_cache__add_file() 40 build_id__sprintf(&bid, sbuild_id); in build_id_cache__add_file()
|
/kernel/linux/linux-5.10/fs/sharefs/ |
D | authentication.c | 27 int bid = 0; in fixup_perm_from_level() local 36 bid = get_bundle_uid(SHAREFS_SB(dentry->d_sb), in fixup_perm_from_level() 39 if (bid != 0) { in fixup_perm_from_level() 40 dinode->i_uid = KUIDT_INIT(bid); in fixup_perm_from_level() 41 dinode->i_gid = KGIDT_INIT(bid); in fixup_perm_from_level()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/uv/ |
D | uv_hub.h | 372 #define for_each_possible_blade(bid) \ argument 373 for ((bid) = 0; (bid) < uv_num_possible_blades(); (bid)++) 673 static inline int uv_blade_to_pnode(int bid) in uv_blade_to_pnode() argument 675 return uv_hub_info_list(uv_blade_to_node(bid))->pnode; in uv_blade_to_pnode() 679 static inline int uv_blade_to_memory_nid(int bid) in uv_blade_to_memory_nid() argument 681 return uv_hub_info_list(uv_blade_to_node(bid))->memory_nid; in uv_blade_to_memory_nid() 685 static inline int uv_blade_nr_possible_cpus(int bid) in uv_blade_nr_possible_cpus() argument 687 return uv_hub_info_list(uv_blade_to_node(bid))->nr_possible_cpus; in uv_blade_nr_possible_cpus() 691 static inline int uv_blade_nr_online_cpus(int bid) in uv_blade_nr_online_cpus() argument 693 return uv_hub_info_list(uv_blade_to_node(bid))->nr_online_cpus; in uv_blade_nr_online_cpus()
|
/kernel/linux/linux-5.10/fs/hmdfs/authority/ |
D | authentication.c | 115 int bid = get_bundle_uid(hmdfs_sb(dentry->d_sb), in hmdfs_override_dir_fsids() local 118 if (bid != 0) { in hmdfs_override_dir_fsids() 119 cred->fsuid = KUIDT_INIT(bid); in hmdfs_override_dir_fsids() 120 cred->fsgid = KGIDT_INIT(bid); in hmdfs_override_dir_fsids() 414 int bid = get_bundle_uid(hmdfs_sb(dentry->d_sb), in check_and_fixup_ownership_remote() local 416 if (bid != 0) { in check_and_fixup_ownership_remote() 417 dinode->i_uid = KUIDT_INIT(bid); in check_and_fixup_ownership_remote() 418 dinode->i_gid = KGIDT_INIT(bid); in check_and_fixup_ownership_remote()
|
/kernel/linux/linux-5.10/arch/mips/alchemy/devboards/ |
D | db1200.c | 86 int bid; in db1200_detect_board() local 103 bid = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)); in db1200_detect_board() 104 if ((bid == BCSR_WHOAMI_PB1200_DDR1) || in db1200_detect_board() 105 (bid == BCSR_WHOAMI_PB1200_DDR2)) { in db1200_detect_board() 812 int swapped, bid; in db1200_dev_setup() local 815 bid = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)); in db1200_dev_setup() 816 if ((bid == BCSR_WHOAMI_PB1200_DDR1) || in db1200_dev_setup() 817 (bid == BCSR_WHOAMI_PB1200_DDR2)) { in db1200_dev_setup() 947 if ((bid == BCSR_WHOAMI_PB1200_DDR1) || in db1200_dev_setup() 948 (bid == BCSR_WHOAMI_PB1200_DDR2)) in db1200_dev_setup()
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/uv/ |
D | uv_hub.h | 273 static inline int uv_blade_to_pnode(int bid) in uv_blade_to_pnode() argument 279 static inline int uv_blade_nr_possible_cpus(int bid) in uv_blade_nr_possible_cpus() argument 285 static inline int uv_blade_nr_online_cpus(int bid) in uv_blade_nr_online_cpus() argument
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/nvmem/ |
D | amlogic-efuse.txt | 30 bid: bid@46 {
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
D | book3s_xive.h | 211 u32 bid = irq >> KVMPPC_XICS_ICS_SHIFT; in kvmppc_xive_find_source() local 216 if (bid > KVMPPC_XICS_MAX_ICS_ID) in kvmppc_xive_find_source() 218 return xive->src_blocks[bid]; in kvmppc_xive_find_source()
|
/kernel/linux/linux-5.10/drivers/pcmcia/ |
D | db1xxx_ss.c | 427 int ret, bid; in db1x_pcmcia_socket_probe() local 435 bid = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)); in db1x_pcmcia_socket_probe() 436 switch (bid) { in db1x_pcmcia_socket_probe() 452 printk(KERN_INFO "db1xxx-ss: unknown board %d!\n", bid); in db1x_pcmcia_socket_probe()
|
/kernel/linux/linux-5.10/drivers/phy/intel/ |
D | phy-intel-lgm-combo.c | 95 u32 bid; member 114 return regmap_update_bits(cbphy->hsiocfg, REG_CLK_DISABLE(cbphy->bid), in intel_cbphy_iphy_enable() 231 ret = regmap_write(cbphy->hsiocfg, REG_COMBO_MODE(cbphy->bid), cb_mode); in intel_cbphy_set_mode() 482 cbphy->bid = ref.args[0]; in intel_cbphy_fwnode_parse()
|
/kernel/linux/linux-5.10/net/tipc/ |
D | udp_media.c | 449 u32 bid = cb->args[0]; in tipc_udp_nl_dump_remoteip() local 459 if (!bid && !skip_cnt) { in tipc_udp_nl_dump_remoteip() 485 bid = b->identity; in tipc_udp_nl_dump_remoteip() 491 b = rtnl_dereference(tn->bearer_list[bid]); in tipc_udp_nl_dump_remoteip() 527 cb->args[0] = bid; in tipc_udp_nl_dump_remoteip()
|