Searched refs:bid (Results 1 - 25 of 53) sorted by relevance

123

/linux-master/drivers/usb/host/
H A Docteon-hcd.h54 #define CVMX_USBCXREG1(reg, bid) \
56 ((bid) & 1) * 0x100000000000ull)
57 #define CVMX_USBCXREG2(reg, bid, off) \
59 (((off) & 7) + ((bid) & 1) * 0x8000000000ull) * 32)
61 #define CVMX_USBCX_GAHBCFG(bid) CVMX_USBCXREG1(0x008, bid)
62 #define CVMX_USBCX_GHWCFG3(bid) CVMX_USBCXREG1(0x04c, bid)
63 #define CVMX_USBCX_GINTMSK(bid) CVMX_USBCXREG1(0x018, bid)
[all...]
/linux-master/tools/perf/tests/
H A Dpe-file-parsing.c27 struct build_id bid; local
40 ret = filename__read_build_id(filename, &bid);
43 TEST_ASSERT_VAL("Wrong build_id", !memcmp(bid.data, expect_build_id,
52 ret = filename__read_build_id(debugfile, &bid);
55 TEST_ASSERT_VAL("Wrong build_id", !memcmp(bid.data, expect_build_id,
H A Dsdt.c31 struct build_id bid; local
34 err = filename__read_build_id(filename, &bid);
40 build_id__sprintf(&bid, sbuild_id);
/linux-master/drivers/misc/sgi-gru/
H A Dgrufile.c247 gru_dbg(grudev, "bid %d, gid %d, vaddr %p (0x%lx)\n",
254 int pnode, nid, bid, chip; local
264 for_each_possible_blade(bid) {
265 pnode = uv_blade_to_pnode(bid);
266 nid = uv_blade_to_memory_nid(bid);/* -1 if no memory on blade */
270 gru_base[bid] = page_address(page);
271 memset(gru_base[bid], 0, sizeof(struct gru_blade_state));
272 gru_base[bid]->bs_lru_gru = &gru_base[bid]->bs_grus[0];
273 spin_lock_init(&gru_base[bid]
303 int bid; local
[all...]
H A Dgrukservices.c191 int bid, ret = 0; local
193 for (bid = 0; bid < GRU_MAX_BLADES; bid++) {
194 bs = gru_base[bid];
219 int bid; local
223 bid = blade_id < 0 ? uv_numa_blade_id() : blade_id;
224 bs = gru_base[bid];
228 if (blade_id < 0 && bid != uv_numa_blade_id()) {
233 gru_load_kernel_context(bs, bid);
393 int cbrnum, bid; local
[all...]
/linux-master/tools/perf/util/
H A Dsymbol-minimal.c34 static int read_build_id(void *note_data, size_t note_len, struct build_id *bid, argument
37 size_t size = sizeof(bid->data);
67 memcpy(bid->data, ptr, sz);
68 memset(bid->data + sz, 0, size - sz);
69 bid->size = sz;
89 int filename__read_build_id(const char *filename, struct build_id *bid) argument
161 ret = read_build_id(buf, buf_size, bid, need_swap);
163 ret = bid->size;
213 ret = read_build_id(buf, buf_size, bid, need_swap);
215 ret = bid
227 sysfs__read_build_id(const char *filename, struct build_id *bid) argument
346 struct build_id bid; local
[all...]
H A Dbuild-id.c104 char *bid = bf; local
111 sprintf(bid, "%02x", *raw);
113 bid += 2;
116 return (bid - bf) + 1;
122 struct build_id bid; local
130 ret = sysfs__read_build_id(notes, &bid);
134 return build_id__sprintf(&bid, sbuild_id);
139 struct build_id bid; local
142 ret = filename__read_build_id(pathname, &bid);
146 return build_id__sprintf(&bid, sbuild_i
305 write_buildid(const char *name, size_t name_len, struct build_id *bid, pid_t pid, u16 misc, struct feat_fd *fd) argument
824 build_id_cache__add_b(const struct build_id *bid, const char *name, struct nsinfo *nsi, bool is_kallsyms, bool is_vdso, const char *proper_name, const char *root_dir) argument
888 filename__read_build_id_ns(const char *filename, struct build_id *bid, struct nsinfo *nsi) argument
904 struct build_id bid; local
1012 build_id__init(struct build_id *bid, const u8 *data, size_t size) argument
1019 build_id__is_defined(const struct build_id *bid) argument
[all...]
H A Ddebuginfo.c106 struct build_id bid; local
114 if (is_regular_file(path) && filename__read_build_id(path, &bid) > 0)
115 dso__set_build_id(dso, &bid);
H A Dbuild-id.h25 void build_id__init(struct build_id *bid, const u8 *data, size_t size);
27 bool build_id__is_defined(const struct build_id *bid);
H A Ddso.c212 build_id__sprintf(&dso->bid, build_id_hex);
1410 void dso__set_build_id(struct dso *dso, struct build_id *bid) argument
1412 dso->bid = *bid;
1416 bool dso__build_id_equal(const struct dso *dso, struct build_id *bid) argument
1418 if (dso->bid.size > bid->size && dso->bid.size == BUILD_ID_SIZE) {
1423 return !memcmp(dso->bid.data, bid
[all...]
H A Dprint-events.c178 char *bid = strchr(sdt_name->s, '@'); local
181 if (bid)
182 *(bid++) = '\0';
202 char *path = build_id_cache__origname(bid);
205 if (asprintf(&evt_name, "%s@%s(%.12s)", sdt_name->s, path, bid) < 0)
H A Ddsos.c90 if (filename__read_build_id(pos->long_name, &pos->bid) > 0) {
97 &pos->bid) > 0) {
317 build_id__sprintf(&pos->bid, sbuild_id);
H A Ddso.h185 struct build_id bid; member in struct:dso
280 void dso__set_build_id(struct dso *dso, struct build_id *bid);
281 bool dso__build_id_equal(const struct dso *dso, struct build_id *bid);
/linux-master/drivers/s390/char/
H A Dtape_34xx.c47 struct tape_34xx_block_id bid; member in struct:tape_34xx_sbid
884 tape_34xx_append_new_sbid(struct tape_34xx_block_id bid, struct list_head *l) argument
892 new_sbid->bid = bid;
902 tape_34xx_add_sbid(struct tape_device *device, struct tape_34xx_block_id bid) argument
914 if (!sbid_list || (bid.segment < 2 && bid.wrap == 0))
929 (sbid->bid.segment == bid.segment) &&
930 (sbid->bid
1090 struct tape_34xx_block_id * bid; local
[all...]
/linux-master/drivers/usb/usbip/
H A Dstub_main.c68 struct bus_id_priv *bid = NULL; local
73 bid = &(busid_table[idx]);
75 spin_lock(&bid->busid_lock);
79 return bid;
82 void put_busid_priv(struct bus_id_priv *bid) argument
84 if (bid)
85 spin_unlock(&bid->busid_lock);
247 struct bus_id_priv *bid; local
255 bid = get_busid_priv(buf);
256 if (!bid)
[all...]
H A Dstub.h91 void put_busid_priv(struct bus_id_priv *bid);
/linux-master/arch/x86/platform/uv/
H A Duv_time.c126 int bid; local
128 for_each_possible_blade(bid) {
129 kfree(blade_info[bid]);
145 int bid = uv_cpu_to_blade_id(cpu); local
147 struct uv_rtc_timer_head *head = blade_info[bid];
151 uv_blade_nr_possible_cpus(bid)),
158 head->ncpus = uv_blade_nr_possible_cpus(bid);
160 blade_info[bid] = head;
204 int bid = uv_cpu_to_blade_id(cpu); local
205 struct uv_rtc_timer_head *head = blade_info[bid];
240 int bid = uv_cpu_to_blade_id(cpu); local
[all...]
/linux-master/tools/perf/
H A Dbuiltin-buildid-cache.c178 struct build_id bid; local
183 err = filename__read_build_id(filename, &bid);
190 build_id__sprintf(&bid, sbuild_id);
201 struct build_id bid; local
207 err = filename__read_build_id(filename, &bid);
214 build_id__sprintf(&bid, sbuild_id);
278 struct build_id bid; local
283 if (filename__read_build_id(filename, &bid) == -1) {
289 } else if (memcmp(dso->bid.data, bid
306 struct build_id bid; local
[all...]
H A Dbuiltin-buildid-list.c32 build_id__sprintf(&dso->bid, bid_buf);
/linux-master/arch/x86/include/asm/uv/
H A Duv_hub.h373 #define for_each_possible_blade(bid) \
374 for ((bid) = 0; (bid) < uv_num_possible_blades(); (bid)++)
681 static inline int uv_blade_to_pnode(int bid) argument
685 return s2p ? s2p[bid] : bid;
689 static inline int uv_blade_to_memory_nid(int bid) argument
691 return uv_hub_info_list(uv_blade_to_node(bid))->memory_nid;
695 static inline int uv_blade_nr_possible_cpus(int bid) argument
701 uv_blade_nr_online_cpus(int bid) argument
[all...]
/linux-master/arch/mips/alchemy/devboards/
H A Ddb1200.c85 int bid; local
102 bid = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI));
103 if ((bid == BCSR_WHOAMI_PB1200_DDR1) ||
104 (bid == BCSR_WHOAMI_PB1200_DDR2)) {
803 int swapped, bid; local
806 bid = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI));
807 if ((bid == BCSR_WHOAMI_PB1200_DDR1) ||
808 (bid == BCSR_WHOAMI_PB1200_DDR2)) {
938 if ((bid == BCSR_WHOAMI_PB1200_DDR1) ||
939 (bid
[all...]
/linux-master/arch/x86/kernel/apic/
H A Dx2apic_uv_x.c1650 int bytes, cpu, nodeid, bid; local
1707 for_each_possible_blade(bid) {
1711 new_hub = (bid == 0) ? &uv_hub_info_node0
1712 : kzalloc_node(bytes, GFP_KERNEL, uv_blade_to_node(bid));
1714 /* do not kfree() bid 0, which is statically allocated */
1715 while (--bid > 0)
1716 kfree(uv_hub_info_list_blade[bid]);
1721 uv_hub_info_list_blade[bid] = new_hub;
1726 new_hub->pnode = uv_blade_to_pnode(bid);
1730 new_hub->numa_blade_id = bid;
1758 unsigned short bid; local
[all...]
/linux-master/io_uring/
H A Dkbuf.c31 __u16 bid; member in struct:io_provide_buf
127 req->buf_index = kbuf->bid;
162 req->buf_index = buf->bid;
378 p->bid = tmp;
434 int i, bid = pbuf->bid; local
445 buf->bid = bid;
448 bid++;
/linux-master/arch/powerpc/kvm/
H A Dbook3s_xive.h214 u32 bid = irq >> KVMPPC_XICS_ICS_SHIFT; local
219 if (bid > KVMPPC_XICS_MAX_ICS_ID)
221 return xive->src_blocks[bid];
/linux-master/drivers/pcmcia/
H A Ddb1xxx_ss.c428 int ret, bid; local
436 bid = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI));
437 switch (bid) {
453 printk(KERN_INFO "db1xxx-ss: unknown board %d!\n", bid);

Completed in 291 milliseconds

123