/Linux-v5.10/tools/gpio/ |
D | lsgpio.c | 128 struct gpio_v2_line_info linfo; in list_device() local 130 memset(&linfo, 0, sizeof(linfo)); in list_device() 131 linfo.offset = i; in list_device() 133 ret = ioctl(fd, GPIO_V2_GET_LINEINFO_IOCTL, &linfo); in list_device() 139 fprintf(stdout, "\tline %2d:", linfo.offset); in list_device() 140 if (linfo.name[0]) in list_device() 141 fprintf(stdout, " \"%s\"", linfo.name); in list_device() 144 if (linfo.consumer[0]) in list_device() 145 fprintf(stdout, " \"%s\"", linfo.consumer); in list_device() 148 if (linfo.flags) { in list_device() [all …]
|
/Linux-v5.10/tools/testing/selftests/bpf/prog_tests/ |
D | bpf_iter.c | 570 union bpf_iter_link_info linfo; in test_bpf_hash_map() local 593 memset(&linfo, 0, sizeof(linfo)); in test_bpf_hash_map() 594 linfo.map.map_fd = bpf_map__fd(skel->maps.hashmap2); in test_bpf_hash_map() 595 opts.link_info = &linfo; in test_bpf_hash_map() 596 opts.link_info_len = sizeof(linfo); in test_bpf_hash_map() 602 linfo.map.map_fd = bpf_map__fd(skel->maps.hashmap3); in test_bpf_hash_map() 625 linfo.map.map_fd = map_fd; in test_bpf_hash_map() 668 union bpf_iter_link_info linfo; in test_bpf_percpu_hash_map() local 713 memset(&linfo, 0, sizeof(linfo)); in test_bpf_percpu_hash_map() 714 linfo.map.map_fd = map_fd; in test_bpf_percpu_hash_map() [all …]
|
D | sockmap_basic.c | 201 union bpf_iter_link_info linfo = {}; in test_sockmap_copy() local 242 linfo.map.map_fd = src_fd; in test_sockmap_copy() 243 opts.link_info = &linfo; in test_sockmap_copy() 244 opts.link_info_len = sizeof(linfo); in test_sockmap_copy()
|
/Linux-v5.10/tools/bpf/bpftool/ |
D | iter.c | 14 union bpf_iter_link_info linfo; in do_pin() local 41 memset(&linfo, 0, sizeof(linfo)); in do_pin() 42 linfo.map.map_fd = map_fd; in do_pin() 43 iter_opts.link_info = &linfo; in do_pin() 44 iter_opts.link_info_len = sizeof(linfo); in do_pin()
|
D | jit_disasm.c | 81 const struct bpf_line_info *linfo = NULL; in disasm_print_insn() local 141 linfo = bpf_prog_linfo__lfind_addr_func(prog_linfo, in disasm_print_insn() 145 if (linfo) in disasm_print_insn() 152 if (linfo) in disasm_print_insn() 153 btf_dump_linfo_json(btf, linfo, linum); in disasm_print_insn() 157 if (linfo) in disasm_print_insn() 158 btf_dump_linfo_plain(btf, linfo, "; ", in disasm_print_insn()
|
D | xlated_dumper.c | 248 const struct bpf_line_info *linfo; in dump_xlated_json() local 250 linfo = bpf_prog_linfo__lfind(prog_linfo, i, nr_skip); in dump_xlated_json() 251 if (linfo) { in dump_xlated_json() 252 btf_dump_linfo_json(btf, linfo, linum); in dump_xlated_json() 327 const struct bpf_line_info *linfo; in dump_xlated_plain() local 329 linfo = bpf_prog_linfo__lfind(prog_linfo, i, nr_skip); in dump_xlated_plain() 330 if (linfo) { in dump_xlated_plain() 331 btf_dump_linfo_plain(btf, linfo, "; ", in dump_xlated_plain()
|
D | btf_dumper.c | 730 const struct bpf_line_info *linfo, in btf_dump_linfo_plain() argument 733 const char *line = btf__name_by_offset(btf, linfo->line_off); in btf_dump_linfo_plain() 743 const char *file = btf__name_by_offset(btf, linfo->file_name_off); in btf_dump_linfo_plain() 754 BPF_LINE_INFO_LINE_NUM(linfo->line_col), in btf_dump_linfo_plain() 755 BPF_LINE_INFO_LINE_COL(linfo->line_col)); in btf_dump_linfo_plain() 762 const struct bpf_line_info *linfo, bool linum) in btf_dump_linfo_json() argument 764 const char *line = btf__name_by_offset(btf, linfo->line_off); in btf_dump_linfo_json() 770 const char *file = btf__name_by_offset(btf, linfo->file_name_off); in btf_dump_linfo_json() 775 if (BPF_LINE_INFO_LINE_NUM(linfo->line_col)) in btf_dump_linfo_json() 777 BPF_LINE_INFO_LINE_NUM(linfo->line_col)); in btf_dump_linfo_json() [all …]
|
D | main.h | 247 const struct bpf_line_info *linfo, 250 const struct bpf_line_info *linfo, bool linum);
|
/Linux-v5.10/sound/soc/intel/skylake/ |
D | skl-sst-utils.c | 383 int skl_prepare_lib_load(struct skl_dev *skl, struct skl_lib_info *linfo, in skl_prepare_lib_load() argument 390 if (linfo->fw == NULL) { in skl_prepare_lib_load() 391 ret = request_firmware(&linfo->fw, linfo->name, in skl_prepare_lib_load() 395 linfo->name, ret); in skl_prepare_lib_load() 401 ret = snd_skl_parse_uuids(dsp, linfo->fw, hdr_offset, index); in skl_prepare_lib_load() 406 stripped_fw->data = linfo->fw->data; in skl_prepare_lib_load() 407 stripped_fw->size = linfo->fw->size; in skl_prepare_lib_load() 413 void skl_release_library(struct skl_lib_info *linfo, int lib_count) in skl_release_library() argument 419 if (linfo[i].fw) { in skl_release_library() 420 release_firmware(linfo[i].fw); in skl_release_library() [all …]
|
D | skl-sst-dsp.h | 143 struct skl_lib_info *linfo, int lib_count); 251 int skl_prepare_lib_load(struct skl_dev *skl, struct skl_lib_info *linfo, 254 void skl_release_library(struct skl_lib_info *linfo, int lib_count);
|
/Linux-v5.10/drivers/net/ethernet/cavium/liquidio/ |
D | lio_vf_main.c | 268 struct oct_link_info *linfo = &lio->linfo; in print_link_info() local 270 if (linfo->link.s.link_up) { in print_link_info() 272 linfo->link.s.speed, in print_link_info() 273 (linfo->link.s.duplex) ? "Full" : "Half"); in print_link_info() 294 dev_set_mtu(lio->netdev, lio->linfo.link.s.mtu); in octnet_link_status_change() 342 int current_max_mtu = lio->linfo.link.s.mtu; in update_link_status() 345 if ((lio->intf_open) && (lio->linfo.link.u64 != ls->u64)) { in update_link_status() 346 lio->linfo.link.u64 = ls->u64; in update_link_status() 351 if (lio->linfo.link.s.link_up) { in update_link_status() 359 if (lio->linfo.link.s.mtu != current_max_mtu) { in update_link_status() [all …]
|
D | lio_ethtool.c | 219 struct oct_link_info *linfo; in lio_get_link_ksettings() local 221 linfo = &lio->linfo; in lio_get_link_ksettings() 226 switch (linfo->link.s.phy_type) { in lio_get_link_ksettings() 242 if (linfo->link.s.if_mode == INTERFACE_MODE_XAUI || in lio_get_link_ksettings() 243 linfo->link.s.if_mode == INTERFACE_MODE_RXAUI || in lio_get_link_ksettings() 244 linfo->link.s.if_mode == INTERFACE_MODE_XLAUI || in lio_get_link_ksettings() 245 linfo->link.s.if_mode == INTERFACE_MODE_XFI) { in lio_get_link_ksettings() 250 linfo->link.s.if_mode); in lio_get_link_ksettings() 329 if (linfo->link.s.speed == 10000) { in lio_get_link_ksettings() 351 if (linfo->link.s.speed == 25000) { in lio_get_link_ksettings() [all …]
|
D | lio_main.c | 476 iq = lio->linfo.txpciq[q % in check_txq_status() 501 struct oct_link_info *linfo = &lio->linfo; in print_link_info() local 503 if (linfo->link.s.link_up) { in print_link_info() 505 linfo->link.s.speed, in print_link_info() 506 (linfo->link.s.duplex) ? "Full" : "Half"); in print_link_info() 527 dev_set_mtu(lio->netdev, lio->linfo.link.s.mtu); in octnet_link_status_change() 575 int changed = (lio->linfo.link.u64 != ls->u64); in update_link_status() 576 int current_max_mtu = lio->linfo.link.s.mtu; in update_link_status() 580 __func__, lio->linfo.link.u64, ls->u64); in update_link_status() 581 lio->linfo.link.u64 = ls->u64; in update_link_status() [all …]
|
D | lio_core.c | 170 nctrl.iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_set_feature() 410 lio->linfo.macaddr_is_admin_asgnd = true; in octeon_pf_changed_vf_macaddr() 415 ether_addr_copy(((u8 *)&lio->linfo.hw_addr) + 2, mac); in octeon_pf_changed_vf_macaddr() 464 q_no = lio->linfo.rxpciq[q].s.q_no; in setup_rx_oom_poll_fn() 517 lio->linfo.link.s.link_up && in lio_update_txq_status() 838 q_no = lio->linfo.rxpciq[q].s.q_no; in liquidio_setup_io_queues() 885 lio->linfo.txpciq[q], num_tx_descs, in liquidio_setup_io_queues() 1236 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in liquidio_change_mtu() 1415 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in lio_fetch_vf_stats() 1490 sc->iq_no = lio->linfo.txpciq[0].s.q_no; in lio_fetch_stats() [all …]
|
D | octeon_network.h | 132 struct oct_link_info linfo; member 577 qno = lio->linfo.txpciq[i % lio->oct_dev->num_iqs].s.q_no; in wake_txqs() 596 if (lio->linfo.link.s.link_up) { in start_txqs()
|
/Linux-v5.10/tools/lib/bpf/ |
D | bpf_prog_linfo.c | 222 const struct bpf_line_info *linfo; in bpf_prog_linfo__lfind() local 232 linfo = raw_linfo; in bpf_prog_linfo__lfind() 233 if (insn_off < linfo->insn_off) in bpf_prog_linfo__lfind() 238 if (insn_off < linfo->insn_off) in bpf_prog_linfo__lfind() 242 linfo = raw_linfo; in bpf_prog_linfo__lfind()
|
D | bpf.c | 220 void *finfo = NULL, *linfo = NULL; in bpf_load_program_xattr() local 279 while (errno == E2BIG && (!finfo || !linfo)) { in bpf_load_program_xattr() 292 } else if (!linfo && attr.line_info_cnt && in bpf_load_program_xattr() 295 linfo = alloc_zero_tailing_info(load_attr->line_info, in bpf_load_program_xattr() 299 if (!linfo) in bpf_load_program_xattr() 302 attr.line_info = ptr_to_u64(linfo); in bpf_load_program_xattr() 325 free(linfo); in bpf_load_program_xattr()
|
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | cgx.c | 154 struct cgx_link_user_info *linfo) in cgx_get_link_info() argument 161 *linfo = lmac->link_info; in cgx_get_link_info() 600 struct cgx_link_user_info *linfo, in link_status_user_format() argument 605 linfo->link_up = FIELD_GET(RESP_LINKSTAT_UP, lstat); in link_status_user_format() 606 linfo->full_duplex = FIELD_GET(RESP_LINKSTAT_FDUPLEX, lstat); in link_status_user_format() 607 linfo->speed = cgx_speed_mbps[FIELD_GET(RESP_LINKSTAT_SPEED, lstat)]; in link_status_user_format() 608 linfo->lmac_type_id = cgx_get_lmac_type(cgx, lmac_id); in link_status_user_format() 609 lmac_string = cgx_lmactype_string[linfo->lmac_type_id]; in link_status_user_format() 610 strncpy(linfo->lmac_type, lmac_string, LMACTYPE_STR_LEN - 1); in link_status_user_format() 617 struct cgx_link_user_info *linfo; in cgx_link_change_handler() local [all …]
|
D | rvu_cgx.c | 177 struct cgx_link_user_info *linfo; in cgx_notify_pfs() local 182 linfo = &event->link_uinfo; in cgx_notify_pfs() 193 linfo->link_up ? "UP" : "DOWN"); in cgx_notify_pfs() 201 msg->link_info = *linfo; in cgx_notify_pfs()
|
/Linux-v5.10/net/smc/ |
D | smc_diag.c | 161 struct smc_diag_lgrinfo linfo = { in __smc_diag_dump() local 167 memcpy(linfo.lnk[0].ibname, in __smc_diag_dump() 170 smc_gid_be16_convert(linfo.lnk[0].gid, in __smc_diag_dump() 172 smc_gid_be16_convert(linfo.lnk[0].peer_gid, in __smc_diag_dump() 175 if (nla_put(skb, SMC_DIAG_LGRINFO, sizeof(linfo), &linfo) < 0) in __smc_diag_dump()
|
/Linux-v5.10/kernel/bpf/ |
D | map_iter.c | 102 union bpf_iter_link_info *linfo, in bpf_iter_attach_map() argument 110 if (!linfo->map.map_fd) in bpf_iter_attach_map() 113 map = bpf_map_get_with_uref(linfo->map.map_fd); in bpf_iter_attach_map()
|
D | bpf_iter.c | 467 union bpf_iter_link_info linfo; in bpf_iter_link_attach() local 476 memset(&linfo, 0, sizeof(union bpf_iter_link_info)); in bpf_iter_link_attach() 484 err = bpf_check_uarg_tail_zero(ulinfo, sizeof(linfo), in bpf_iter_link_attach() 488 linfo_len = min_t(u32, linfo_len, sizeof(linfo)); in bpf_iter_link_attach() 489 if (copy_from_user(&linfo, ulinfo, linfo_len)) in bpf_iter_link_attach() 519 err = tinfo->reg_info->attach_target(prog, &linfo, &link->aux); in bpf_iter_link_attach()
|
D | core.c | 188 const struct bpf_line_info *linfo; in bpf_prog_fill_jited_linfo() local 196 linfo = &prog->aux->linfo[linfo_idx]; in bpf_prog_fill_jited_linfo() 197 insn_start = linfo[0].insn_off; in bpf_prog_fill_jited_linfo() 205 for (i = 1; i < nr_linfo && linfo[i].insn_off < insn_end; i++) in bpf_prog_fill_jited_linfo() 210 insn_to_jit_off[linfo[i].insn_off - insn_start - 1]; in bpf_prog_fill_jited_linfo() 216 kvfree(prog->aux->linfo); in bpf_prog_free_linfo() 418 struct bpf_line_info *linfo; in bpf_adj_linfo() local 425 linfo = prog->aux->linfo; in bpf_adj_linfo() 428 if (off < linfo[i].insn_off) in bpf_adj_linfo() 433 linfo[i].insn_off += delta; in bpf_adj_linfo()
|
/Linux-v5.10/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_symbol.c | 116 if (symbol->info.linfo != NULL) in symbol_delete() 117 free(symbol->info.linfo); in symbol_delete() 520 if (cursym->info.linfo->exported == 0) in symtable_dump() 685 curnode->symbol->info.linfo->address); in symtable_dump()
|
D | aicasm_symbol.h | 133 struct label_info *linfo; member
|