Home
last modified time | relevance | path

Searched refs:new_entry (Results 1 – 25 of 38) sorted by relevance

12

/linux-6.3-rc2/fs/ext4/
A Dblock_validity.c73 struct ext4_system_zone *new_entry, *entry; in add_system_zone() local
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()
116 if (can_merge(new_entry, entry)) { in add_system_zone()
[all …]
A Dmballoc.c5674 struct ext4_free_data *new_entry, in ext4_try_merge_freed_extent() argument
5681 new_entry->efd_start_cluster) { in ext4_try_merge_freed_extent()
5683 new_entry->efd_count += entry->efd_count; in ext4_try_merge_freed_extent()
5684 } else if (new_entry->efd_start_cluster + new_entry->efd_count == in ext4_try_merge_freed_extent()
5698 struct ext4_free_data *new_entry) in ext4_mb_free_metadata() argument
5714 new_node = &new_entry->efd_node; in ext4_mb_free_metadata()
5715 cluster = new_entry->efd_start_cluster; in ext4_mb_free_metadata()
5988 struct ext4_free_data *new_entry; in ext4_mb_clear_bb() local
5995 new_entry->efd_start_cluster = bit; in ext4_mb_clear_bb()
5996 new_entry->efd_group = block_group; in ext4_mb_clear_bb()
[all …]
/linux-6.3-rc2/fs/btrfs/
A Dlru_cache.c107 struct btrfs_lru_cache_entry *new_entry, in btrfs_lru_cache_store() argument
110 const u64 key = new_entry->key; in btrfs_lru_cache_store()
121 list_add_tail(&new_entry->list, head); in btrfs_lru_cache_store()
126 if (match_entry(head, key, new_entry->gen) != NULL) in btrfs_lru_cache_store()
128 list_add_tail(&new_entry->list, head); in btrfs_lru_cache_store()
143 list_add_tail(&new_entry->lru_list, &cache->lru_list); in btrfs_lru_cache_store()
A Dlru_cache.h74 struct btrfs_lru_cache_entry *new_entry,
/linux-6.3-rc2/security/tomoyo/
A Ddomain.c48 if (!check_duplicate(entry, new_entry)) in tomoyo_update_policy()
55 entry = tomoyo_commit_ok(new_entry, size); in tomoyo_update_policy()
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()
127 if (!tomoyo_same_acl_head(entry, new_entry) || in tomoyo_update_domain()
128 !check_duplicate(entry, new_entry)) in tomoyo_update_domain()
131 entry->is_deleted = merge_duplicate(entry, new_entry, in tomoyo_update_domain()
139 entry = tomoyo_commit_ok(new_entry, size); in tomoyo_update_domain()
[all …]
/linux-6.3-rc2/drivers/s390/cio/
A Dqdio_debug.c64 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.3-rc2/net/mptcp/
A Dpm_userspace.c110 struct mptcp_pm_addr_entry new_entry; in mptcp_userspace_pm_get_local_id() local
114 memset(&new_entry, 0, sizeof(struct mptcp_pm_addr_entry)); in mptcp_userspace_pm_get_local_id()
115 new_entry.addr = *skc; in mptcp_userspace_pm_get_local_id()
116 new_entry.addr.id = 0; in mptcp_userspace_pm_get_local_id()
117 new_entry.flags = MPTCP_PM_ADDR_FLAG_IMPLICIT; in mptcp_userspace_pm_get_local_id()
119 if (new_entry.addr.port == msk_sport) in mptcp_userspace_pm_get_local_id()
120 new_entry.addr.port = 0; in mptcp_userspace_pm_get_local_id()
122 return mptcp_userspace_pm_append_new_local_addr(msk, &new_entry); in mptcp_userspace_pm_get_local_id()
/linux-6.3-rc2/tools/perf/util/
A Drblist.c13 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()
A Drblist.h27 struct rb_node *(*node_new)(struct rblist *rlist, const void *new_entry);
34 int rblist__add_node(struct rblist *rblist, const void *new_entry);
A Dstrlist.c63 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.3-rc2/arch/x86/kvm/svm/
A Davic.c260 u64 *entry, new_entry; in avic_init_backing_page() local
292 new_entry = __sme_set((page_to_phys(svm->avic_backing_page) & in avic_init_backing_page()
295 WRITE_ONCE(*entry, new_entry); in avic_init_backing_page()
559 u32 *entry, new_entry; in avic_ldr_write() local
566 new_entry = READ_ONCE(*entry); in avic_ldr_write()
567 new_entry &= ~AVIC_LOGICAL_ID_ENTRY_GUEST_PHYSICAL_ID_MASK; in avic_ldr_write()
568 new_entry |= (g_physical_id & AVIC_LOGICAL_ID_ENTRY_GUEST_PHYSICAL_ID_MASK); in avic_ldr_write()
569 new_entry |= AVIC_LOGICAL_ID_ENTRY_VALID_MASK; in avic_ldr_write()
570 WRITE_ONCE(*entry, new_entry); in avic_ldr_write()
/linux-6.3-rc2/fs/cifs/
A Dreaddir.c491 char *new_entry; in nxt_dir_entry() local
498 new_entry = old_entry + sizeof(FIND_FILE_STANDARD_INFO) + 1 + 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) + 1 > end_of_smb)) in nxt_dir_entry()
518 (new_entry + sizeof(FILE_DIRECTORY_INFO) + 1 > 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.3-rc2/drivers/net/ethernet/mellanox/mlx4/
A Dmcg.c155 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()
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
1132 new_entry = 1; in mlx4_qp_attach_common()
1146 new_entry = 1; in mlx4_qp_attach_common()
[all …]
/linux-6.3-rc2/fs/f2fs/
A Dnamei.c951 struct f2fs_dir_entry *new_entry; in f2fs_rename() local
1022 new_entry = f2fs_find_entry(new_dir, &new_dentry->d_name, in f2fs_rename()
1024 if (!new_entry) { in f2fs_rename()
1038 f2fs_set_link(new_dir, new_entry, new_page, old_inode); in f2fs_rename()
1139 struct f2fs_dir_entry *old_entry, *new_entry; in f2fs_cross_rename() local
1172 new_entry = f2fs_find_entry(new_dir, &new_dentry->d_name, &new_page); in f2fs_cross_rename()
1173 if (!new_entry) { in f2fs_cross_rename()
1249 f2fs_set_link(new_dir, new_entry, new_page, old_inode); in f2fs_cross_rename()
/linux-6.3-rc2/drivers/infiniband/hw/hfi1/
A Daffinity.c598 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.3-rc2/mm/
A Dmremap.c442 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.3-rc2/drivers/scsi/
A Dnsp32.c1723 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()
A Dhpsa.c1363 int entry, struct hpsa_scsi_dev_t *new_entry) in hpsa_scsi_update_entry() argument
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()
1389 if (new_entry->offload_to_be_enabled) { in hpsa_scsi_update_entry()
1408 if (!new_entry->offload_to_be_enabled) in hpsa_scsi_update_entry()
1416 int entry, struct hpsa_scsi_dev_t *new_entry, in hpsa_scsi_replace_entry() argument
1429 if (new_entry->target == -1) { in hpsa_scsi_replace_entry()
1430 new_entry->target = h->dev[entry]->target; in hpsa_scsi_replace_entry()
1431 new_entry->lun = h->dev[entry]->lun; in hpsa_scsi_replace_entry()
1434 h->dev[entry] = new_entry; in hpsa_scsi_replace_entry()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4vf/
A Dcxgb4vf_main.c275 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.3-rc2/fs/exfat/
A Dnamei.c1171 int new_entry = 0; in __exfat_rename() local
1199 new_entry = new_ei->entry; in __exfat_rename()
1200 ep = exfat_get_dentry(sb, p_dir, new_entry, &new_bh); in __exfat_rename()
1240 ep = exfat_get_dentry(sb, p_dir, new_entry, &new_bh); in __exfat_rename()
1246 num_entries = exfat_count_ext_entries(sb, p_dir, new_entry, ep); in __exfat_rename()
1253 if (exfat_remove_entries(new_inode, p_dir, new_entry, 0, in __exfat_rename()
/linux-6.3-rc2/tools/net/ynl/lib/
A Dnlspec.py123 e = self.new_entry(entry, prev_entry, value_start)
128 def new_entry(self, entry, prev_entry, value_start): member in SpecEnumSet
/linux-6.3-rc2/drivers/iommu/
A Dvirtio-iommu.c893 struct iommu_resv_region *entry, *new_entry, *msi = NULL; in viommu_get_resv_regions() local
901 new_entry = kmemdup(entry, sizeof(*entry), GFP_KERNEL); in viommu_get_resv_regions()
902 if (!new_entry) in viommu_get_resv_regions()
904 list_add_tail(&new_entry->list, head); in viommu_get_resv_regions()
/linux-6.3-rc2/drivers/net/wireless/intersil/hostap/
A Dhostap_hw.c2950 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.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_acl_tcam.c1166 struct mlxsw_sp_acl_tcam_entry *new_entry; in mlxsw_sp_acl_tcam_ventry_migrate() local
1175 new_entry = mlxsw_sp_acl_tcam_entry_create(mlxsw_sp, ventry, chunk); in mlxsw_sp_acl_tcam_ventry_migrate()
1176 if (IS_ERR(new_entry)) in mlxsw_sp_acl_tcam_ventry_migrate()
1177 return PTR_ERR(new_entry); in mlxsw_sp_acl_tcam_ventry_migrate()
1179 ventry->entry = new_entry; in mlxsw_sp_acl_tcam_ventry_migrate()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_npc.c2855 u16 old_entry, new_entry; in rvu_mbox_handler_npc_mcam_shift_entry() local
2869 new_entry = req->new_entry[index]; in rvu_mbox_handler_npc_mcam_shift_entry()
2878 rc = npc_mcam_verify_entry(mcam, pcifunc, new_entry); in rvu_mbox_handler_npc_mcam_shift_entry()
2883 if (mcam->entry2cntr_map[new_entry] != NPC_MCAM_INVALID_MAP) { in rvu_mbox_handler_npc_mcam_shift_entry()
2889 npc_enable_mcam_entry(rvu, mcam, blkaddr, new_entry, false); in rvu_mbox_handler_npc_mcam_shift_entry()
2892 npc_copy_mcam_entry(rvu, mcam, blkaddr, old_entry, new_entry); in rvu_mbox_handler_npc_mcam_shift_entry()
2900 new_entry, cntr); in rvu_mbox_handler_npc_mcam_shift_entry()
2904 npc_enable_mcam_entry(rvu, mcam, blkaddr, new_entry, true); in rvu_mbox_handler_npc_mcam_shift_entry()

Completed in 112 milliseconds

12