Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/x86/
H A Damx.c684 pthread_mutex_lock(&finfo->mutex); in check_tiledata()
712 return finfo; in check_tiledata()
722 finfo[i].nr = i; in create_threads()
729 pthread_mutex_lock(&finfo[i].mutex); in create_threads()
732 finfo[i].next = &finfo[next_nr]; in create_threads()
734 if (pthread_create(&finfo[i].thread, NULL, check_tiledata, &finfo[i])) in create_threads()
753 struct futex_info *finfo; in test_context_switch() local
766 finfo = malloc(sizeof(*finfo) * ctxtswtest_config.num_threads); in test_context_switch()
767 if (!finfo) in test_context_switch()
795 if (thread_retval != &finfo[i]) in test_context_switch()
[all …]
/linux/fs/netfs/
H A Dbuffered_write.c144 struct netfs_folio *finfo; in netfs_perform_write() local
263 if (finfo) { in netfs_perform_write()
282 if (!finfo) { in netfs_perform_write()
296 finfo = kzalloc(sizeof(*finfo), GFP_KERNEL); in netfs_perform_write()
297 if (!finfo) { in netfs_perform_write()
304 finfo->dirty_len = copied; in netfs_perform_write()
315 if (offset == finfo->dirty_offset + finfo->dirty_len) { in netfs_perform_write()
319 finfo->dirty_len += copied; in netfs_perform_write()
320 if (finfo->dirty_offset == 0 && finfo->dirty_len == flen) { in netfs_perform_write()
321 if (finfo->netfs_group) in netfs_perform_write()
[all …]
H A Dmisc.c225 struct netfs_folio *finfo; in netfs_invalidate_folio() local
245 finfo = netfs_folio_info(folio); in netfs_invalidate_folio()
250 if (finfo) { in netfs_invalidate_folio()
252 unsigned int fstart = finfo->dirty_offset; in netfs_invalidate_folio()
253 unsigned int fend = fstart + finfo->dirty_len; in netfs_invalidate_folio()
269 finfo->dirty_len = fend - iend; in netfs_invalidate_folio()
270 finfo->dirty_offset = offset; in netfs_invalidate_folio()
278 finfo->dirty_len = offset - fstart; in netfs_invalidate_folio()
292 kfree(finfo); in netfs_invalidate_folio()
H A Dwrite_collect.c33 struct netfs_folio *finfo; in netfs_folio_written_back() local
37 if ((finfo = netfs_folio_info(folio))) { in netfs_folio_written_back()
43 fend = folio_pos(folio) + finfo->dirty_offset + finfo->dirty_len; in netfs_folio_written_back()
48 group = finfo->netfs_group; in netfs_folio_written_back()
50 kfree(finfo); in netfs_folio_written_back()
103 struct netfs_folio *finfo; in netfs_writeback_unlock_folios() local
115 finfo = netfs_folio_info(folio); in netfs_writeback_unlock_folios()
116 flen = finfo ? finfo->dirty_offset + finfo->dirty_len : fsize; in netfs_writeback_unlock_folios()
H A Dwrite_issue.c52 struct netfs_folio *finfo = NULL; in netfs_kill_dirty_pages() local
57 finfo = __netfs_folio_info(priv); in netfs_kill_dirty_pages()
58 if (finfo) { in netfs_kill_dirty_pages()
60 group = finfo->netfs_group; in netfs_kill_dirty_pages()
82 kfree(finfo); in netfs_kill_dirty_pages()
319 struct netfs_folio *finfo; in netfs_write_folio() local
349 finfo = netfs_folio_info(folio); in netfs_write_folio()
350 if (finfo) { in netfs_write_folio()
351 foff = finfo->dirty_offset; in netfs_write_folio()
352 flen = foff + finfo->dirty_len; in netfs_write_folio()
H A Dread_collect.c39 struct netfs_folio *finfo; in netfs_unlock_read_folio() local
46 finfo = netfs_folio_info(folio); in netfs_unlock_read_folio()
47 if (finfo) { in netfs_unlock_read_folio()
49 if (finfo->netfs_group) in netfs_unlock_read_folio()
50 folio_change_private(folio, finfo->netfs_group); in netfs_unlock_read_folio()
53 kfree(finfo); in netfs_unlock_read_folio()
/linux/tools/testing/selftests/mm/
H A Dkhugepaged.c74 static struct file_info finfo; variable
136 finfo.dir = dir; in get_finfo()
142 if (snprintf(finfo.path, sizeof(finfo.path), "%s/" TEST_FILE, in get_finfo()
143 finfo.dir) >= sizeof(finfo.path)) { in get_finfo()
392 finfo.fd = open(finfo.path, O_RDONLY, 777); in file_setup_area()
393 if (finfo.fd < 0) { in file_setup_area()
413 close(finfo.fd); in file_cleanup_area()
414 unlink(finfo.path); in file_cleanup_area()
427 switch (finfo.type) { in file_check_huge()
444 if (finfo.fd < 0) { in shmem_setup_area()
[all …]
/linux/drivers/fpga/
H A Ddfl.c823 finfo->params, finfo->param_size, in build_info_commit_dev()
849 if (finfo->nr_irqs) { in build_info_commit_dev()
864 kfree(finfo); in build_info_commit_dev()
934 kfree(finfo); in build_info_free()
1015 u16 fid = finfo->fid; in parse_feature_irqs()
1073 finfo->irq_base = 0; in parse_feature_irqs()
1074 finfo->nr_irqs = 0; in parse_feature_irqs()
1098 finfo->nr_irqs = inr; in parse_feature_irqs()
1170 if (!finfo) in create_feature_instance()
1176 finfo->fid = fid; in create_feature_instance()
[all …]
/linux/drivers/hid/usbhid/
H A Dhiddev.c601 struct hiddev_field_info finfo; in hiddev_ioctl() local
749 if (copy_from_user(&finfo, user_arg, sizeof(finfo))) { in hiddev_ioctl()
755 rinfo.report_id = finfo.report_id; in hiddev_ioctl()
763 finfo.field_index = array_index_nospec(finfo.field_index, in hiddev_ioctl()
767 memset(&finfo, 0, sizeof(finfo)); in hiddev_ioctl()
771 finfo.maxusage = field->maxusage; in hiddev_ioctl()
772 finfo.flags = field->flags; in hiddev_ioctl()
773 finfo.physical = field->physical; in hiddev_ioctl()
774 finfo.logical = field->logical; in hiddev_ioctl()
781 finfo.unit = field->unit; in hiddev_ioctl()
[all …]
/linux/drivers/gpu/drm/tidss/
H A Dtidss_plane.c31 const struct drm_format_info *finfo; in tidss_plane_atomic_check() local
72 finfo = drm_format_info(new_plane_state->fb->format->format); in tidss_plane_atomic_check()
74 if ((new_plane_state->src_x >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check()
77 __func__, (new_plane_state->src_x >> 16), finfo->hsub); in tidss_plane_atomic_check()
81 if ((new_plane_state->src_y >> 16) % finfo->vsub != 0) { in tidss_plane_atomic_check()
84 __func__, (new_plane_state->src_y >> 16), finfo->vsub); in tidss_plane_atomic_check()
88 if ((new_plane_state->src_w >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check()
92 finfo->hsub); in tidss_plane_atomic_check()
/linux/net/ipv6/
H A Dseg6_local.c338 return finfo->lcblock_bits >> 3; in seg6_flv_lcblock_octects()
343 return finfo->lcnode_func_bits >> 3; in seg6_flv_lcnode_func_octects()
755 flvmask = finfo->flv_ops; in end_flv8986_core()
796 __u32 fops = finfo->flv_ops; in input_action_end()
817 __u32 fops = finfo->flv_ops; in input_action_end_x()
2109 struct seg6_flavors_info *finfo, in seg6_parse_nla_next_csid_cfg() argument
2129 finfo->lcblock_bits = block_len; in seg6_parse_nla_next_csid_cfg()
2130 finfo->lcnode_func_bits = func_len; in seg6_parse_nla_next_csid_cfg()
2163 finfo->flv_ops = fops; in parse_nla_flavors()
2185 finfo->lcnode_func_bits)) in seg6_fill_nla_next_csid_cfg()
[all …]
/linux/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_symbol.c106 if (symbol->info.finfo != NULL) { in symbol_delete()
107 symlist_free(&symbol->info.finfo->symrefs); in symbol_delete()
108 free(symbol->info.finfo); in symbol_delete()
260 && (curnode->symbol->info.finfo->value > in symlist_add()
261 newnode->symbol->info.finfo->value)))) in symlist_add()
280 && (cursymbol->info.finfo->value > in symlist_add()
281 symbol->info.finfo->value)))) in symlist_add()
456 curnode->symbol->info.finfo->value, in aic_print_reg_dump_entry()
457 curnode->symbol->info.finfo->mask); in aic_print_reg_dump_entry()
583 regnode = SLIST_FIRST(&curnode->symbol->info.finfo->symrefs); in symtable_dump()
[all …]
H A Daicasm_gram.y710 $$.value = symbol->info.finfo->value;
1433 sym->info.finfo->value = value;
1439 sym->info.finfo->value = value;
1440 sym->info.finfo->mask = value;
1442 sym->info.finfo->mask = field_symbol->info.finfo->value;
1444 sym->info.finfo->mask = 0xFF;
1450 } else if (value != sym->info.finfo->value) {
1455 if (symlist_search(&(sym->info.finfo->symrefs),
1513 symbol->info.finfo = in initialize_symbol()
1515 if (symbol->info.finfo == NULL) { in initialize_symbol()
[all …]
/linux/drivers/firmware/efi/libstub/
H A Dfile.c32 struct finfo { struct
38 struct finfo *fi, in efi_open_file() argument
61 info_sz = sizeof(struct finfo); in efi_open_file()
129 struct finfo *fi) in efi_open_device_path()
213 struct finfo fi; in handle_cmdline_files()
/linux/drivers/gpu/drm/ingenic/
H A Dingenic-ipu.c329 const struct drm_format_info *finfo; in ingenic_ipu_plane_atomic_update() local
342 finfo = drm_format_info(newstate->fb->format->format); in ingenic_ipu_plane_atomic_update()
369 if (finfo->num_planes > 1) in ingenic_ipu_plane_atomic_update()
372 if (finfo->num_planes > 2) in ingenic_ipu_plane_atomic_update()
384 if (finfo->num_planes == 1) in ingenic_ipu_plane_atomic_update()
390 if (finfo->num_planes > 2) in ingenic_ipu_plane_atomic_update()
391 stride = ((newstate->src_w >> 16) * finfo->cpp[2] / finfo->hsub) in ingenic_ipu_plane_atomic_update()
394 if (finfo->num_planes > 1) in ingenic_ipu_plane_atomic_update()
395 stride |= ((newstate->src_w >> 16) * finfo->cpp[1] / finfo->hsub) in ingenic_ipu_plane_atomic_update()
407 switch (finfo->format) { in ingenic_ipu_plane_atomic_update()
[all …]
/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_vf_main.c807 skb = finfo->skb; in free_netbuf()
808 lio = finfo->lio; in free_netbuf()
829 skb = finfo->skb; in free_netsgbuf()
830 lio = finfo->lio; in free_netsgbuf()
831 g = finfo->g; in free_netsgbuf()
874 lio = finfo->lio; in free_netsgbuf_with_resp()
875 g = finfo->g; in free_netsgbuf_with_resp()
1317 lio = finfo->lio; in handle_timestamp()
1318 sc = finfo->sc; in handle_timestamp()
1365 finfo->sc = sc; in send_nic_timestamp_pkt()
[all …]
H A Dlio_main.c1411 skb = finfo->skb; in free_netbuf()
1412 lio = finfo->lio; in free_netbuf()
1433 skb = finfo->skb; in free_netsgbuf()
1434 lio = finfo->lio; in free_netsgbuf()
1435 g = finfo->g; in free_netsgbuf()
1477 lio = finfo->lio; in free_netsgbuf_with_resp()
1478 g = finfo->g; in free_netsgbuf_with_resp()
2199 lio = finfo->lio; in handle_timestamp()
2200 sc = finfo->sc; in handle_timestamp()
2249 finfo->sc = sc; in send_nic_timestamp_pkt()
[all …]
/linux/drivers/media/usb/ttusb-dec/
H A Dttusb_dec.c562 struct filter_info *finfo; in ttusb_dec_process_filter() local
572 if (finfo->stream_id == sid) { in ttusb_dec_process_filter()
573 filter = finfo->filter; in ttusb_dec_process_filter()
1048 struct filter_info *finfo; in ttusb_dec_start_sec_feed() local
1068 finfo->stream_id = c[1]; in ttusb_dec_start_sec_feed()
1077 dvbdmxfeed->priv = finfo; in ttusb_dec_start_sec_feed()
1135 b0[1] = finfo->stream_id; in ttusb_dec_stop_sec_feed()
1137 list_del(&finfo->filter_info_list); in ttusb_dec_stop_sec_feed()
1139 kfree(finfo); in ttusb_dec_stop_sec_feed()
1615 struct filter_info *finfo; in ttusb_dec_exit_filters() local
[all …]
/linux/drivers/mtd/chips/
H A Djedec_probe.c2051 mfr = (uint8_t)finfo->mfr_id; in jedec_match()
2052 id = (uint8_t)finfo->dev_id; in jedec_match()
2058 if (finfo->dev_id > 0xff) { in jedec_match()
2065 mfr = (uint16_t)finfo->mfr_id; in jedec_match()
2066 id = (uint16_t)finfo->dev_id; in jedec_match()
2069 mfr = (uint16_t)finfo->mfr_id; in jedec_match()
2070 id = (uint32_t)finfo->dev_id; in jedec_match()
2084 __func__, base, 1 << finfo->dev_size, base + (1 << finfo->dev_size) ); in jedec_match()
2087 __func__, finfo->mfr_id, finfo->dev_id, in jedec_match()
2088 1 << finfo->dev_size ); in jedec_match()
[all …]
/linux/drivers/net/wireless/realtek/rtw89/
H A Dcoex.c1342 prpt = &pfwinfo->rpt_ctrl.finfo; in _chk_btc_report()
1344 pfinfo = &pfwinfo->rpt_ctrl.finfo.v1; in _chk_btc_report()
1347 pfinfo = &pfwinfo->rpt_ctrl.finfo.v4; in _chk_btc_report()
1350 pfinfo = &pfwinfo->rpt_ctrl.finfo.v5; in _chk_btc_report()
1358 pfinfo = &pfwinfo->rpt_ctrl.finfo.v8; in _chk_btc_report()
1362 pfinfo = &pfwinfo->rpt_ctrl.finfo.v7; in _chk_btc_report()
1564 prpt->v1 = pfwinfo->rpt_ctrl.finfo.v1; in _chk_btc_report()
1584 prpt->v4 = pfwinfo->rpt_ctrl.finfo.v4; in _chk_btc_report()
1616 prpt->v5 = pfwinfo->rpt_ctrl.finfo.v5; in _chk_btc_report()
8900 t = &pfwinfo->rpt_fbtc_tdma.finfo.v1; in _show_fbtc_tdma()
[all …]
/linux/include/linux/
H A Dnetfs.h117 struct netfs_folio *finfo; in netfs_folio_group() local
120 finfo = netfs_folio_info(folio); in netfs_folio_group()
121 if (finfo) in netfs_folio_group()
122 return finfo->netfs_group; in netfs_folio_group()
/linux/drivers/gpu/drm/
H A Ddrm_fb_dma_helper.c125 const struct drm_format_info *finfo = state->fb->format; in drm_fb_dma_sync_non_coherent() local
133 for (i = 0; i < finfo->num_planes; i++) { in drm_fb_dma_sync_non_coherent()
/linux/fs/nilfs2/
H A 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()
/linux/drivers/media/i2c/
H A Dds90ub913.c410 const struct ub913_format_info *finfo; in ub913_set_fmt() local
420 finfo = ub913_find_format(format->format.code); in ub913_set_fmt()
421 if (!finfo) { in ub913_set_fmt()
422 finfo = &ub913_formats[0]; in ub913_set_fmt()
423 format->format.code = finfo->incode; in ub913_set_fmt()
439 format->format.code = finfo->outcode; in ub913_set_fmt()
/linux/drivers/hv/
H A Dhv_balloon.c142 } finfo; member
980 pg_start = dm->ha_wrk.ha_page_range.finfo.start_page; in hot_add_req()
981 pfn_cnt = dm->ha_wrk.ha_page_range.finfo.page_cnt; in hot_add_req()
983 rg_start = dm->ha_wrk.ha_region_range.finfo.start_page; in hot_add_req()
984 rg_sz = dm->ha_wrk.ha_region_range.finfo.page_cnt; in hot_add_req()
1183 int num_pages = range_array->finfo.page_cnt; in free_balloon_pages()
1184 __u64 start_frame = range_array->finfo.start_page; in free_balloon_pages()
1238 bl_resp->range_array[i].finfo.start_page = in alloc_balloon_pages()
1240 bl_resp->range_array[i].finfo.page_cnt = alloc_unit; in alloc_balloon_pages()

12