Home
last modified time | relevance | path

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

/linux-2.6.39/fs/ext4/
Dblock_validity.c62 struct ext4_system_zone *new_entry = NULL, *entry; in add_system_zone() local
79 new_entry = rb_entry(new_node, struct ext4_system_zone, in add_system_zone()
85 if (!new_entry) { in add_system_zone()
86 new_entry = kmem_cache_alloc(ext4_system_zone_cachep, in add_system_zone()
88 if (!new_entry) in add_system_zone()
90 new_entry->start_blk = start_blk; in add_system_zone()
91 new_entry->count = count; in add_system_zone()
92 new_node = &new_entry->node; in add_system_zone()
102 if (can_merge(entry, new_entry)) { in add_system_zone()
103 new_entry->start_blk = entry->start_blk; in add_system_zone()
[all …]
Dmballoc.c4425 struct ext4_free_data *new_entry) in ext4_mb_free_metadata() argument
4440 new_node = &new_entry->node; in ext4_mb_free_metadata()
4441 block = new_entry->start_blk; in ext4_mb_free_metadata()
4474 if (can_merge(entry, new_entry)) { in ext4_mb_free_metadata()
4475 new_entry->start_blk = entry->start_blk; in ext4_mb_free_metadata()
4476 new_entry->count += entry->count; in ext4_mb_free_metadata()
4488 if (can_merge(new_entry, entry)) { in ext4_mb_free_metadata()
4489 new_entry->count += entry->count; in ext4_mb_free_metadata()
4499 list_add(&new_entry->list, &handle->h_transaction->t_private_list); in ext4_mb_free_metadata()
4638 struct ext4_free_data *new_entry; in ext4_free_blocks() local
[all …]
/linux-2.6.39/security/tomoyo/
Ddomain.c31 int tomoyo_update_policy(struct tomoyo_acl_head *new_entry, const int size, in tomoyo_update_policy() argument
44 if (!check_duplicate(entry, new_entry)) in tomoyo_update_policy()
51 entry = tomoyo_commit_ok(new_entry, size); in tomoyo_update_policy()
75 int tomoyo_update_domain(struct tomoyo_acl_info *new_entry, const int size, in tomoyo_update_domain() argument
91 if (!check_duplicate(entry, new_entry)) in tomoyo_update_domain()
94 entry->is_deleted = merge_duplicate(entry, new_entry, in tomoyo_update_domain()
102 entry = tomoyo_commit_ok(new_entry, size); in tomoyo_update_domain()
Dcommon.h867 int tomoyo_update_domain(struct tomoyo_acl_info *new_entry, const int size,
876 int tomoyo_update_policy(struct tomoyo_acl_head *new_entry, const int size,
/linux-2.6.39/drivers/net/mlx4/
Dmcg.c112 struct mlx4_steer_index *new_entry; in new_steering_entry() local
121 new_entry = kzalloc(sizeof *new_entry, GFP_KERNEL); in new_steering_entry()
122 if (!new_entry) in new_steering_entry()
125 INIT_LIST_HEAD(&new_entry->duplicates); in new_steering_entry()
126 new_entry->index = index; in new_steering_entry()
127 list_add_tail(&new_entry->list, &s_steer->steer_entries[steer]); in new_steering_entry()
140 list_add_tail(&dqp->list, &new_entry->duplicates); in new_steering_entry()
189 list_del(&new_entry->list); in new_steering_entry()
190 kfree(new_entry); in new_steering_entry()
621 u8 new_entry = 0; in mlx4_qp_attach_common() local
[all …]
/linux-2.6.39/fs/cifs/
Dreaddir.c308 char *new_entry; in nxt_dir_entry() local
315 new_entry = old_entry + sizeof(FIND_FILE_STANDARD_INFO) + in nxt_dir_entry()
318 new_entry = old_entry + le32_to_cpu(pDirInfo->NextEntryOffset); in nxt_dir_entry()
319 cFYI(1, "new entry %p old entry %p", new_entry, old_entry); in nxt_dir_entry()
321 if (new_entry >= end_of_smb) { in nxt_dir_entry()
323 new_entry, end_of_smb, old_entry); in nxt_dir_entry()
326 (new_entry + sizeof(FIND_FILE_STANDARD_INFO) > end_of_smb)) in nxt_dir_entry()
328 (new_entry + sizeof(FILE_DIRECTORY_INFO) > end_of_smb))) { in nxt_dir_entry()
330 new_entry, end_of_smb); in nxt_dir_entry()
333 return new_entry; in nxt_dir_entry()
/linux-2.6.39/tools/perf/util/
Dstrlist.c40 int strlist__add(struct strlist *self, const char *new_entry) in strlist__add() argument
51 rc = strcmp(sn->s, new_entry); in strlist__add()
61 sn = str_node__new(new_entry, self->dupstr); in strlist__add()
/linux-2.6.39/arch/blackfin/kernel/
Dsetup.c299 int new_entry; in sanitize_memmap() local
388 new_entry = 0; /* index for creating new memmap entries */ in sanitize_memmap()
414 new_map[new_entry].size = in sanitize_memmap()
417 if (new_map[new_entry].size != 0) in sanitize_memmap()
418 if (++new_entry >= BFIN_MEMMAP_MAX) in sanitize_memmap()
422 new_map[new_entry].addr = change_point[chgidx]->addr; in sanitize_memmap()
423 new_map[new_entry].type = current_type; in sanitize_memmap()
429 new_nr = new_entry; /* retain count for new entries */ in sanitize_memmap()
/linux-2.6.39/drivers/pci/pcie/
Dportdrv_core.c43 struct msix_entry *entries, int new_entry, int nr_entries) in pcie_port_msix_add_entry() argument
48 if (entries[j].entry == new_entry) in pcie_port_msix_add_entry()
51 entries[j].entry = new_entry; in pcie_port_msix_add_entry()
/linux-2.6.39/drivers/scsi/
Dnsp32.c1754 int new_entry; in nsp32_adjust_busfree() local
1770 for (new_entry = old_entry; new_entry < sg_num; new_entry++) { in nsp32_adjust_busfree()
1771 sentlen += (le32_to_cpu(sgt[new_entry].len) & ~SGTEND); in nsp32_adjust_busfree()
1778 if (new_entry == sg_num) { in nsp32_adjust_busfree()
1792 len = le32_to_cpu(sgt[new_entry].len); in nsp32_adjust_busfree()
1793 addr = le32_to_cpu(sgt[new_entry].addr); in nsp32_adjust_busfree()
1795 sgt[new_entry].addr = cpu_to_le32(addr); in nsp32_adjust_busfree()
1796 sgt[new_entry].len = cpu_to_le32(restlen); in nsp32_adjust_busfree()
1799 data->cur_entry = new_entry; in nsp32_adjust_busfree()
Dhpsa.c642 int entry, struct hpsa_scsi_dev_t *new_entry, in hpsa_scsi_replace_entry() argument
650 h->dev[entry] = new_entry; in hpsa_scsi_replace_entry()
651 added[*nadded] = new_entry; in hpsa_scsi_replace_entry()
654 scsi_device_type(new_entry->devtype), hostno, new_entry->bus, in hpsa_scsi_replace_entry()
655 new_entry->target, new_entry->lun); in hpsa_scsi_replace_entry()
Dpmcraid.c1589 u32 new_entry = 1; in pmcraid_handle_config_change() local
1655 new_entry = 0; in pmcraid_handle_config_change()
1660 if (new_entry) { in pmcraid_handle_config_change()
/linux-2.6.39/drivers/net/wireless/hostap/
Dhostap_hw.c2973 struct set_tim_data *new_entry; in prism2_set_tim() local
2980 new_entry = kzalloc(sizeof(*new_entry), GFP_ATOMIC); in prism2_set_tim()
2981 if (new_entry == NULL) { in prism2_set_tim()
2986 new_entry->aid = aid; in prism2_set_tim()
2987 new_entry->set = set; in prism2_set_tim()
2998 kfree(new_entry); in prism2_set_tim()
2999 new_entry = NULL; in prism2_set_tim()
3003 if (new_entry) in prism2_set_tim()
3004 list_add_tail(&new_entry->list, &local->set_tim_list); in prism2_set_tim()