Home
last modified time | relevance | path

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

12

/linux/tools/testing/selftests/x86/
H A Dxstate.c112 struct futex_info *finfo = (struct futex_info *)info; in check_xstate() local
125 finfo->valid = true; in check_xstate()
127 for (i = 0; i < finfo->iterations; i++) { in check_xstate()
128 pthread_mutex_lock(&finfo->mutex); in check_xstate()
135 if (finfo->valid) { in check_xstate()
136 finfo->valid = validate_xregs_same(xbuf); in check_xstate()
148 pthread_mutex_unlock(&finfo->next->mutex); in check_xstate()
152 return finfo; in check_xstate()
155 static void create_threads(uint32_t num_threads, uint32_t iterations, struct futex_info *finfo) in create_threads() argument
162 finfo[ in create_threads()
180 checkout_threads(uint32_t num_threads,struct futex_info * finfo) checkout_threads() argument
215 struct futex_info *finfo; test_context_switch() local
[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()
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, in hiddev_ioctl()
[all...]
/linux/drivers/gpu/drm/tidss/
H A Dtidss_plane.c39 const struct drm_format_info *finfo; in tidss_plane_atomic_check() local
80 finfo = drm_format_info(new_plane_state->fb->format->format); in tidss_plane_atomic_check()
82 if ((new_plane_state->src_x >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check()
85 __func__, (new_plane_state->src_x >> 16), finfo->hsub); in tidss_plane_atomic_check()
89 if ((new_plane_state->src_y >> 16) % finfo->vsub != 0) { in tidss_plane_atomic_check()
92 __func__, (new_plane_state->src_y >> 16), finfo->vsub); in tidss_plane_atomic_check()
96 if ((new_plane_state->src_w >> 16) % finfo->hsub != 0) { in tidss_plane_atomic_check()
100 finfo->hsub); in tidss_plane_atomic_check()
/linux/fs/netfs/
H A Dwrite_collect.c61 struct netfs_folio *finfo; in netfs_folio_written_back() local
65 if ((finfo = netfs_folio_info(folio))) { in netfs_folio_written_back()
71 fend = folio_pos(folio) + finfo->dirty_offset + finfo->dirty_len; in netfs_folio_written_back()
76 group = finfo->netfs_group; in netfs_folio_written_back()
78 kfree(finfo); in netfs_folio_written_back()
139 struct netfs_folio *finfo; in netfs_writeback_unlock_folios() local
151 finfo = netfs_folio_info(folio); in netfs_writeback_unlock_folios()
152 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()
328 struct netfs_folio *finfo; in netfs_write_folio() local
361 finfo = netfs_folio_info(folio); in netfs_write_folio()
362 if (finfo) { in netfs_write_folio()
363 foff = finfo->dirty_offset; in netfs_write_folio()
364 flen = foff + finfo->dirty_len; in netfs_write_folio()
H A Dread_collect.c46 struct netfs_folio *finfo; in netfs_unlock_read_folio() local
58 finfo = netfs_folio_info(folio); in netfs_unlock_read_folio()
59 if (finfo) { in netfs_unlock_read_folio()
61 if (finfo->netfs_group) in netfs_unlock_read_folio()
62 folio_change_private(folio, finfo->netfs_group); in netfs_unlock_read_folio()
65 kfree(finfo); in netfs_unlock_read_folio()
/linux/net/ipv6/
H A Dseg6_local.c339 static __u8 seg6_flv_lcblock_octects(const struct seg6_flavors_info *finfo) in seg6_flv_lcblock_octects() argument
341 return finfo->lcblock_bits >> 3; in seg6_flv_lcblock_octects()
344 static __u8 seg6_flv_lcnode_func_octects(const struct seg6_flavors_info *finfo) in seg6_flv_lcnode_func_octects() argument
346 return finfo->lcnode_func_bits >> 3; in seg6_flv_lcnode_func_octects()
350 const struct seg6_flavors_info *finfo) in seg6_next_csid_is_arg_zero() argument
352 __u8 fnc_octects = seg6_flv_lcnode_func_octects(finfo); in seg6_next_csid_is_arg_zero()
353 __u8 blk_octects = seg6_flv_lcblock_octects(finfo); in seg6_next_csid_is_arg_zero()
368 const struct seg6_flavors_info *finfo) in seg6_next_csid_advance_arg() argument
370 __u8 fnc_octects = seg6_flv_lcnode_func_octects(finfo); in seg6_next_csid_advance_arg()
371 __u8 blk_octects = seg6_flv_lcblock_octects(finfo); in seg6_next_csid_advance_arg()
409 const struct seg6_flavors_info *finfo = &slwt->flv_info; end_next_csid_core() local
450 const struct seg6_flavors_info *finfo = &slwt->flv_info; end_x_next_csid_core() local
744 const struct seg6_flavors_info *finfo = &slwt->flv_info; end_flv8986_core() local
798 const struct seg6_flavors_info *finfo = &slwt->flv_info; input_action_end() local
819 const struct seg6_flavors_info *finfo = &slwt->flv_info; input_action_end_x() local
2111 seg6_parse_nla_next_csid_cfg(struct nlattr ** tb,struct seg6_flavors_info * finfo,struct netlink_ext_ack * extack) seg6_parse_nla_next_csid_cfg() argument
2140 struct seg6_flavors_info *finfo = &slwt->flv_info; parse_nla_flavors() local
2181 seg6_fill_nla_next_csid_cfg(struct sk_buff * skb,struct seg6_flavors_info * finfo) seg6_fill_nla_next_csid_cfg() argument
2195 struct seg6_flavors_info *finfo = &slwt->flv_info; put_nla_flavors() local
2252 struct seg6_flavors_info *finfo = &slwt->flv_info; encap_size_flavors() local
[all...]
/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 in ingenic_ipu_plane_atomic_update()
[all...]
/linux/drivers/net/ethernet/cavium/liquidio/
H A Dlio_vf_main.c802 struct octnet_buf_free_info *finfo; in free_netbuf() local
806 finfo = (struct octnet_buf_free_info *)buf; in free_netbuf()
807 skb = finfo->skb; in free_netbuf()
808 lio = finfo->lio; in free_netbuf()
810 dma_unmap_single(&lio->oct_dev->pci_dev->dev, finfo->dptr, skb->len, in free_netbuf()
822 struct octnet_buf_free_info *finfo; in free_netsgbuf() local
828 finfo = (struct octnet_buf_free_info *)buf; in free_netsgbuf()
829 skb = finfo->skb; in free_netsgbuf()
830 lio = finfo->lio; in free_netsgbuf()
831 g = finfo in free_netsgbuf()
863 struct octnet_buf_free_info *finfo; free_netsgbuf_with_resp() local
1311 struct octnet_buf_free_info *finfo; handle_timestamp() local
1352 send_nic_timestamp_pkt(struct octeon_device * oct,struct octnic_data_pkt * ndata,struct octnet_buf_free_info * finfo,int xmit_more) send_nic_timestamp_pkt() argument
1408 struct octnet_buf_free_info *finfo; liquidio_xmit() local
[all...]
H A Dlio_main.c1407 struct octnet_buf_free_info *finfo; in free_netbuf() local
1410 finfo = (struct octnet_buf_free_info *)buf; in free_netbuf()
1411 skb = finfo->skb; in free_netbuf()
1412 lio = finfo->lio; in free_netbuf()
1414 dma_unmap_single(&lio->oct_dev->pci_dev->dev, finfo->dptr, skb->len, in free_netbuf()
1426 struct octnet_buf_free_info *finfo; in free_netsgbuf() local
1432 finfo = (struct octnet_buf_free_info *)buf; in free_netsgbuf()
1433 skb = finfo->skb; in free_netsgbuf()
1434 lio = finfo->lio; in free_netsgbuf()
1435 g = finfo in free_netsgbuf()
1467 struct octnet_buf_free_info *finfo; free_netsgbuf_with_resp() local
2192 struct octnet_buf_free_info *finfo; handle_timestamp() local
2236 send_nic_timestamp_pkt(struct octeon_device * oct,struct octnic_data_pkt * ndata,struct octnet_buf_free_info * finfo,int xmit_more) send_nic_timestamp_pkt() argument
2299 struct octnet_buf_free_info *finfo; liquidio_xmit() local
[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()
232 struct finfo fi; in handle_cmdline_files()
/linux/drivers/scsi/aic7xxx/aicasm/
H A 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
[all...]
H A Daicasm_symbol.h130 struct field_info *finfo; member
/linux/drivers/mtd/chips/
H A Djedec_probe.c2034 const struct amd_flash_info *finfo ) in jedec_match() argument
2051 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 in jedec_match()
[all...]
/linux/drivers/media/platform/synopsys/hdmirx/
H A Dsnps_hdmirx.c1190 const struct v4l2_format_info *finfo; in hdmirx_set_fmt() local
1195 finfo = v4l2_format_info(pixm->pixelformat); in hdmirx_set_fmt()
1196 if (!finfo) { in hdmirx_set_fmt()
1197 finfo = v4l2_format_info(V4L2_PIX_FMT_BGR24); in hdmirx_set_fmt()
1200 __func__, pixm->pixelformat, finfo->format); in hdmirx_set_fmt()
1207 pixm->pixelformat = finfo->format; in hdmirx_set_fmt()
1210 pixm->num_planes = finfo->mem_planes; in hdmirx_set_fmt()
1222 v4l2_fill_pixfmt_mp(pixm, finfo->format, pixm->width, pixm->height); in hdmirx_set_fmt()
1224 for (i = 0; i < finfo->comp_planes; i++) { in hdmirx_set_fmt()
1233 width = pixm->width / finfo in hdmirx_set_fmt()
1913 const struct v4l2_format_info *finfo = stream->out_finfo; hdmirx_vb_done() local
[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.c127 const struct drm_format_info *finfo = state->fb->format; in drm_fb_dma_sync_non_coherent() local
135 for (i = 0; i < finfo->num_planes; i++) { in drm_fb_dma_sync_non_coherent()
/linux/fs/nilfs2/
H A Drecovery.c352 struct nilfs_finfo *finfo; in nilfs_scan_dsync_log() local
354 finfo = nilfs_read_summary_info(nilfs, &bh, &offset, in nilfs_scan_dsync_log()
355 sizeof(*finfo)); in nilfs_scan_dsync_log()
356 if (unlikely(!finfo)) in nilfs_scan_dsync_log()
359 ino = le64_to_cpu(finfo->fi_ino); in nilfs_scan_dsync_log()
360 nblocks = le32_to_cpu(finfo->fi_nblocks); in nilfs_scan_dsync_log()
361 ndatablk = le32_to_cpu(finfo->fi_ndatablk); in nilfs_scan_dsync_log()
H A Dsegment.c490 /* Size of finfo and binfo is enough small against blocksize */ in nilfs_segctor_segsum_block_required()
508 /* skip finfo */ in nilfs_segctor_begin_finfo()
514 struct nilfs_finfo *finfo; in nilfs_segctor_end_finfo() local
531 finfo = nilfs_segctor_map_segsum_entry(sci, &sci->sc_finfo_ptr, in nilfs_segctor_end_finfo()
532 sizeof(*finfo)); in nilfs_segctor_end_finfo()
533 finfo->fi_ino = cpu_to_le64(inode->i_ino); in nilfs_segctor_end_finfo()
534 finfo->fi_nblocks = cpu_to_le32(sci->sc_blk_cnt); in nilfs_segctor_end_finfo()
535 finfo->fi_ndatablk = cpu_to_le32(sci->sc_datablk_cnt); in nilfs_segctor_end_finfo()
536 finfo->fi_cno = cpu_to_le64(cno); in nilfs_segctor_end_finfo()
1606 struct nilfs_finfo *finfo in nilfs_segctor_update_payload_blocknr() local
[all...]
/linux/drivers/hv/
H A Dhv_balloon.c142 } finfo; member
982 pg_start = dm->ha_wrk.ha_page_range.finfo.start_page; in hot_add_req()
983 pfn_cnt = dm->ha_wrk.ha_page_range.finfo.page_cnt; in hot_add_req()
985 rg_start = dm->ha_wrk.ha_region_range.finfo.start_page; in hot_add_req()
986 rg_sz = dm->ha_wrk.ha_region_range.finfo.page_cnt; in hot_add_req()
1185 int num_pages = range_array->finfo.page_cnt; in free_balloon_pages()
1186 __u64 start_frame = range_array->finfo.start_page; in free_balloon_pages()
1242 bl_resp->range_array[i].finfo.start_page = in alloc_balloon_pages()
1244 bl_resp->range_array[i].finfo.page_cnt = alloc_unit; in alloc_balloon_pages()
/linux/drivers/media/i2c/
H A Dds90ub913.c437 const struct ub913_format_info *finfo; in ub913_set_fmt() local
447 finfo = ub913_find_format(format->format.code); in ub913_set_fmt()
448 if (!finfo) { in ub913_set_fmt()
449 finfo = &ub913_formats[0]; in ub913_set_fmt()
450 format->format.code = finfo->incode; in ub913_set_fmt()
468 fmt->code = finfo->outcode; in ub913_set_fmt()
/linux/tools/bpf/bpftool/
H A Dcommon.c416 struct bpf_func_info finfo = {}; in get_prog_full_name() local
430 if (info.func_info_rec_size > sizeof(finfo)) in get_prog_full_name()
431 info.func_info_rec_size = sizeof(finfo); in get_prog_full_name()
432 info.func_info = ptr_to_u64(&finfo); in get_prog_full_name()
441 func_type = btf__type_by_id(prog_btf, finfo.type_id); in get_prog_full_name()
/linux/drivers/gpu/drm/bridge/imx/
H A Dimx8qm-ldb.c316 const struct drm_format_info *finfo; in imx8qm_ldb_bridge_atomic_get_input_bus_fmts() local
337 finfo = drm_format_info(di->bus_formats[0]); in imx8qm_ldb_bridge_atomic_get_input_bus_fmts()
339 input_fmts[0] = finfo->depth == 18 ? in imx8qm_ldb_bridge_atomic_get_input_bus_fmts()
H A Dimx8qxp-ldb.c318 const struct drm_format_info *finfo; in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts() local
339 finfo = drm_format_info(di->bus_formats[0]); in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
341 input_fmts[0] = finfo->depth == 18 ? in imx8qxp_ldb_bridge_atomic_get_input_bus_fmts()
/linux/tools/lib/bpf/
H A Dbpf.c242 void *finfo = NULL, *linfo = NULL; in bpf_prog_load() local
331 while (errno == E2BIG && (!finfo || !linfo)) { in bpf_prog_load()
332 if (!finfo && attr.func_info_cnt && in bpf_prog_load()
335 finfo = alloc_zero_tailing_info(func_info, in bpf_prog_load()
339 if (!finfo) { in bpf_prog_load()
344 attr.func_info = ptr_to_u64(finfo); in bpf_prog_load()
383 free(finfo); in bpf_prog_load()

12