Home
last modified time | relevance | path

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

12

/openbmc/qemu/tests/qemu-iotests/
H A Dfat16.py415 new_entry.reserved = 0
416 new_entry.create_time_tenth = 0
417 new_entry.create_time = 0
418 new_entry.create_date = 0
419 new_entry.last_access_date = 0
420 new_entry.last_mod_time = 0
421 new_entry.last_mod_date = 0
423 new_entry.size_bytes = 0
438 return new_entry
444 new_entry.sector = (
[all …]
/openbmc/linux/fs/ext4/
H 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 …]
H A Dmballoc.c6306 struct ext4_free_data *new_entry, in ext4_try_merge_freed_extent() argument
6313 new_entry->efd_start_cluster) { in ext4_try_merge_freed_extent()
6315 new_entry->efd_count += entry->efd_count; in ext4_try_merge_freed_extent()
6316 } else if (new_entry->efd_start_cluster + new_entry->efd_count == in ext4_try_merge_freed_extent()
6330 struct ext4_free_data *new_entry) in ext4_mb_free_metadata() argument
6346 new_node = &new_entry->efd_node; in ext4_mb_free_metadata()
6347 cluster = new_entry->efd_start_cluster; in ext4_mb_free_metadata()
6558 struct ext4_free_data *new_entry; in ext4_mb_clear_bb() local
6565 new_entry->efd_start_cluster = bit; in ext4_mb_clear_bb()
6566 new_entry->efd_group = block_group; in ext4_mb_clear_bb()
[all …]
/openbmc/linux/fs/btrfs/
H 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()
H A Dlru_cache.h69 struct btrfs_lru_cache_entry *new_entry,
/openbmc/linux/mm/
H A Dshmem_quota.c172 struct quota_id *new_entry, *entry; in shmem_acquire_dquot() local
195 new_entry = kzalloc(sizeof(struct quota_id), GFP_NOFS); in shmem_acquire_dquot()
196 if (!new_entry) { in shmem_acquire_dquot()
201 new_entry->id = id; in shmem_acquire_dquot()
203 new_entry->bhardlimit = sbinfo->qlimits.usrquota_bhardlimit; in shmem_acquire_dquot()
204 new_entry->ihardlimit = sbinfo->qlimits.usrquota_ihardlimit; in shmem_acquire_dquot()
206 new_entry->bhardlimit = sbinfo->qlimits.grpquota_bhardlimit; in shmem_acquire_dquot()
207 new_entry->ihardlimit = sbinfo->qlimits.grpquota_ihardlimit; in shmem_acquire_dquot()
210 new_node = &new_entry->node; in shmem_acquire_dquot()
213 entry = new_entry; in shmem_acquire_dquot()
H A Dmremap.c460 void *old_entry, void *new_entry, bool need_rmap_locks) in move_pgt_entry() argument
471 new_entry); in move_pgt_entry()
475 new_entry); in move_pgt_entry()
480 new_entry); in move_pgt_entry()
485 new_entry); in move_pgt_entry()
/openbmc/qemu/util/
H A Dyank.c186 YankInstanceList *new_entry; in qmp_query_yank() local
187 new_entry = g_new0(YankInstanceList, 1); in qmp_query_yank()
188 new_entry->value = QAPI_CLONE(YankInstance, entry->instance); in qmp_query_yank()
189 new_entry->next = ret; in qmp_query_yank()
190 ret = new_entry; in qmp_query_yank()
H A Dreadline.c220 char *hist_entry, *new_entry; in readline_hist_add() local
226 new_entry = NULL; in readline_hist_add()
246 new_entry = hist_entry; in readline_hist_add()
267 if (new_entry == NULL) { in readline_hist_add()
268 new_entry = g_strdup(cmdline); in readline_hist_add()
270 rs->history[idx] = new_entry; in readline_hist_add()
/openbmc/linux/security/tomoyo/
H 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 …]
/openbmc/linux/drivers/s390/cio/
H 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()
/openbmc/openbmc/poky/scripts/
H A Dbblock162 new_entry = "{pn}:{taskname}:{sig}".format(
167 and not new_entry in siggen_locked_sigs_package_arch
170 package_arch=package_arch, new_entry=new_entry
/openbmc/linux/tools/perf/util/
H 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()
H 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);
H 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()
/openbmc/openbmc/poky/meta/recipes-connectivity/openssl/openssl/
H A D0001-Added-handshake-history-reporting-when-test-fails.patch102 + HANDSHAKE_HISTORY_ENTRY *new_entry = NULL;
112 + new_entry = &((history->entries)[history->last_idx]);
113 + new_entry->phase = phase;
114 + new_entry->handshake_status = handshake_status;
115 + new_entry->server_status = server_status;
116 + new_entry->client_status = client_status;
117 + new_entry->client_turn_count = client_turn_count;
118 + new_entry->is_client_turn = is_client_turn;
/openbmc/linux/net/mptcp/
H A Dpm_userspace.c135 struct mptcp_pm_addr_entry *entry = NULL, *e, new_entry; in mptcp_userspace_pm_get_local_id() local
150 memset(&new_entry, 0, sizeof(struct mptcp_pm_addr_entry)); in mptcp_userspace_pm_get_local_id()
151 new_entry.addr = *skc; in mptcp_userspace_pm_get_local_id()
152 new_entry.addr.id = 0; in mptcp_userspace_pm_get_local_id()
153 new_entry.flags = MPTCP_PM_ADDR_FLAG_IMPLICIT; in mptcp_userspace_pm_get_local_id()
155 if (new_entry.addr.port == msk_sport) in mptcp_userspace_pm_get_local_id()
156 new_entry.addr.port = 0; in mptcp_userspace_pm_get_local_id()
158 return mptcp_userspace_pm_append_new_local_addr(msk, &new_entry, true); in mptcp_userspace_pm_get_local_id()
/openbmc/linux/arch/x86/kvm/svm/
H A Davic.c279 u64 *entry, new_entry; in avic_init_backing_page() local
311 new_entry = __sme_set((page_to_phys(svm->avic_backing_page) & in avic_init_backing_page()
314 WRITE_ONCE(*entry, new_entry); in avic_init_backing_page()
581 u32 *entry, new_entry; in avic_ldr_write() local
588 new_entry = READ_ONCE(*entry); in avic_ldr_write()
589 new_entry &= ~AVIC_LOGICAL_ID_ENTRY_GUEST_PHYSICAL_ID_MASK; in avic_ldr_write()
590 new_entry |= (g_physical_id & AVIC_LOGICAL_ID_ENTRY_GUEST_PHYSICAL_ID_MASK); in avic_ldr_write()
591 new_entry |= AVIC_LOGICAL_ID_ENTRY_VALID_MASK; in avic_ldr_write()
592 WRITE_ONCE(*entry, new_entry); in avic_ldr_write()
/openbmc/linux/fs/smb/client/
H A Dreaddir.c447 char *new_entry; in nxt_dir_entry() local
454 new_entry = old_entry + sizeof(FIND_FILE_STANDARD_INFO) + 1 + in nxt_dir_entry()
463 new_entry = old_entry + next_offset; in nxt_dir_entry()
465 cifs_dbg(FYI, "new entry %p old entry %p\n", new_entry, old_entry); in nxt_dir_entry()
467 if (new_entry >= end_of_smb) { in nxt_dir_entry()
469 new_entry, end_of_smb, old_entry); in nxt_dir_entry()
472 (new_entry + sizeof(FIND_FILE_STANDARD_INFO) + 1 > end_of_smb)) in nxt_dir_entry()
474 (new_entry + sizeof(FILE_DIRECTORY_INFO) + 1 > end_of_smb))) { in nxt_dir_entry()
476 new_entry, end_of_smb); in nxt_dir_entry()
479 return new_entry; in nxt_dir_entry()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H 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 …]
/openbmc/linux/fs/f2fs/
H A Dnamei.c898 struct f2fs_dir_entry *new_entry; in f2fs_rename() local
976 new_entry = f2fs_find_entry(new_dir, &new_dentry->d_name, in f2fs_rename()
978 if (!new_entry) { in f2fs_rename()
992 f2fs_set_link(new_dir, new_entry, new_page, old_inode); in f2fs_rename()
1093 struct f2fs_dir_entry *old_entry, *new_entry; in f2fs_cross_rename() local
1126 new_entry = f2fs_find_entry(new_dir, &new_dentry->d_name, &new_page); in f2fs_cross_rename()
1127 if (!new_entry) { in f2fs_cross_rename()
1203 f2fs_set_link(new_dir, new_entry, new_page, old_inode); in f2fs_cross_rename()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Daffinity.c596 bool new_entry = false; in hfi1_dev_affinity_init() local
617 new_entry = true; in hfi1_dev_affinity_init()
694 ret = _dev_comp_vect_cpu_mask_init(dd, entry, new_entry); in hfi1_dev_affinity_init()
698 if (new_entry) in hfi1_dev_affinity_init()
707 if (new_entry) in hfi1_dev_affinity_init()
/openbmc/linux/drivers/scsi/
H 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()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H 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 …]
/openbmc/linux/fs/exfat/
H A Dnamei.c1183 int new_entry = 0; in __exfat_rename() local
1211 new_entry = new_ei->entry; in __exfat_rename()
1212 ep = exfat_get_dentry(sb, p_dir, new_entry, &new_bh); in __exfat_rename()
1252 ep = exfat_get_dentry(sb, p_dir, new_entry, &new_bh); in __exfat_rename()
1258 num_entries = exfat_count_ext_entries(sb, p_dir, new_entry, ep); in __exfat_rename()
1265 if (exfat_remove_entries(new_inode, p_dir, new_entry, 0, in __exfat_rename()

12