/linux-6.12.1/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.12.1/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.12.1/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.12.1/arch/powerpc/platforms/pseries/ |
D | mobility.c | 137 char *new_data = kzalloc(new_prop->length + vd, GFP_KERNEL); in update_dt_property() local 138 if (!new_data) in update_dt_property() 141 memcpy(new_data, new_prop->value, new_prop->length); in update_dt_property() 142 memcpy(new_data + new_prop->length, value, vd); in update_dt_property() 145 new_prop->value = new_data; in update_dt_property()
|
/linux-6.12.1/drivers/md/ |
D | dm-ioctl.c | 429 char *new_data, *old_name = NULL; in dm_hash_rename() local 439 new_data = kstrdup(new, GFP_KERNEL); in dm_hash_rename() 440 if (!new_data) in dm_hash_rename() 459 kfree(new_data); in dm_hash_rename() 471 kfree(new_data); in dm_hash_rename() 484 kfree(new_data); in dm_hash_rename() 489 __set_cell_uuid(hc, new_data); in dm_hash_rename() 491 old_name = __change_cell_name(hc, new_data); in dm_hash_rename() 1047 char *new_data = (char *) param + param->data_start; in dev_rename() local 1051 if (new_data < param->data || in dev_rename() [all …]
|
/linux-6.12.1/drivers/net/vmxnet3/ |
D | vmxnet3_xdp.c | 379 void *new_data; in vmxnet3_process_xdp() local 407 new_data = vmxnet3_pp_get_buff(rq->page_pool, &new_dma_addr, in vmxnet3_process_xdp() 409 if (!new_data) { in vmxnet3_process_xdp() 413 rbi->page = virt_to_page(new_data); in vmxnet3_process_xdp()
|
/linux-6.12.1/drivers/char/tpm/ |
D | tpm-buf.c | 105 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length) in tpm_buf_append() argument 117 memcpy(&buf->data[buf->length], new_data, new_length); in tpm_buf_append()
|
/linux-6.12.1/drivers/cxl/ |
D | security.c | 69 const struct nvdimm_key_data *new_data, in cxl_pmem_security_change_key() argument 83 memcpy(set_pass.new_pass, new_data->data, NVDIMM_PASSPHRASE_LEN); in cxl_pmem_security_change_key()
|
/linux-6.12.1/drivers/cpufreq/ |
D | cpufreq.c | 2621 struct cpufreq_policy_data new_data; in cpufreq_set_policy() local 2625 memcpy(&new_data.cpuinfo, &policy->cpuinfo, sizeof(policy->cpuinfo)); in cpufreq_set_policy() 2626 new_data.freq_table = policy->freq_table; in cpufreq_set_policy() 2627 new_data.cpu = policy->cpu; in cpufreq_set_policy() 2632 new_data.min = freq_qos_read_value(&policy->constraints, FREQ_QOS_MIN); in cpufreq_set_policy() 2633 new_data.max = freq_qos_read_value(&policy->constraints, FREQ_QOS_MAX); in cpufreq_set_policy() 2636 new_data.cpu, new_data.min, new_data.max); in cpufreq_set_policy() 2642 ret = cpufreq_driver->verify(&new_data); in cpufreq_set_policy() 2651 policy->min = new_data.min; in cpufreq_set_policy() 2652 policy->max = new_data.max; in cpufreq_set_policy()
|
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mac-ctxt.c | 1805 struct iwl_probe_resp_data *old_data, *new_data; in iwl_mvm_probe_resp_data_notif() local 1819 new_data = kzalloc(sizeof(*new_data), GFP_KERNEL); in iwl_mvm_probe_resp_data_notif() 1820 if (!new_data) in iwl_mvm_probe_resp_data_notif() 1823 memcpy(&new_data->notif, notif, sizeof(new_data->notif)); in iwl_mvm_probe_resp_data_notif() 1826 new_data->noa_len = sizeof(struct ieee80211_vendor_ie) + in iwl_mvm_probe_resp_data_notif() 1827 sizeof(new_data->notif.noa_attr) - 1; in iwl_mvm_probe_resp_data_notif() 1833 if (new_data->notif.noa_attr.len_low == in iwl_mvm_probe_resp_data_notif() 1835 new_data->noa_len -= sizeof(struct ieee80211_p2p_noa_desc); in iwl_mvm_probe_resp_data_notif() 1839 rcu_assign_pointer(mvmvif->deflink.probe_resp_data, new_data); in iwl_mvm_probe_resp_data_notif()
|
/linux-6.12.1/fs/xfs/libxfs/ |
D | xfs_inode_fork.c | 55 char *new_data = kmalloc(mem_size, in xfs_init_local_fork() local 58 memcpy(new_data, data, size); in xfs_init_local_fork() 60 new_data[size] = '\0'; in xfs_init_local_fork() 62 ifp->if_data = new_data; in xfs_init_local_fork()
|
/linux-6.12.1/tools/perf/util/bpf_skel/ |
D | kwork_top.bpf.c | 131 struct work_data new_data = { in update_work() local 135 bpf_map_update_elem(&kwork_top_works, key, &new_data, BPF_ANY); in update_work()
|
/linux-6.12.1/drivers/video/fbdev/core/ |
D | fbcon.c | 2489 u8 *new_data, *data = font->data; in fbcon_set_font() local 2516 new_data = kmalloc(FONT_EXTRA_WORDS * sizeof(int) + size, GFP_USER); in fbcon_set_font() 2518 if (!new_data) in fbcon_set_font() 2521 memset(new_data, 0, FONT_EXTRA_WORDS * sizeof(int)); in fbcon_set_font() 2523 new_data += FONT_EXTRA_WORDS * sizeof(int); in fbcon_set_font() 2524 FNTSIZE(new_data) = size; in fbcon_set_font() 2525 REFCOUNT(new_data) = 0; /* usage counter */ in fbcon_set_font() 2527 memcpy(new_data + i*h*pitch, data + i*vpitch*pitch, h*pitch); in fbcon_set_font() 2532 csum = crc32(0, new_data, size); in fbcon_set_font() 2534 FNTSUM(new_data) = csum; in fbcon_set_font() [all …]
|
/linux-6.12.1/drivers/acpi/nfit/ |
D | intel.c | 149 const struct nvdimm_key_data *new_data, in intel_security_change_key() argument 175 memcpy(nd_cmd.cmd.new_pass, new_data->data, in intel_security_change_key()
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_common.c | 5635 u64 new_data = rd64(hw, reg) & (BIT_ULL(40) - 1); in ice_stat_update40() local 5643 *prev_stat = new_data; in ice_stat_update40() 5650 if (new_data >= *prev_stat) in ice_stat_update40() 5651 *cur_stat += new_data - *prev_stat; in ice_stat_update40() 5654 *cur_stat += (new_data + BIT_ULL(40)) - *prev_stat; in ice_stat_update40() 5657 *prev_stat = new_data; in ice_stat_update40() 5672 u32 new_data; in ice_stat_update32() local 5674 new_data = rd32(hw, reg); in ice_stat_update32() 5682 *prev_stat = new_data; in ice_stat_update32() 5689 if (new_data >= *prev_stat) in ice_stat_update32() [all …]
|
/linux-6.12.1/include/linux/ |
D | libnvdimm.h | 182 const struct nvdimm_key_data *new_data,
|
D | tpm.h | 417 void tpm_buf_append(struct tpm_buf *buf, const u8 *new_data, u16 new_length);
|
/linux-6.12.1/fs/ntfs3/ |
D | index.c | 2052 u64 bpb, new_data; in indx_shrink() local 2092 new_data = (u64)bit << indx->index_bits; in indx_shrink() 2095 &indx->alloc_run, new_data, &new_data, false, NULL); in indx_shrink() 2100 i_size_write(&ni->vfs_inode, new_data); in indx_shrink()
|
/linux-6.12.1/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 | 836 if (!sf->queues.new_data) in s390_cpumsf_update_queues() 839 sf->queues.new_data = false; in s390_cpumsf_update_queues()
|
D | arm-spe.c | 779 if (spe->queues.new_data) { in arm_spe__update_queues() 780 spe->queues.new_data = false; in arm_spe__update_queues()
|
/linux-6.12.1/drivers/usb/gadget/ |
D | configfs.c | 1341 char *new_data; in ext_prop_data_store() local 1346 new_data = kmemdup(page, len, GFP_KERNEL); in ext_prop_data_store() 1347 if (!new_data) in ext_prop_data_store() 1353 ext_prop->data = new_data; in ext_prop_data_store()
|
/linux-6.12.1/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 2023 u8 *data, *new_data; in mtk_poll_rx() local 2084 new_data = mtk_page_pool_get_buff(ring->page_pool, in mtk_poll_rx() 2087 if (unlikely(!new_data)) { in mtk_poll_rx() 2121 new_data = napi_alloc_frag(ring->frag_size); in mtk_poll_rx() 2123 new_data = mtk_max_lro_buf_alloc(GFP_ATOMIC); in mtk_poll_rx() 2125 if (unlikely(!new_data)) { in mtk_poll_rx() 2131 new_data + NET_SKB_PAD + eth->ip_align, in mtk_poll_rx() 2135 skb_free_frag(new_data); in mtk_poll_rx() 2201 ring->data[idx] = new_data; in mtk_poll_rx()
|
/linux-6.12.1/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 776 u8 *new_data, *data = rx_buf->data; in bnx2x_tpa_stop() local 788 new_data = bnx2x_frag_alloc(fp, GFP_ATOMIC); in bnx2x_tpa_stop() 794 if (likely(new_data)) in bnx2x_tpa_stop() 803 bnx2x_frag_free(fp, new_data); in bnx2x_tpa_stop() 827 rx_buf->data = new_data; in bnx2x_tpa_stop() 831 if (new_data) in bnx2x_tpa_stop() 832 bnx2x_frag_free(fp, new_data); in bnx2x_tpa_stop()
|
/linux-6.12.1/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 605 u64 new_data; in i40e_stat_update64() local 607 new_data = rd64(hw, loreg); in i40e_stat_update64() 609 if (!offset_loaded || new_data < *offset) in i40e_stat_update64() 610 *offset = new_data; in i40e_stat_update64() 611 *stat = new_data - *offset; in i40e_stat_update64() 632 u64 new_data; in i40e_stat_update48() local 635 new_data = rd32(hw, loreg); in i40e_stat_update48() 636 new_data |= ((u64)(rd32(hw, hireg) & 0xFFFF)) << 32; in i40e_stat_update48() 638 new_data = rd64(hw, loreg); in i40e_stat_update48() 641 *offset = new_data; in i40e_stat_update48() [all …]
|