Home
last modified time | relevance | path

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

12

/openbmc/linux/tools/perf/util/
H A Dexpr.c101 struct expr_id_data *data_ptr = NULL, *old_data = NULL; in ids__insert() local
105 ret = hashmap__set(ids, id, data_ptr, &old_key, &old_data); in ids__insert()
109 free(old_data); in ids__insert()
118 struct expr_id_data *old_data = NULL; in ids__union() local
134 ret = hashmap__set(ids1, cur->key, cur->value, &old_key, &old_data); in ids__union()
136 free(old_data); in ids__union()
164 struct expr_id_data *data_ptr = NULL, *old_data = NULL; in expr__add_id_val_source_count() local
175 ret = hashmap__set(ctx->ids, id, data_ptr, &old_key, &old_data); in expr__add_id_val_source_count()
179 free(old_data); in expr__add_id_val_source_count()
185 struct expr_id_data *data_ptr = NULL, *old_data = NULL; in expr__add_ref() local
[all …]
/openbmc/qemu/hw/intc/
H A Dloongarch_extioi.c190 int cpu, index, old_data, irq; in extioi_writew() local
212 old_data = s->enable[index]; in extioi_writew()
216 val = s->enable[index] & ~old_data; in extioi_writew()
220 val = ~s->enable[index] & old_data; in extioi_writew()
232 old_data = s->cpu[cpu].coreisr[index]; in extioi_writew()
233 s->cpu[cpu].coreisr[index] = old_data & ~val; in extioi_writew()
235 old_data &= val; in extioi_writew()
236 irq = ctz32(old_data); in extioi_writew()
239 old_data &= ~(1 << irq); in extioi_writew()
240 irq = ctz32(old_data); in extioi_writew()
/openbmc/linux/arch/s390/kvm/
H A Dguestdbg.c182 wp_info->old_data = NULL; in __import_wp_info()
187 wp_info->old_data = kmalloc(bp_data->len, GFP_KERNEL_ACCOUNT); in __import_wp_info()
188 if (!wp_info->old_data) in __import_wp_info()
191 ret = read_guest_abs(vcpu, wp_info->phys_addr, wp_info->old_data, in __import_wp_info()
194 kfree(wp_info->old_data); in __import_wp_info()
195 wp_info->old_data = NULL; in __import_wp_info()
289 kfree(hw_wp_info->old_data); in kvm_s390_clear_bp_data()
290 hw_wp_info->old_data = NULL; in kvm_s390_clear_bp_data()
349 if (!wp_info || !wp_info->old_data || wp_info->len <= 0) in any_wp_changed()
359 if (memcmp(temp, wp_info->old_data, wp_info->len)) { in any_wp_changed()
/openbmc/linux/net/mac80211/
H A Dlink.c191 struct ieee80211_link_data *old_data[IEEE80211_MLD_MAX_NUM_LINKS]; in ieee80211_vif_update_links() local
219 BUILD_BUG_ON(sizeof(old_data) != sizeof(sdata->link)); in ieee80211_vif_update_links()
220 memcpy(old_data, sdata->link, sizeof(old_data)); in ieee80211_vif_update_links()
268 memcpy(sdata->link, old_data, sizeof(old_data)); in ieee80211_vif_update_links()
/openbmc/linux/net/ncsi/
H A Dncsi-aen.c51 unsigned long old_data, data; in ncsi_aen_handler_lsc() local
69 old_data = ncm->data[2]; in ncsi_aen_handler_lsc()
74 had_link = !!(old_data & 0x1); in ncsi_aen_handler_lsc()
/openbmc/qemu/hw/gpio/
H A Dmpc8xxx.c96 uint32_t old_data = s->dat; in mpc8xxx_write_data() local
97 uint32_t diff = old_data ^ new_data; in mpc8xxx_write_data()
/openbmc/linux/drivers/cxl/
H A Dsecurity.c67 const struct nvdimm_key_data *old_data, in cxl_pmem_security_change_key() argument
81 memcpy(set_pass.old_pass, old_data->data, NVDIMM_PASSPHRASE_LEN); in cxl_pmem_security_change_key()
/openbmc/qemu/migration/
H A Dxbzrle.c46 __m512i old_data = _mm512_mask_loadu_epi8(r, in xbzrle_encode_buffer_avx512() local
50 uint64_t comp = _mm512_cmpeq_epi8_mask(old_data, new_data); in xbzrle_encode_buffer_avx512()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A Drx.c901 struct iwl_wipan_noa_data *new_data, *old_data; in iwlagn_rx_noa_notification() local
906 old_data = rcu_dereference_protected(priv->noa_data, true); in iwlagn_rx_noa_notification()
935 if (old_data) in iwlagn_rx_noa_notification()
936 kfree_rcu(old_data, rcu_head); in iwlagn_rx_noa_notification()
/openbmc/u-boot/tools/
H A Dzynqmpbif.c246 uintptr_t old_data = (uintptr_t)bif_output.data; in bif_add_blob() local
249 header_off = (uintptr_t)bif_output.header - old_data; in bif_add_blob()
250 last_part_off = (uintptr_t)bif_output.last_part - old_data; in bif_add_blob()
251 imgheader_off = (uintptr_t)bif_output.imgheader - old_data; in bif_add_blob()
/openbmc/linux/drivers/media/rc/
H A Dati_remote.c245 unsigned char old_data; /* Detect duplicate events */ member
568 if (ati_remote->old_data == data[2] && in ati_remote_input_report()
644 ati_remote->old_data = data[2]; in ati_remote_input_report()
/openbmc/linux/drivers/acpi/nfit/
H A Dintel.c148 const struct nvdimm_key_data *old_data, in intel_security_change_key() argument
173 memcpy(nd_cmd.cmd.old_pass, old_data->data, in intel_security_change_key()
/openbmc/linux/sound/pci/
H A Datiixp_modem.c270 unsigned int data, old_data; in snd_atiixp_update_bits() local
271 old_data = data = readl(addr); in snd_atiixp_update_bits()
274 if (old_data == data) in snd_atiixp_update_bits()
H A Datiixp.c302 unsigned int data, old_data; in snd_atiixp_update_bits() local
303 old_data = data = readl(addr); in snd_atiixp_update_bits()
306 if (old_data == data) in snd_atiixp_update_bits()
/openbmc/qemu/tests/qemu-iotests/
H A Dfat16.py631 old_data = self.read_cluster(cluster)
632 data_to_write += old_data[len(data_to_write) :]
/openbmc/linux/include/linux/
H A Dlibnvdimm.h181 const struct nvdimm_key_data *old_data,
/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_rx.c774 void *old_data; in gve_rx() local
781 old_data = xdp.data; in gve_rx()
789 page_info->pad += xdp.data - old_data; in gve_rx()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dmac-ctxt.c1711 struct iwl_probe_resp_data *old_data, *new_data; in iwl_mvm_probe_resp_data_notif() local
1743 old_data = rcu_dereference_protected(mvmvif->deflink.probe_resp_data, in iwl_mvm_probe_resp_data_notif()
1747 if (old_data) in iwl_mvm_probe_resp_data_notif()
1748 kfree_rcu(old_data, rcu_head); in iwl_mvm_probe_resp_data_notif()
/openbmc/linux/fs/btrfs/
H A Dctree.c4272 unsigned int old_data; in btrfs_extend_item() local
4287 old_data = btrfs_item_data_end(leaf, slot); in btrfs_extend_item()
4311 old_data - data_end); in btrfs_extend_item()
4313 data_end = old_data; in btrfs_extend_item()
4376 unsigned int old_data = btrfs_item_data_end(leaf, slot); in setup_items_for_insert() local
4378 if (old_data < data_end) { in setup_items_for_insert()
4382 slot, old_data, data_end); in setup_items_for_insert()
4401 data_end, old_data - data_end); in setup_items_for_insert()
4402 data_end = old_data; in setup_items_for_insert()
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dphy.c973 u32 old_data = 0; in rtw_phy_write_rf_reg_sipi() local
985 old_data = chip->ops->read_rf(rtwdev, rf_path, addr, RFREG_MASK); in rtw_phy_write_rf_reg_sipi()
987 if (old_data == INV_RF_DATA) { in rtw_phy_write_rf_reg_sipi()
993 data = ((old_data) & (~mask)) | (data << shift); in rtw_phy_write_rf_reg_sipi()
/openbmc/linux/drivers/video/fbdev/core/
H A Dfbcon.c2403 u8 *old_data = vc->vc_font.data; in fbcon_do_set_font() local
2439 if (old_userfont && (--REFCOUNT(old_data) == 0)) in fbcon_do_set_font()
2440 kfree(old_data - FONT_EXTRA_WORDS * sizeof(int)); in fbcon_do_set_font()
2444 p->fontdata = old_data; in fbcon_do_set_font()
2445 vc->vc_font.data = old_data; in fbcon_do_set_font()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-dbg-tlv.c1032 const __le32 *new_data = new_trig->data, *old_data = old_trig->data; in is_trig_data_contained() local
1041 if (new_data[i] == old_data[j]) { in is_trig_data_contained()
/openbmc/qemu/hw/xen/
H A Dxen_pt_config_init.c1296 uint16_t old_data = *cfg_entry->ptr.half_word; in xen_pt_msgdata_reg_write() local
1317 if (*data != old_data) { in xen_pt_msgdata_reg_write()
/openbmc/linux/arch/s390/include/asm/
H A Dkvm_host.h696 char *old_data; member
/openbmc/u-boot/common/
H A Dcli_hush.c872 char *old_data = o->data; in b_check_space() local
877 free(old_data); in b_check_space()

12