/linux-6.1.9/fs/ext4/ |
D | block_validity.c | 73 struct ext4_system_zone *new_entry, *entry; in add_system_zone() local 88 new_entry = kmem_cache_alloc(ext4_system_zone_cachep, in add_system_zone() 90 if (!new_entry) in add_system_zone() 92 new_entry->start_blk = start_blk; in add_system_zone() 93 new_entry->count = count; in add_system_zone() 94 new_entry->ino = ino; in add_system_zone() 95 new_node = &new_entry->node; in add_system_zone() 104 if (can_merge(entry, new_entry)) { in add_system_zone() 105 new_entry->start_blk = entry->start_blk; in add_system_zone() 106 new_entry->count += entry->count; in add_system_zone() [all …]
|
D | mballoc.c | 5680 struct ext4_free_data *new_entry, in ext4_try_merge_freed_extent() argument 5683 if ((entry->efd_tid != new_entry->efd_tid) || in ext4_try_merge_freed_extent() 5684 (entry->efd_group != new_entry->efd_group)) in ext4_try_merge_freed_extent() 5687 new_entry->efd_start_cluster) { in ext4_try_merge_freed_extent() 5688 new_entry->efd_start_cluster = entry->efd_start_cluster; in ext4_try_merge_freed_extent() 5689 new_entry->efd_count += entry->efd_count; in ext4_try_merge_freed_extent() 5690 } else if (new_entry->efd_start_cluster + new_entry->efd_count == in ext4_try_merge_freed_extent() 5692 new_entry->efd_count += entry->efd_count; in ext4_try_merge_freed_extent() 5704 struct ext4_free_data *new_entry) in ext4_mb_free_metadata() argument 5708 ext4_grpblk_t clusters = new_entry->efd_count; in ext4_mb_free_metadata() [all …]
|
/linux-6.1.9/security/tomoyo/ |
D | domain.c | 31 int tomoyo_update_policy(struct tomoyo_acl_head *new_entry, const int size, in tomoyo_update_policy() argument 48 if (!check_duplicate(entry, new_entry)) in tomoyo_update_policy() 55 entry = tomoyo_commit_ok(new_entry, size); in tomoyo_update_policy() 92 int tomoyo_update_domain(struct tomoyo_acl_info *new_entry, const int size, in tomoyo_update_domain() argument 108 new_entry->cond = tomoyo_get_condition(param); in tomoyo_update_domain() 109 if (!new_entry->cond) in tomoyo_update_domain() 115 if (new_entry->cond->transit && in tomoyo_update_domain() 116 !(new_entry->type == TOMOYO_TYPE_PATH_ACL && in tomoyo_update_domain() 117 container_of(new_entry, struct tomoyo_path_acl, head) in tomoyo_update_domain() 127 if (!tomoyo_same_acl_head(entry, new_entry) || in tomoyo_update_domain() [all …]
|
D | common.h | 1004 int tomoyo_update_domain(struct tomoyo_acl_info *new_entry, const int size, 1012 int tomoyo_update_policy(struct tomoyo_acl_head *new_entry, const int size,
|
/linux-6.1.9/drivers/s390/cio/ |
D | qdio_debug.c | 64 struct qdio_dbf_entry *new_entry; in qdio_allocate_dbf() local 85 new_entry = kzalloc(sizeof(struct qdio_dbf_entry), GFP_KERNEL); in qdio_allocate_dbf() 86 if (!new_entry) { in qdio_allocate_dbf() 90 strscpy(new_entry->dbf_name, text, QDIO_DBF_NAME_LEN); in qdio_allocate_dbf() 91 new_entry->dbf_info = irq_ptr->debug_area; in qdio_allocate_dbf() 93 list_add(&new_entry->dbf_list, &qdio_dbf_list); in qdio_allocate_dbf()
|
/linux-6.1.9/net/mptcp/ |
D | pm_userspace.c | 109 struct mptcp_pm_addr_entry new_entry; in mptcp_userspace_pm_get_local_id() local 113 memset(&new_entry, 0, sizeof(struct mptcp_pm_addr_entry)); in mptcp_userspace_pm_get_local_id() 114 new_entry.addr = *skc; in mptcp_userspace_pm_get_local_id() 115 new_entry.addr.id = 0; in mptcp_userspace_pm_get_local_id() 116 new_entry.flags = MPTCP_PM_ADDR_FLAG_IMPLICIT; in mptcp_userspace_pm_get_local_id() 118 if (new_entry.addr.port == msk_sport) in mptcp_userspace_pm_get_local_id() 119 new_entry.addr.port = 0; in mptcp_userspace_pm_get_local_id() 121 return mptcp_userspace_pm_append_new_local_addr(msk, &new_entry); in mptcp_userspace_pm_get_local_id()
|
/linux-6.1.9/tools/perf/util/ |
D | rblist.c | 13 int rblist__add_node(struct rblist *rblist, const void *new_entry) in rblist__add_node() argument 24 rc = rblist->node_cmp(parent, new_entry); in rblist__add_node() 35 new_node = rblist->node_new(rblist, new_entry); in rblist__add_node()
|
D | rblist.h | 27 struct rb_node *(*node_new)(struct rblist *rlist, const void *new_entry); 34 int rblist__add_node(struct rblist *rblist, const void *new_entry);
|
D | strlist.c | 63 int strlist__add(struct strlist *slist, const char *new_entry) in strlist__add() argument 65 return rblist__add_node(&slist->rblist, new_entry); in strlist__add()
|
/linux-6.1.9/arch/x86/kvm/svm/ |
D | avic.c | 288 u64 *entry, new_entry; in avic_init_backing_page() local 314 new_entry = __sme_set((page_to_phys(svm->avic_backing_page) & in avic_init_backing_page() 317 WRITE_ONCE(*entry, new_entry); in avic_init_backing_page() 573 u32 *entry, new_entry; in avic_ldr_write() local 580 new_entry = READ_ONCE(*entry); in avic_ldr_write() 581 new_entry &= ~AVIC_LOGICAL_ID_ENTRY_GUEST_PHYSICAL_ID_MASK; in avic_ldr_write() 582 new_entry |= (g_physical_id & AVIC_LOGICAL_ID_ENTRY_GUEST_PHYSICAL_ID_MASK); in avic_ldr_write() 583 new_entry |= AVIC_LOGICAL_ID_ENTRY_VALID_MASK; in avic_ldr_write() 584 WRITE_ONCE(*entry, new_entry); in avic_ldr_write()
|
/linux-6.1.9/fs/cifs/ |
D | readdir.c | 491 char *new_entry; in nxt_dir_entry() local 498 new_entry = old_entry + sizeof(FIND_FILE_STANDARD_INFO) + in nxt_dir_entry() 507 new_entry = old_entry + next_offset; in nxt_dir_entry() 509 cifs_dbg(FYI, "new entry %p old entry %p\n", new_entry, old_entry); in nxt_dir_entry() 511 if (new_entry >= end_of_smb) { in nxt_dir_entry() 513 new_entry, end_of_smb, old_entry); in nxt_dir_entry() 516 (new_entry + sizeof(FIND_FILE_STANDARD_INFO) > end_of_smb)) in nxt_dir_entry() 518 (new_entry + sizeof(FILE_DIRECTORY_INFO) > end_of_smb))) { in nxt_dir_entry() 520 new_entry, end_of_smb); in nxt_dir_entry() 523 return new_entry; in nxt_dir_entry()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/ |
D | mcg.c | 155 struct mlx4_steer_index *new_entry; in new_steering_entry() local 165 new_entry = kzalloc(sizeof(*new_entry), GFP_KERNEL); in new_steering_entry() 166 if (!new_entry) in new_steering_entry() 169 INIT_LIST_HEAD(&new_entry->duplicates); in new_steering_entry() 170 new_entry->index = index; in new_steering_entry() 171 list_add_tail(&new_entry->list, &s_steer->steer_entries[steer]); in new_steering_entry() 184 list_add_tail(&dqp->list, &new_entry->duplicates); in new_steering_entry() 233 list_del(&new_entry->list); in new_steering_entry() 234 kfree(new_entry); in new_steering_entry() 1117 u8 new_entry = 0; in mlx4_qp_attach_common() local [all …]
|
/linux-6.1.9/fs/f2fs/ |
D | namei.c | 958 struct f2fs_dir_entry *new_entry; in f2fs_rename() local 1029 new_entry = f2fs_find_entry(new_dir, &new_dentry->d_name, in f2fs_rename() 1031 if (!new_entry) { in f2fs_rename() 1045 f2fs_set_link(new_dir, new_entry, new_page, old_inode); in f2fs_rename() 1146 struct f2fs_dir_entry *old_entry, *new_entry; in f2fs_cross_rename() local 1179 new_entry = f2fs_find_entry(new_dir, &new_dentry->d_name, &new_page); in f2fs_cross_rename() 1180 if (!new_entry) { in f2fs_cross_rename() 1256 f2fs_set_link(new_dir, new_entry, new_page, old_inode); in f2fs_cross_rename()
|
/linux-6.1.9/mm/ |
D | mremap.c | 442 void *old_entry, void *new_entry, bool need_rmap_locks) in move_pgt_entry() argument 453 new_entry); in move_pgt_entry() 457 new_entry); in move_pgt_entry() 462 new_entry); in move_pgt_entry() 467 new_entry); in move_pgt_entry()
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | affinity.c | 598 bool new_entry = false; in hfi1_dev_affinity_init() local 619 new_entry = true; in hfi1_dev_affinity_init() 696 ret = _dev_comp_vect_cpu_mask_init(dd, entry, new_entry); in hfi1_dev_affinity_init() 700 if (new_entry) in hfi1_dev_affinity_init() 709 if (new_entry) in hfi1_dev_affinity_init()
|
/linux-6.1.9/drivers/scsi/ |
D | nsp32.c | 1723 int new_entry; in nsp32_adjust_busfree() local 1739 for (new_entry = old_entry; new_entry < sg_num; new_entry++) { in nsp32_adjust_busfree() 1740 sentlen += (le32_to_cpu(sgt[new_entry].len) & ~SGTEND); in nsp32_adjust_busfree() 1747 if (new_entry == sg_num) { in nsp32_adjust_busfree() 1763 len = le32_to_cpu(sgt[new_entry].len); in nsp32_adjust_busfree() 1764 addr = le32_to_cpu(sgt[new_entry].addr); in nsp32_adjust_busfree() 1766 sgt[new_entry].addr = cpu_to_le32(addr); in nsp32_adjust_busfree() 1767 sgt[new_entry].len = cpu_to_le32(restlen); in nsp32_adjust_busfree() 1770 data->cur_entry = new_entry; in nsp32_adjust_busfree()
|
D | hpsa.c | 1363 int entry, struct hpsa_scsi_dev_t *new_entry) in hpsa_scsi_update_entry() argument 1369 h->dev[entry]->raid_level = new_entry->raid_level; in hpsa_scsi_update_entry() 1374 h->dev[entry]->ioaccel_handle = new_entry->ioaccel_handle; in hpsa_scsi_update_entry() 1377 if (new_entry->offload_config && new_entry->offload_to_be_enabled) { in hpsa_scsi_update_entry() 1386 h->dev[entry]->raid_map = new_entry->raid_map; in hpsa_scsi_update_entry() 1387 h->dev[entry]->ioaccel_handle = new_entry->ioaccel_handle; in hpsa_scsi_update_entry() 1389 if (new_entry->offload_to_be_enabled) { in hpsa_scsi_update_entry() 1390 h->dev[entry]->ioaccel_handle = new_entry->ioaccel_handle; in hpsa_scsi_update_entry() 1393 h->dev[entry]->hba_ioaccel_enabled = new_entry->hba_ioaccel_enabled; in hpsa_scsi_update_entry() 1394 h->dev[entry]->offload_config = new_entry->offload_config; in hpsa_scsi_update_entry() [all …]
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 275 struct hash_mac_addr *new_entry, *entry; in cxgb4vf_change_mac() local 291 new_entry = kzalloc(sizeof(*new_entry), GFP_KERNEL); in cxgb4vf_change_mac() 292 if (!new_entry) in cxgb4vf_change_mac() 294 ether_addr_copy(new_entry->addr, addr); in cxgb4vf_change_mac() 295 new_entry->iface_mac = true; in cxgb4vf_change_mac() 296 list_add_tail(&new_entry->list, &adapter->mac_hlist); in cxgb4vf_change_mac() 945 struct hash_mac_addr *new_entry; in cxgb4vf_mac_sync() local 956 new_entry = kzalloc(sizeof(*new_entry), GFP_ATOMIC); in cxgb4vf_mac_sync() 957 if (!new_entry) in cxgb4vf_mac_sync() 959 ether_addr_copy(new_entry->addr, mac_addr); in cxgb4vf_mac_sync() [all …]
|
/linux-6.1.9/fs/exfat/ |
D | namei.c | 1169 int new_entry = 0; in __exfat_rename() local 1204 new_entry = new_ei->entry; in __exfat_rename() 1205 ep = exfat_get_dentry(sb, p_dir, new_entry, &new_bh); in __exfat_rename() 1245 ep = exfat_get_dentry(sb, p_dir, new_entry, &new_bh); in __exfat_rename() 1251 num_entries = exfat_count_ext_entries(sb, p_dir, new_entry, ep); in __exfat_rename() 1258 if (exfat_remove_entries(new_inode, p_dir, new_entry, 0, in __exfat_rename()
|
/linux-6.1.9/drivers/iommu/ |
D | virtio-iommu.c | 894 struct iommu_resv_region *entry, *new_entry, *msi = NULL; in viommu_get_resv_regions() local 902 new_entry = kmemdup(entry, sizeof(*entry), GFP_KERNEL); in viommu_get_resv_regions() 903 if (!new_entry) in viommu_get_resv_regions() 905 list_add_tail(&new_entry->list, head); in viommu_get_resv_regions()
|
/linux-6.1.9/drivers/net/wireless/intersil/hostap/ |
D | hostap_hw.c | 2950 struct set_tim_data *new_entry; in prism2_set_tim() local 2957 new_entry = kzalloc(sizeof(*new_entry), GFP_ATOMIC); in prism2_set_tim() 2958 if (new_entry == NULL) in prism2_set_tim() 2961 new_entry->aid = aid; in prism2_set_tim() 2962 new_entry->set = set; in prism2_set_tim() 2973 kfree(new_entry); in prism2_set_tim() 2974 new_entry = NULL; in prism2_set_tim() 2978 if (new_entry) in prism2_set_tim() 2979 list_add_tail(&new_entry->list, &local->set_tim_list); in prism2_set_tim()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_tcam.c | 1261 struct mlxsw_sp_acl_tcam_entry *new_entry; in mlxsw_sp_acl_tcam_ventry_migrate() local 1270 new_entry = mlxsw_sp_acl_tcam_entry_create(mlxsw_sp, ventry, chunk); in mlxsw_sp_acl_tcam_ventry_migrate() 1271 if (IS_ERR(new_entry)) in mlxsw_sp_acl_tcam_ventry_migrate() 1272 return PTR_ERR(new_entry); in mlxsw_sp_acl_tcam_ventry_migrate() 1274 ventry->entry = new_entry; in mlxsw_sp_acl_tcam_ventry_migrate()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc.c | 2833 u16 old_entry, new_entry; in rvu_mbox_handler_npc_mcam_shift_entry() local 2847 new_entry = req->new_entry[index]; in rvu_mbox_handler_npc_mcam_shift_entry() 2856 rc = npc_mcam_verify_entry(mcam, pcifunc, new_entry); in rvu_mbox_handler_npc_mcam_shift_entry() 2861 if (mcam->entry2cntr_map[new_entry] != NPC_MCAM_INVALID_MAP) { in rvu_mbox_handler_npc_mcam_shift_entry() 2867 npc_enable_mcam_entry(rvu, mcam, blkaddr, new_entry, false); in rvu_mbox_handler_npc_mcam_shift_entry() 2870 npc_copy_mcam_entry(rvu, mcam, blkaddr, old_entry, new_entry); in rvu_mbox_handler_npc_mcam_shift_entry() 2878 new_entry, cntr); in rvu_mbox_handler_npc_mcam_shift_entry() 2882 npc_enable_mcam_entry(rvu, mcam, blkaddr, new_entry, true); in rvu_mbox_handler_npc_mcam_shift_entry()
|
/linux-6.1.9/fs/ |
D | dax.c | 861 void *new_entry = dax_make_entry(pfn, flags); in dax_insert_entry() local 884 dax_associate_entry(new_entry, mapping, vmf->vma, vmf->address, in dax_insert_entry() 894 old = dax_lock_entry(xas, new_entry); in dax_insert_entry() 897 entry = new_entry; in dax_insert_entry()
|
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 381 struct hash_mac_addr *new_entry; in cxgb4_mac_sync() local 392 new_entry = kzalloc(sizeof(*new_entry), GFP_ATOMIC); in cxgb4_mac_sync() 393 if (!new_entry) in cxgb4_mac_sync() 395 ether_addr_copy(new_entry->addr, mac_addr); in cxgb4_mac_sync() 396 list_add_tail(&new_entry->list, &adap->mac_hlist); in cxgb4_mac_sync() 466 struct hash_mac_addr *entry, *new_entry; in cxgb4_change_mac() local 482 new_entry = kzalloc(sizeof(*new_entry), GFP_KERNEL); in cxgb4_change_mac() 483 if (!new_entry) in cxgb4_change_mac() 485 ether_addr_copy(new_entry->addr, addr); in cxgb4_change_mac() 486 new_entry->iface_mac = true; in cxgb4_change_mac() [all …]
|