Home
last modified time | relevance | path

Searched refs:ext_data (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_create.c271 struct create_ext *ext_data) in set_placements() argument
273 struct drm_i915_private *i915 = ext_data->i915; in set_placements()
291 BUILD_BUG_ON(ARRAY_SIZE(ext_data->placements) != ARRAY_SIZE(placements)); in set_placements()
332 if (ext_data->n_placements) { in set_placements()
337 ext_data->n_placements = args->num_regions; in set_placements()
339 ext_data->placements[i] = placements[i]; in set_placements()
341 ext_data->placement_mask = mask; in set_placements()
348 if (ext_data->n_placements) { in set_placements()
351 ext_data->placements, in set_placements()
352 ext_data->n_placements); in set_placements()
[all …]
Di915_gem_context.c2254 struct create_ext ext_data; in i915_gem_context_create_ioctl() local
2268 ext_data.fpriv = file->driver_priv; in i915_gem_context_create_ioctl()
2269 if (client_is_banned(ext_data.fpriv)) { in i915_gem_context_create_ioctl()
2276 ext_data.pc = proto_context_create(i915, args->flags); in i915_gem_context_create_ioctl()
2277 if (IS_ERR(ext_data.pc)) in i915_gem_context_create_ioctl()
2278 return PTR_ERR(ext_data.pc); in i915_gem_context_create_ioctl()
2284 &ext_data); in i915_gem_context_create_ioctl()
2293 ret = xa_alloc(&ext_data.fpriv->context_xa, &id, NULL, in i915_gem_context_create_ioctl()
2298 ctx = i915_gem_create_context(i915, ext_data.pc); in i915_gem_context_create_ioctl()
2304 proto_context_close(i915, ext_data.pc); in i915_gem_context_create_ioctl()
[all …]
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_fdir.c951 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
966 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
968 input->ext_data.src_mac); in ice_fdir_get_gen_prgm_pkt()
981 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
992 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1059 input->ext_data.ether_type); in ice_fdir_get_gen_prgm_pkt()
1072 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1085 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1098 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
1109 ice_pkt_insert_mac_addr(loc, input->ext_data.dst_mac); in ice_fdir_get_gen_prgm_pkt()
Dice_fdir.h173 struct ice_fdir_extra ext_data; member
Dice_ethtool_fdir.c1747 memcpy(input->ext_data.usr_def, fsp->h_ext.data, in ice_set_fdir_input_set()
1748 sizeof(input->ext_data.usr_def)); in ice_set_fdir_input_set()
1749 input->ext_data.vlan_type = fsp->h_ext.vlan_etype; in ice_set_fdir_input_set()
1750 input->ext_data.vlan_tag = fsp->h_ext.vlan_tci; in ice_set_fdir_input_set()
Dice_virtchnl_fdir.c765 input->ext_data.ether_type = eth->h_proto; in ice_vc_fdir_parse_pattern()
1074 if (memcmp(&a->ext_data, &b->ext_data, sizeof(a->ext_data))) in ice_vc_fdir_comp_rules()
/linux-6.1.9/sound/soc/sof/
Dipc3.c556 void *ext_data; in ipc3_fw_parse_ext_data() local
559 ext_data = kzalloc(PAGE_SIZE, GFP_KERNEL); in ipc3_fw_parse_ext_data()
560 if (!ext_data) in ipc3_fw_parse_ext_data()
564 snd_sof_dsp_block_read(sdev, SOF_FW_BLK_TYPE_SRAM, offset, ext_data, in ipc3_fw_parse_ext_data()
566 ext_hdr = ext_data; in ipc3_fw_parse_ext_data()
572 (void *)((u8 *)ext_data + sizeof(*ext_hdr)), in ipc3_fw_parse_ext_data()
606 snd_sof_dsp_block_read(sdev, SOF_FW_BLK_TYPE_SRAM, offset, ext_data, in ipc3_fw_parse_ext_data()
608 ext_hdr = ext_data; in ipc3_fw_parse_ext_data()
611 kfree(ext_data); in ipc3_fw_parse_ext_data()
Dcompress.c231 memcpy((u8 *)pcm->params.ext_data, &params->codec, ext_data_size); in sof_compr_set_params()
/linux-6.1.9/drivers/infiniband/hw/erdma/
Derdma_cm.c351 iov[iovec_num].iov_base = &cep->mpa.ext_data; in erdma_send_mpareqrep()
352 iov[iovec_num].iov_len = sizeof(cep->mpa.ext_data); in erdma_send_mpareqrep()
354 mpa_len += sizeof(cep->mpa.ext_data); in erdma_send_mpareqrep()
462 (char *)&cep->mpa.ext_data, in erdma_recv_mpa_rr()
612 if (__mpa_ext_cc(cep->mpa.ext_data.bits) != qp->attrs.cc) in erdma_proc_mpareply()
724 cep->mpa.ext_data.cookie = cpu_to_be32(cep->qp->attrs.cookie); in erdma_newconn_connected()
725 __mpa_ext_set_cc(&cep->mpa.ext_data.bits, cep->qp->attrs.cc); in erdma_newconn_connected()
1197 if (qp->attrs.cc != __mpa_ext_cc(cep->mpa.ext_data.bits)) in erdma_accept()
1212 cep->mpa.ext_data.bits = 0; in erdma_accept()
1213 __mpa_ext_set_cc(&cep->mpa.ext_data.bits, qp->attrs.cc); in erdma_accept()
[all …]
Derdma_cm.h62 struct erdma_mpa_ext ext_data; member
Derdma_qp.c87 req.cookie = be32_to_cpu(qp->cep->mpa.ext_data.cookie); in erdma_modify_qp_state_to_rts()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_fdir.h95 struct iavf_fdir_extra ext_data; member
Diavf_fdir.c734 !memcmp(&tmp->ext_data, &fltr->ext_data, in iavf_fdir_is_dup_fltr()
735 sizeof(fltr->ext_data))) in iavf_fdir_is_dup_fltr()
Diavf_ethtool.c1049 memcpy(fsp->h_ext.data, fltr->ext_data.usr_def, sizeof(fsp->h_ext.data)); in iavf_fill_rx_flow_ext_data()
1263 memcpy(fltr->ext_data.usr_def, fsp->h_ext.data, in iavf_add_fdir_fltr_info()
1264 sizeof(fltr->ext_data.usr_def)); in iavf_add_fdir_fltr_info()
/linux-6.1.9/include/sound/sof/
Dstream.h93 uint8_t ext_data[]; /**< extended data */ member
/linux-6.1.9/tools/lib/bpf/
Dlinker.c2410 static void *add_btf_ext_rec(struct btf_ext_sec_data *ext_data, const void *src_rec) in add_btf_ext_rec() argument
2414 tmp = libbpf_reallocarray(ext_data->recs, ext_data->rec_cnt + 1, ext_data->rec_sz); in add_btf_ext_rec()
2417 ext_data->recs = tmp; in add_btf_ext_rec()
2419 tmp += ext_data->rec_cnt * ext_data->rec_sz; in add_btf_ext_rec()
2420 memcpy(tmp, src_rec, ext_data->rec_sz); in add_btf_ext_rec()
2422 ext_data->rec_cnt++; in add_btf_ext_rec()