Home
last modified time | relevance | path

Searched refs:finfo (Results 1 – 25 of 27) sorted by relevance

12

/kernel/liteos_a/fs/fat/os_adapt/
Dfatfs.c352 FILINFO *finfo = &(dfp->fno); in fatfs_create_obj() local
379 if (finfo->fattrib & AM_ARC || finfo->fattrib & AM_LNK) { in fatfs_create_obj()
388 dp_new->obj.sclust = finfo->sclst; in fatfs_create_obj()
503 FILINFO *finfo = NULL; in fatfs_lookup() local
519 finfo = &(dfp->fno); in fatfs_lookup()
520 LOS_ListInit(&finfo->fp_list); in fatfs_lookup()
545 get_fileinfo(dp, finfo); in fatfs_lookup()
548 hash = fatfs_hash(dp->sect, dp->dptr, finfo->sclst); in fatfs_lookup()
563 vp->mode = fatfs_get_mode(finfo->fattrib, fs->fs_mode); in fatfs_lookup()
564 if (finfo->fattrib & AM_DIR) { in fatfs_lookup()
[all …]
/kernel/linux/linux-5.10/drivers/mailbox/
Domap-mailbox.c702 struct omap_mbox_fifo_info *finfo, *finfoblk; in omap_mbox_probe() local
741 finfo = finfoblk; in omap_mbox_probe()
743 for (i = 0; i < info_count; i++, finfo++) { in omap_mbox_probe()
749 finfo->tx_id = tmp[0]; in omap_mbox_probe()
750 finfo->tx_irq = tmp[1]; in omap_mbox_probe()
751 finfo->tx_usr = tmp[2]; in omap_mbox_probe()
757 finfo->rx_id = tmp[0]; in omap_mbox_probe()
758 finfo->rx_irq = tmp[1]; in omap_mbox_probe()
759 finfo->rx_usr = tmp[2]; in omap_mbox_probe()
761 finfo->name = child->name; in omap_mbox_probe()
[all …]
/kernel/linux/linux-5.10/drivers/hid/usbhid/
Dhiddev.c601 struct hiddev_field_info finfo; in hiddev_ioctl() local
749 if (copy_from_user(&finfo, user_arg, sizeof(finfo))) { in hiddev_ioctl()
754 rinfo.report_type = finfo.report_type; in hiddev_ioctl()
755 rinfo.report_id = finfo.report_id; in hiddev_ioctl()
761 if (finfo.field_index >= report->maxfield) in hiddev_ioctl()
763 finfo.field_index = array_index_nospec(finfo.field_index, in hiddev_ioctl()
766 field = report->field[finfo.field_index]; in hiddev_ioctl()
767 memset(&finfo, 0, sizeof(finfo)); in hiddev_ioctl()
768 finfo.report_type = rinfo.report_type; in hiddev_ioctl()
769 finfo.report_id = rinfo.report_id; in hiddev_ioctl()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tidss/
Dtidss_plane.c27 const struct drm_format_info *finfo; in tidss_plane_atomic_check() local
65 finfo = drm_format_info(state->fb->format->format); in tidss_plane_atomic_check()
67 if ((state->src_x >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check()
70 __func__, (state->src_x >> 16), finfo->hsub); in tidss_plane_atomic_check()
74 if ((state->src_y >> 16) % finfo->vsub != 0) { in tidss_plane_atomic_check()
77 __func__, (state->src_y >> 16), finfo->vsub); in tidss_plane_atomic_check()
81 if ((state->src_w >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check()
84 __func__, (state->src_w >> 16), finfo->hsub); in tidss_plane_atomic_check()
/kernel/linux/linux-5.10/drivers/fpga/
Ddfl.c747 struct dfl_feature_info *finfo, *p; in build_info_commit_dev() local
791 list_for_each_entry_safe(finfo, p, &binfo->sub_features, node) { in build_info_commit_dev()
798 feature->id = finfo->fid; in build_info_commit_dev()
811 &finfo->mmio_res); in build_info_commit_dev()
816 fdev->resource[res_idx++] = finfo->mmio_res; in build_info_commit_dev()
819 if (finfo->nr_irqs) { in build_info_commit_dev()
820 ctx = devm_kcalloc(binfo->dev, finfo->nr_irqs, in build_info_commit_dev()
825 for (i = 0; i < finfo->nr_irqs; i++) in build_info_commit_dev()
827 binfo->irq_table[finfo->irq_base + i]; in build_info_commit_dev()
830 feature->nr_irqs = finfo->nr_irqs; in build_info_commit_dev()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.c105 if (symbol->info.finfo != NULL) { in symbol_delete()
106 symlist_free(&symbol->info.finfo->symrefs); in symbol_delete()
107 free(symbol->info.finfo); in symbol_delete()
259 && (curnode->symbol->info.finfo->value > in symlist_add()
260 newnode->symbol->info.finfo->value)))) in symlist_add()
279 && (cursymbol->info.finfo->value > in symlist_add()
280 symbol->info.finfo->value)))) in symlist_add()
455 curnode->symbol->info.finfo->value, in aic_print_reg_dump_entry()
456 curnode->symbol->info.finfo->mask); in aic_print_reg_dump_entry()
582 regnode = SLIST_FIRST(&curnode->symbol->info.finfo->symrefs); in symtable_dump()
[all …]
Daicasm_gram.y711 $$.value = symbol->info.finfo->value;
1434 sym->info.finfo->value = value;
1440 sym->info.finfo->value = value;
1441 sym->info.finfo->mask = value;
1443 sym->info.finfo->mask = field_symbol->info.finfo->value;
1445 sym->info.finfo->mask = 0xFF;
1451 } else if (value != sym->info.finfo->value) {
1456 if (symlist_search(&(sym->info.finfo->symrefs),
1461 symlist_add(&(sym->info.finfo->symrefs), cur_symbol,
1463 cur_symbol->info.rinfo->valid_bitmask |= sym->info.finfo->mask;
[all …]
Daicasm_symbol.h130 struct field_info *finfo; member
/kernel/linux/linux-5.10/drivers/gpu/drm/ingenic/
Dingenic-ipu.c289 const struct drm_format_info *finfo; in ingenic_ipu_plane_atomic_update() local
297 finfo = drm_format_info(state->fb->format->format); in ingenic_ipu_plane_atomic_update()
321 if (finfo->num_planes > 1) in ingenic_ipu_plane_atomic_update()
323 if (finfo->num_planes > 2) in ingenic_ipu_plane_atomic_update()
334 if (finfo->num_planes == 1) in ingenic_ipu_plane_atomic_update()
340 if (finfo->num_planes > 2) in ingenic_ipu_plane_atomic_update()
341 stride = ((state->src_w >> 16) * finfo->cpp[2] / finfo->hsub) in ingenic_ipu_plane_atomic_update()
344 if (finfo->num_planes > 1) in ingenic_ipu_plane_atomic_update()
345 stride |= ((state->src_w >> 16) * finfo->cpp[1] / finfo->hsub) in ingenic_ipu_plane_atomic_update()
350 stride = ((state->src_w >> 16) * finfo->cpp[0]) << JZ_IPU_Y_STRIDE_Y_LSB; in ingenic_ipu_plane_atomic_update()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/
Dlio_vf_main.c806 struct octnet_buf_free_info *finfo; in free_netbuf() local
810 finfo = (struct octnet_buf_free_info *)buf; in free_netbuf()
811 skb = finfo->skb; in free_netbuf()
812 lio = finfo->lio; in free_netbuf()
814 dma_unmap_single(&lio->oct_dev->pci_dev->dev, finfo->dptr, skb->len, in free_netbuf()
826 struct octnet_buf_free_info *finfo; in free_netsgbuf() local
832 finfo = (struct octnet_buf_free_info *)buf; in free_netsgbuf()
833 skb = finfo->skb; in free_netsgbuf()
834 lio = finfo->lio; in free_netsgbuf()
835 g = finfo->g; in free_netsgbuf()
[all …]
Dlio_main.c1421 struct octnet_buf_free_info *finfo; in free_netbuf() local
1424 finfo = (struct octnet_buf_free_info *)buf; in free_netbuf()
1425 skb = finfo->skb; in free_netbuf()
1426 lio = finfo->lio; in free_netbuf()
1428 dma_unmap_single(&lio->oct_dev->pci_dev->dev, finfo->dptr, skb->len, in free_netbuf()
1440 struct octnet_buf_free_info *finfo; in free_netsgbuf() local
1446 finfo = (struct octnet_buf_free_info *)buf; in free_netsgbuf()
1447 skb = finfo->skb; in free_netsgbuf()
1448 lio = finfo->lio; in free_netsgbuf()
1449 g = finfo->g; in free_netsgbuf()
[all …]
Dlio_core.c196 struct octnet_buf_free_info *finfo; in octeon_update_tx_completion_counters() local
203 finfo = buf; in octeon_update_tx_completion_counters()
204 skb = finfo->skb; in octeon_update_tx_completion_counters()
223 struct octnet_buf_free_info *finfo; in octeon_report_sent_bytes_to_bql() local
231 finfo = buf; in octeon_report_sent_bytes_to_bql()
232 skb = finfo->skb; in octeon_report_sent_bytes_to_bql()
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/
Dfile.c32 struct finfo { struct
38 struct finfo *fi, in efi_open_file() argument
53 info_sz = sizeof(struct finfo); in efi_open_file()
159 struct finfo fi; in handle_cmdline_files()
/kernel/linux/linux-5.10/drivers/media/usb/ttusb-dec/
Dttusb_dec.c564 struct filter_info *finfo; in ttusb_dec_process_filter() local
573 finfo = list_entry(item, struct filter_info, filter_info_list); in ttusb_dec_process_filter()
574 if (finfo->stream_id == sid) { in ttusb_dec_process_filter()
575 filter = finfo->filter; in ttusb_dec_process_filter()
1050 struct filter_info *finfo; in ttusb_dec_start_sec_feed() local
1066 if (!(finfo = kmalloc(sizeof(struct filter_info), in ttusb_dec_start_sec_feed()
1070 finfo->stream_id = c[1]; in ttusb_dec_start_sec_feed()
1071 finfo->filter = dvbdmxfeed->filter; in ttusb_dec_start_sec_feed()
1074 list_add_tail(&finfo->filter_info_list, in ttusb_dec_start_sec_feed()
1079 dvbdmxfeed->priv = finfo; in ttusb_dec_start_sec_feed()
[all …]
/kernel/linux/linux-5.10/drivers/mtd/chips/
Djedec_probe.c2033 const struct amd_flash_info *finfo ) in jedec_match() argument
2050 mfr = (uint8_t)finfo->mfr_id; in jedec_match()
2051 id = (uint8_t)finfo->dev_id; in jedec_match()
2057 if (finfo->dev_id > 0xff) { in jedec_match()
2064 mfr = (uint16_t)finfo->mfr_id; in jedec_match()
2065 id = (uint16_t)finfo->dev_id; in jedec_match()
2068 mfr = (uint16_t)finfo->mfr_id; in jedec_match()
2069 id = (uint32_t)finfo->dev_id; in jedec_match()
2083 __func__, base, 1 << finfo->dev_size, base + (1 << finfo->dev_size) ); in jedec_match()
2084 if ( base + cfi_interleave(cfi) * ( 1 << finfo->dev_size ) > map->size ) { in jedec_match()
[all …]
/kernel/linux/linux-5.10/fs/nilfs2/
Drecovery.c328 struct nilfs_finfo *finfo; in nilfs_scan_dsync_log() local
330 finfo = nilfs_read_summary_info(nilfs, &bh, &offset, in nilfs_scan_dsync_log()
331 sizeof(*finfo)); in nilfs_scan_dsync_log()
332 if (unlikely(!finfo)) in nilfs_scan_dsync_log()
335 ino = le64_to_cpu(finfo->fi_ino); in nilfs_scan_dsync_log()
336 nblocks = le32_to_cpu(finfo->fi_nblocks); in nilfs_scan_dsync_log()
337 ndatablk = le32_to_cpu(finfo->fi_ndatablk); in nilfs_scan_dsync_log()
Dsegment.c499 struct nilfs_finfo *finfo; in nilfs_segctor_end_finfo() local
516 finfo = nilfs_segctor_map_segsum_entry(sci, &sci->sc_finfo_ptr, in nilfs_segctor_end_finfo()
517 sizeof(*finfo)); in nilfs_segctor_end_finfo()
518 finfo->fi_ino = cpu_to_le64(inode->i_ino); in nilfs_segctor_end_finfo()
519 finfo->fi_nblocks = cpu_to_le32(sci->sc_blk_cnt); in nilfs_segctor_end_finfo()
520 finfo->fi_ndatablk = cpu_to_le32(sci->sc_datablk_cnt); in nilfs_segctor_end_finfo()
521 finfo->fi_cno = cpu_to_le64(cno); in nilfs_segctor_end_finfo()
1557 struct nilfs_finfo *finfo = NULL; in nilfs_segctor_update_payload_blocknr() local
1573 if (!finfo) { in nilfs_segctor_update_payload_blocknr()
1574 finfo = nilfs_segctor_map_segsum_entry( in nilfs_segctor_update_payload_blocknr()
[all …]
/kernel/linux/linux-5.10/drivers/iommu/
Dexynos-iommu.c388 const struct sysmmu_fault_info *finfo, in show_fault_information() argument
394 dev_name(data->master), finfo->name, fault_addr); in show_fault_information()
408 const struct sysmmu_fault_info *finfo; in exynos_sysmmu_irq() local
419 finfo = sysmmu_faults; in exynos_sysmmu_irq()
424 finfo = sysmmu_v5_faults; in exynos_sysmmu_irq()
433 for (i = 0; i < n; i++, finfo++) in exynos_sysmmu_irq()
434 if (finfo->bit == itype) in exynos_sysmmu_irq()
440 fault_addr = readl(data->sfrbase + finfo->addr_reg); in exynos_sysmmu_irq()
441 show_fault_information(data, finfo, fault_addr); in exynos_sysmmu_irq()
445 data->master, fault_addr, finfo->type); in exynos_sysmmu_irq()
/kernel/linux/linux-5.10/drivers/hv/
Dhv_balloon.c143 } finfo; member
993 pg_start = dm->ha_wrk.ha_page_range.finfo.start_page; in hot_add_req()
994 pfn_cnt = dm->ha_wrk.ha_page_range.finfo.page_cnt; in hot_add_req()
996 rg_start = dm->ha_wrk.ha_region_range.finfo.start_page; in hot_add_req()
997 rg_sz = dm->ha_wrk.ha_region_range.finfo.page_cnt; in hot_add_req()
1191 int num_pages = range_array->finfo.page_cnt; in free_balloon_pages()
1192 __u64 start_frame = range_array->finfo.start_page; in free_balloon_pages()
1245 bl_resp->range_array[i].finfo.start_page = in alloc_balloon_pages()
1247 bl_resp->range_array[i].finfo.page_cnt = alloc_unit; in alloc_balloon_pages()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbpf.c220 void *finfo = NULL, *linfo = NULL; in bpf_load_program_xattr() local
279 while (errno == E2BIG && (!finfo || !linfo)) { in bpf_load_program_xattr()
280 if (!finfo && attr.func_info_cnt && in bpf_load_program_xattr()
283 finfo = alloc_zero_tailing_info(load_attr->func_info, in bpf_load_program_xattr()
287 if (!finfo) in bpf_load_program_xattr()
290 attr.func_info = ptr_to_u64(finfo); in bpf_load_program_xattr()
324 free(finfo); in bpf_load_program_xattr()
/kernel/linux/linux-5.10/tools/perf/util/
Dbpf-event.c128 const struct bpf_func_info *finfo; in synthesize_bpf_prog_name() local
137 finfo = func_infos + sub_id * info->func_info_rec_size; in synthesize_bpf_prog_name()
138 t = btf__type_by_id(btf, finfo->type_id); in synthesize_bpf_prog_name()
/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dbtf_dumper.c38 struct bpf_func_info *finfo; in dump_prog_id_as_func_ptr() local
70 finfo = u64_to_ptr(info->func_info); in dump_prog_id_as_func_ptr()
71 func_type = btf__type_by_id(prog_btf, finfo->type_id); in dump_prog_id_as_func_ptr()
/kernel/linux/linux-5.10/fs/hfs/
Dhfs.h136 struct hfs_finfo finfo; member
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dbtf.c4088 struct bpf_func_info *finfo; in do_test_file() local
4205 finfo = func_info; in do_test_file()
4210 t = btf__type_by_id(btf, finfo->type_id); in do_test_file()
4212 finfo->type_id)) { in do_test_file()
4229 finfo = (void *)finfo + rec_size; in do_test_file()
5793 struct bpf_func_info *finfo; in test_get_finfo() local
5850 finfo = func_info; in test_get_finfo()
5854 if (CHECK(finfo->type_id != test->func_info[i][1], in test_get_finfo()
5856 finfo->type_id, test->func_info[i][1])) { in test_get_finfo()
5860 finfo = (void *)finfo + rec_size; in test_get_finfo()
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/
Dvpe.c760 const struct v4l2_format_info *finfo; in set_dst_registers() local
763 finfo = v4l2_format_info(fmt->fourcc); in set_dst_registers()
764 if (v4l2_is_format_rgb(finfo)) { in set_dst_registers()
1604 const struct v4l2_format_info *finfo; in __vpe_try_fmt() local
1664 finfo = v4l2_format_info(fmt->fourcc); in __vpe_try_fmt()
1676 if (v4l2_is_format_rgb(finfo)) { in __vpe_try_fmt()

12