/linux-6.1.9/drivers/leds/ |
D | uleds.c | 34 bool new_data; member 47 udev->new_data = true; in uleds_brightness_set() 121 udev->new_data = true; in uleds_write() 147 } else if (!udev->new_data && (file->f_flags & O_NONBLOCK)) { in uleds_read() 149 } else if (udev->new_data) { in uleds_read() 152 udev->new_data = false; in uleds_read() 163 udev->new_data || in uleds_read() 176 if (udev->new_data) in uleds_poll()
|
/linux-6.1.9/drivers/video/console/ |
D | newport_con.c | 506 unsigned char *new_data, *data = op->data, *p; in newport_set_font() local 514 if (!(new_data = kmalloc(FONT_EXTRA_WORDS * sizeof(int) + size, in newport_set_font() 517 new_data += FONT_EXTRA_WORDS * sizeof(int); in newport_set_font() 518 FNTSIZE(new_data) = size; in newport_set_font() 519 FNTCHARCNT(new_data) = op->charcount; in newport_set_font() 520 REFCOUNT(new_data) = 0; /* usage counter */ in newport_set_font() 521 FNTSUM(new_data) = 0; in newport_set_font() 523 p = new_data; in newport_set_font() 534 && !memcmp(font_data[i], new_data, size)) { in newport_set_font() 535 kfree(new_data - FONT_EXTRA_WORDS * sizeof(int)); in newport_set_font() [all …]
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rx.c | 901 struct iwl_wipan_noa_data *new_data, *old_data; in iwlagn_rx_noa_notification() local 918 new_data = kmalloc(struct_size(new_data, data, len), GFP_ATOMIC); in iwlagn_rx_noa_notification() 919 if (new_data) { in iwlagn_rx_noa_notification() 920 new_data->length = len; in iwlagn_rx_noa_notification() 921 new_data->data[0] = WLAN_EID_VENDOR_SPECIFIC; in iwlagn_rx_noa_notification() 922 new_data->data[1] = len - 2; /* not counting EID, len */ in iwlagn_rx_noa_notification() 923 new_data->data[2] = (WLAN_OUI_WFA >> 16) & 0xff; in iwlagn_rx_noa_notification() 924 new_data->data[3] = (WLAN_OUI_WFA >> 8) & 0xff; in iwlagn_rx_noa_notification() 925 new_data->data[4] = (WLAN_OUI_WFA >> 0) & 0xff; in iwlagn_rx_noa_notification() 926 new_data->data[5] = WLAN_OUI_TYPE_WFA_P2P; in iwlagn_rx_noa_notification() [all …]
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | mobility.c | 145 char *new_data = kzalloc(new_prop->length + vd, GFP_KERNEL); in update_dt_property() local 146 if (!new_data) in update_dt_property() 149 memcpy(new_data, new_prop->value, new_prop->length); in update_dt_property() 150 memcpy(new_data + new_prop->length, value, vd); in update_dt_property() 153 new_prop->value = new_data; in update_dt_property()
|
/linux-6.1.9/drivers/md/ |
D | dm-ioctl.c | 412 char *new_data, *old_name = NULL; in dm_hash_rename() local 422 new_data = kstrdup(new, GFP_KERNEL); in dm_hash_rename() 423 if (!new_data) in dm_hash_rename() 443 kfree(new_data); in dm_hash_rename() 455 kfree(new_data); in dm_hash_rename() 468 kfree(new_data); in dm_hash_rename() 473 __set_cell_uuid(hc, new_data); in dm_hash_rename() 475 old_name = __change_cell_name(hc, new_data); in dm_hash_rename() 1022 char *new_data = (char *) param + param->data_start; in dev_rename() local 1026 if (new_data < param->data || in dev_rename() [all …]
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac-ctxt.c | 1495 struct iwl_probe_resp_data *old_data, *new_data; in iwl_mvm_probe_resp_data_notif() local 1509 new_data = kzalloc(sizeof(*new_data), GFP_KERNEL); in iwl_mvm_probe_resp_data_notif() 1510 if (!new_data) in iwl_mvm_probe_resp_data_notif() 1513 memcpy(&new_data->notif, notif, sizeof(new_data->notif)); in iwl_mvm_probe_resp_data_notif() 1516 new_data->noa_len = sizeof(struct ieee80211_vendor_ie) + in iwl_mvm_probe_resp_data_notif() 1517 sizeof(new_data->notif.noa_attr) - 1; in iwl_mvm_probe_resp_data_notif() 1523 if (new_data->notif.noa_attr.len_low == in iwl_mvm_probe_resp_data_notif() 1525 new_data->noa_len -= sizeof(struct ieee80211_p2p_noa_desc); in iwl_mvm_probe_resp_data_notif() 1529 rcu_assign_pointer(mvmvif->probe_resp_data, new_data); in iwl_mvm_probe_resp_data_notif()
|
/linux-6.1.9/drivers/cpufreq/ |
D | cpufreq.c | 2537 struct cpufreq_policy_data new_data; in cpufreq_set_policy() local 2541 memcpy(&new_data.cpuinfo, &policy->cpuinfo, sizeof(policy->cpuinfo)); in cpufreq_set_policy() 2542 new_data.freq_table = policy->freq_table; in cpufreq_set_policy() 2543 new_data.cpu = policy->cpu; in cpufreq_set_policy() 2548 new_data.min = freq_qos_read_value(&policy->constraints, FREQ_QOS_MIN); in cpufreq_set_policy() 2549 new_data.max = freq_qos_read_value(&policy->constraints, FREQ_QOS_MAX); in cpufreq_set_policy() 2552 new_data.cpu, new_data.min, new_data.max); in cpufreq_set_policy() 2558 ret = cpufreq_driver->verify(&new_data); in cpufreq_set_policy() 2567 policy->min = new_data.min; in cpufreq_set_policy() 2568 policy->max = new_data.max; in cpufreq_set_policy()
|
/linux-6.1.9/include/linux/ |
D | tpm.h | 365 const unsigned char *new_data, in tpm_buf_append() argument 381 memcpy(&buf->data[len], new_data, new_len); in tpm_buf_append()
|
D | libnvdimm.h | 174 const struct nvdimm_key_data *new_data,
|
/linux-6.1.9/drivers/video/fbdev/core/ |
D | fbcon.c | 2485 u8 *new_data, *data = font->data; in fbcon_set_font() local 2509 new_data = kmalloc(FONT_EXTRA_WORDS * sizeof(int) + size, GFP_USER); in fbcon_set_font() 2511 if (!new_data) in fbcon_set_font() 2514 memset(new_data, 0, FONT_EXTRA_WORDS * sizeof(int)); in fbcon_set_font() 2516 new_data += FONT_EXTRA_WORDS * sizeof(int); in fbcon_set_font() 2517 FNTSIZE(new_data) = size; in fbcon_set_font() 2518 REFCOUNT(new_data) = 0; /* usage counter */ in fbcon_set_font() 2520 memcpy(new_data + i*h*pitch, data + i*32*pitch, h*pitch); in fbcon_set_font() 2525 csum = crc32(0, new_data, size); in fbcon_set_font() 2527 FNTSUM(new_data) = csum; in fbcon_set_font() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_common.c | 4986 u64 new_data = rd64(hw, reg) & (BIT_ULL(40) - 1); in ice_stat_update40() local 4994 *prev_stat = new_data; in ice_stat_update40() 5001 if (new_data >= *prev_stat) in ice_stat_update40() 5002 *cur_stat += new_data - *prev_stat; in ice_stat_update40() 5005 *cur_stat += (new_data + BIT_ULL(40)) - *prev_stat; in ice_stat_update40() 5008 *prev_stat = new_data; in ice_stat_update40() 5023 u32 new_data; in ice_stat_update32() local 5025 new_data = rd32(hw, reg); in ice_stat_update32() 5033 *prev_stat = new_data; in ice_stat_update32() 5040 if (new_data >= *prev_stat) in ice_stat_update32() [all …]
|
/linux-6.1.9/drivers/acpi/nfit/ |
D | intel.c | 148 const struct nvdimm_key_data *new_data, in intel_security_change_key() argument 174 memcpy(nd_cmd.cmd.new_pass, new_data->data, in intel_security_change_key()
|
/linux-6.1.9/drivers/usb/gadget/ |
D | configfs.c | 1012 char *new_data; in ext_prop_data_store() local 1017 new_data = kmemdup(page, len, GFP_KERNEL); in ext_prop_data_store() 1018 if (!new_data) in ext_prop_data_store() 1024 ext_prop->data = new_data; in ext_prop_data_store()
|
/linux-6.1.9/tools/perf/util/ |
D | intel-bts.c | 222 if (bts->queues.new_data) { in intel_bts_update_queues() 223 bts->queues.new_data = false; in intel_bts_update_queues()
|
D | s390-cpumsf.c | 835 if (!sf->queues.new_data) in s390_cpumsf_update_queues() 838 sf->queues.new_data = false; in s390_cpumsf_update_queues()
|
D | arm-spe.c | 759 if (spe->queues.new_data) { in arm_spe__update_queues() 760 spe->queues.new_data = false; in arm_spe__update_queues()
|
D | auxtrace.h | 291 bool new_data; member
|
/linux-6.1.9/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 1789 u8 *data, *new_data; in mtk_poll_rx() local 1835 new_data = mtk_page_pool_get_buff(ring->page_pool, in mtk_poll_rx() 1838 if (unlikely(!new_data)) { in mtk_poll_rx() 1872 new_data = napi_alloc_frag(ring->frag_size); in mtk_poll_rx() 1874 new_data = mtk_max_lro_buf_alloc(GFP_ATOMIC); in mtk_poll_rx() 1876 if (unlikely(!new_data)) { in mtk_poll_rx() 1882 new_data + NET_SKB_PAD + eth->ip_align, in mtk_poll_rx() 1886 skb_free_frag(new_data); in mtk_poll_rx() 1956 ring->data[idx] = new_data; in mtk_poll_rx()
|
/linux-6.1.9/fs/ntfs3/ |
D | index.c | 1935 u64 bpb, new_data; in indx_shrink() local 1975 new_data = (u64)bit << indx->index_bits; in indx_shrink() 1978 &indx->alloc_run, new_data, &new_data, false, NULL); in indx_shrink()
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 763 u8 *new_data, *data = rx_buf->data; in bnx2x_tpa_stop() local 775 new_data = bnx2x_frag_alloc(fp, GFP_ATOMIC); in bnx2x_tpa_stop() 781 if (likely(new_data)) in bnx2x_tpa_stop() 790 bnx2x_frag_free(fp, new_data); in bnx2x_tpa_stop() 814 rx_buf->data = new_data; in bnx2x_tpa_stop() 818 if (new_data) in bnx2x_tpa_stop() 819 bnx2x_frag_free(fp, new_data); in bnx2x_tpa_stop()
|
/linux-6.1.9/tools/lib/bpf/ |
D | btf.c | 145 void *new_data; in libbpf_add_mem() local 163 new_data = libbpf_reallocarray(*data, new_cnt, elem_sz); in libbpf_add_mem() 164 if (!new_data) in libbpf_add_mem() 168 memset(new_data + (*cap_cnt) * elem_sz, 0, (new_cnt - *cap_cnt) * elem_sz); in libbpf_add_mem() 170 *data = new_data; in libbpf_add_mem() 172 return new_data + cur_cnt * elem_sz; in libbpf_add_mem()
|
/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 588 u64 new_data; in i40e_stat_update64() local 590 new_data = rd64(hw, loreg); in i40e_stat_update64() 592 if (!offset_loaded || new_data < *offset) in i40e_stat_update64() 593 *offset = new_data; in i40e_stat_update64() 594 *stat = new_data - *offset; in i40e_stat_update64() 615 u64 new_data; in i40e_stat_update48() local 618 new_data = rd32(hw, loreg); in i40e_stat_update48() 619 new_data |= ((u64)(rd32(hw, hireg) & 0xFFFF)) << 32; in i40e_stat_update48() 621 new_data = rd64(hw, loreg); in i40e_stat_update48() 624 *offset = new_data; in i40e_stat_update48() [all …]
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-dbg-tlv.c | 1008 const __le32 *new_data = new_trig->data, *old_data = old_trig->data; in is_trig_data_contained() local 1017 if (new_data[i] == old_data[j]) { in is_trig_data_contained()
|
/linux-6.1.9/drivers/net/ethernet/qlogic/qed/ |
D | qed_ll2.c | 171 u8 *new_data; in qed_ll2b_complete_rx_packet() local 194 rc = qed_ll2_alloc_buffer(p_hwfn->cdev, &new_data, in qed_ll2b_complete_rx_packet() 238 buffer->data = new_data; in qed_ll2b_complete_rx_packet()
|
/linux-6.1.9/kernel/bpf/ |
D | verifier.c | 12995 struct bpf_insn_aux_data *new_data, in adjust_insn_aux_data() argument 13014 memcpy(new_data, old_data, sizeof(struct bpf_insn_aux_data) * off); in adjust_insn_aux_data() 13015 memcpy(new_data + off + cnt - 1, old_data + off, in adjust_insn_aux_data() 13019 new_data[i].seen = old_seen; in adjust_insn_aux_data() 13020 new_data[i].zext_dst = insn_has_def32(env, insn + i); in adjust_insn_aux_data() 13022 env->insn_aux_data = new_data; in adjust_insn_aux_data() 13058 struct bpf_insn_aux_data *new_data = NULL; in bpf_patch_insn_data() local 13061 new_data = vzalloc(array_size(env->prog->len + len - 1, in bpf_patch_insn_data() 13063 if (!new_data) in bpf_patch_insn_data() 13073 vfree(new_data); in bpf_patch_insn_data() [all …]
|