Home
last modified time | relevance | path

Searched refs:dup (Results 1 – 25 of 116) sorted by relevance

12345

/linux/fs/xfs/libxfs/
H A Dxfs_dir2_data.c25 struct xfs_dir2_data_unused *dup,
179 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; in __xfs_dir3_data_check() local
195 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in __xfs_dir3_data_check()
199 be16_to_cpu(dup->length)); in __xfs_dir3_data_check()
202 if (be16_to_cpu(dup->length) != reclen) in __xfs_dir3_data_check()
206 if (be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) != in __xfs_dir3_data_check()
209 fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp); in __xfs_dir3_data_check()
218 if (be16_to_cpu(dup->length) > in __xfs_dir3_data_check()
488 struct xfs_dir2_data_unused *dup, in xfs_dir2_data_freefind_verify() argument
497 off = (xfs_dir2_data_aoff_t)((char *)dup in xfs_dir2_data_freefind_verify()
547 xfs_dir2_data_freefind(struct xfs_dir2_data_hdr * hdr,struct xfs_dir2_data_free * bf,struct xfs_dir2_data_unused * dup) xfs_dir2_data_freefind() argument
583 xfs_dir2_data_freeinsert(struct xfs_dir2_data_hdr * hdr,struct xfs_dir2_data_free * dfp,struct xfs_dir2_data_unused * dup,int * loghead) xfs_dir2_data_freeinsert() argument
689 struct xfs_dir2_data_unused *dup = addr + offset; xfs_dir2_data_freescan() local
728 struct xfs_dir2_data_unused *dup; xfs_dir3_data_init() local
833 xfs_dir2_data_log_unused(struct xfs_da_args * args,struct xfs_buf * bp,xfs_dir2_data_unused_t * dup) xfs_dir2_data_log_unused() argument
1039 xfs_dir2_data_check_free(struct xfs_dir2_data_hdr * hdr,struct xfs_dir2_data_unused * dup,xfs_dir2_data_aoff_t offset,xfs_dir2_data_aoff_t len) xfs_dir2_data_check_free() argument
1083 xfs_dir2_data_use_free(struct xfs_da_args * args,struct xfs_buf * bp,xfs_dir2_data_unused_t * dup,xfs_dir2_data_aoff_t offset,xfs_dir2_data_aoff_t len,int * needlogp,int * needscanp) xfs_dir2_data_use_free() argument
[all...]
H A Dxfs_dir2_block.c207 struct xfs_dir2_data_unused *dup = NULL; in xfs_dir2_block_need_space() local
221 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
234 dup = (xfs_dir2_data_unused_t *)((char *)hdr + be16_to_cpu(*tagp)); in xfs_dir2_block_need_space()
240 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_need_space()
241 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()
243 dup = NULL; in xfs_dir2_block_need_space()
245 dup = NULL; in xfs_dir2_block_need_space()
247 dup = (xfs_dir2_data_unused_t *)blp; in xfs_dir2_block_need_space()
269 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
271 if (dup ! in xfs_dir2_block_need_space()
367 xfs_dir2_data_unused_t *dup; /* block unused entry */ xfs_dir2_block_addname() local
938 xfs_dir2_data_unused_t *dup; /* unused data entry */ xfs_dir2_leaf_to_block() local
1091 xfs_dir2_data_unused_t *dup; /* unused entry pointer */ xfs_dir2_sf_to_block() local
[all...]
H A Dxfs_dir2.h101 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup);
106 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup,
112 struct xfs_dir2_data_unused *dup);
/linux/kernel/gcov/
H A Dgcc_4_7.c278 struct gcov_info *dup; in gcov_info_dup() local
287 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup()
288 if (!dup) in gcov_info_dup()
291 dup->next = NULL; in gcov_info_dup()
292 dup->filename = NULL; in gcov_info_dup()
293 dup->functions = NULL; in gcov_info_dup()
295 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
296 if (!dup->filename) in gcov_info_dup()
299 dup in gcov_info_dup()
[all...]
H A Dclang.c317 struct gcov_info *dup; in gcov_info_dup() local
320 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup()
321 if (!dup) in gcov_info_dup()
323 INIT_LIST_HEAD(&dup->head); in gcov_info_dup()
324 INIT_LIST_HEAD(&dup->functions); in gcov_info_dup()
325 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
326 if (!dup->filename) in gcov_info_dup()
334 list_add_tail(&fn_dup->head, &dup->functions); in gcov_info_dup()
337 return dup; in gcov_info_dup()
[all...]
/linux/drivers/isdn/mISDN/
H A Ddsp_hwec.c54 char *dup, *tok, *name, *val; in dsp_hwec_enable() local
57 dup = kstrdup(arg, GFP_ATOMIC); in dsp_hwec_enable()
58 if (!dup) in dsp_hwec_enable()
61 while ((tok = strsep(&dup, ","))) { in dsp_hwec_enable()
76 kfree(dup); in dsp_hwec_enable()
/linux/Documentation/translations/zh_CN/mm/
H A Dksm.rst61 那些仅包含极少rmap项的稳定节点"dup",但这可能会增加ksmd进程的CPU使用率,并可
/linux/drivers/staging/rtl8723bs/os_dep/
H A Dosdep_service.c126 u8 *dup = NULL; in rtw_buf_update() local
135 dup = rtw_malloc(src_len); in rtw_buf_update()
136 if (dup) { in rtw_buf_update()
138 memcpy(dup, src, dup_len); in rtw_buf_update()
145 /* replace buf with dup */ in rtw_buf_update()
147 *buf = dup; in rtw_buf_update()
/linux/security/ipe/
H A Dpolicy_parser.c306 char *dup = NULL; in parse_property() local
317 dup = match_strdup(&args[0]); in parse_property()
318 if (!dup) { in parse_property()
322 p->value = ipe_digest_parse(dup); in parse_property()
345 kfree(dup); in parse_property()
508 char *policy = NULL, *dup = NULL; in ipe_parse_policy() local
520 dup = policy; in ipe_parse_policy()
554 kfree(dup); in ipe_parse_policy()
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pcsx-defs.h422 uint64_t dup:1; member
426 uint64_t dup:1;
441 uint64_t dup:1; member
465 uint64_t dup:1;
473 uint64_t dup:1; member
497 uint64_t dup:1;
509 uint64_t dup:1; member
533 uint64_t dup:1;
541 uint64_t dup:1; member
565 uint64_t dup
638 uint64_t dup:1; global() member
750 uint64_t dup:1; global() member
774 uint64_t dup:1; global() member
[all...]
/linux/fs/xfs/
H A Dxfs_dir2_readdir.c176 * Each object is a real entry (dep) or an unused one (dup). in xfs_dir2_block_getdents()
182 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; in xfs_dir2_block_getdents() local
189 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_getdents()
190 next_offset = offset + be16_to_cpu(dup->length); in xfs_dir2_block_getdents()
358 xfs_dir2_data_unused_t *dup; /* unused entry */ in xfs_dir2_leaf_getdents() local
423 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
425 if (be16_to_cpu(dup->freetag) in xfs_dir2_leaf_getdents()
428 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
452 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
457 if (be16_to_cpu(dup in xfs_dir2_leaf_getdents()
[all...]
/linux/fs/xfs/scrub/
H A Dreaddir.c111 struct xfs_dir2_data_unused *dup = bp->b_addr + off; in xchk_dir_walk_block() local
117 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_walk_block()
118 next_off = off + be16_to_cpu(dup->length); in xchk_dir_walk_block()
200 struct xfs_dir2_data_unused *dup; in xchk_dir_walk_leaf() local
229 dup = bp->b_addr + offset; in xchk_dir_walk_leaf()
230 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_walk_leaf()
231 length = be16_to_cpu(dup->length); in xchk_dir_walk_leaf()
H A Ddir.c391 struct xfs_dir2_data_unused *dup = bp->b_addr + iter_off; in xchk_dir_rec() local
398 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_rec()
399 iter_off += be16_to_cpu(dup->length); in xchk_dir_rec()
441 struct xfs_dir2_data_unused *dup) in xchk_directory_check_free_entry() argument
446 dup_length = be16_to_cpu(dup->length); in xchk_directory_check_free_entry()
467 struct xfs_dir2_data_unused *dup; in xchk_directory_data_bestfree() local
511 dup = bp->b_addr + offset; in xchk_directory_data_bestfree()
512 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
515 if (dup->freetag != cpu_to_be16(XFS_DIR2_DATA_FREE_TAG) || in xchk_directory_data_bestfree()
516 be16_to_cpu(dup in xchk_directory_data_bestfree()
[all...]
/linux/Documentation/mm/
H A Dksm.rst32 more "dups". Each "dup" keeps reverse mapping information for a KSM
33 page with ``page->mapping`` pointing to that "dup".
37 even if each "dup" will be pointed by a different KSM page copy of
54 practice the best stable_node "dup" candidate will be kept and found
68 one stable_node dup to another stable_node dup, in order to free up
/linux/fs/ntfs3/
H A Dfrecord.c2862 memcpy(&de_name->dup, &fname->dup, sizeof(struct NTFS_DUP_INFO)); in ni_remove_name()
2983 memcpy(&de_name->dup, &fname->dup, sizeof(fname->dup)); in ni_add_name()
2984 de_name->dup.fa = ni->std_fa; in ni_add_name()
3073 static bool ni_update_parent(struct ntfs_inode *ni, struct NTFS_DUP_INFO *dup, in ni_update_parent() argument
3084 dup->fa |= FILE_ATTRIBUTE_DIRECTORY; in ni_update_parent()
3086 dup->alloc_size = 0; in ni_update_parent()
3087 dup in ni_update_parent()
3206 struct NTFS_DUP_INFO dup; ni_write_inode() local
[all...]
/linux/drivers/platform/x86/
H A Dtopstar-laptop.c239 bool *dup; in topstar_acpi_notify() local
243 dup = &dup_evnt[event - 0x83]; in topstar_acpi_notify()
244 if (*dup) { in topstar_acpi_notify()
245 *dup = false; in topstar_acpi_notify()
248 *dup = true; in topstar_acpi_notify()
/linux/drivers/md/dm-vdo/
H A Dmemory-alloc.c369 u8 *dup; in vdo_duplicate_string() local
371 result = vdo_allocate(strlen(string) + 1, u8, what, &dup); in vdo_duplicate_string()
375 memcpy(dup, string, strlen(string) + 1); in vdo_duplicate_string()
376 *new_string = dup; in vdo_duplicate_string()
/linux/drivers/pci/
H A Dslot.c110 int len, max, dup; in make_slot_name() local
123 dup = 1; in make_slot_name()
131 if (dup == max) { in make_slot_name()
139 sprintf(new_name, "%s-%d", name, dup++); in make_slot_name()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dmap_btf.c33 new_fd = dup(bpf_map__fd(skel->maps.array)); in do_test_normal_map_btf()
74 new_fd = dup(bpf_map__fd(skel->maps.inner_array)); in do_test_map_in_map_btf()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c169 bool dup = mlx4_is_mf_bonded(dev); in __mlx4_register_mac() local
177 dup ? "with" : "without"); in __mlx4_register_mac()
246 if (dup) { in __mlx4_register_mac()
259 if (dup) { in __mlx4_register_mac()
262 dup = false; in __mlx4_register_mac()
291 if (dup) { in __mlx4_register_mac()
364 bool dup = mlx4_is_mf_bonded(dev); in __mlx4_unregister_mac() local
375 if (dup) { in __mlx4_unregister_mac()
405 if (dup) { in __mlx4_unregister_mac()
416 if (dup) { in __mlx4_unregister_mac()
460 bool dup = mlx4_is_mf_bonded(dev); __mlx4_replace_mac() local
564 bool dup = mlx4_is_mf_bonded(dev); __mlx4_register_vlan() local
746 bool dup = mlx4_is_mf_bonded(dev); __mlx4_unregister_vlan() local
[all...]
/linux/fs/
H A Dmbcache.c77 struct mb_cache_entry *entry, *dup; in mb_cache_entry_create() local
108 hlist_bl_for_each_entry(dup, dup_node, head, e_hash_list) { in mb_cache_entry_create()
109 if (dup->e_key == key && dup->e_value == value) { in mb_cache_entry_create()
/linux/tools/perf/tests/
H A Dpmu-events.c799 char *dup, *cur; in check_parse_id() local
809 dup = strdup(id); in check_parse_id()
810 if (!dup) in check_parse_id()
813 for (cur = strchr(dup, '@') ; cur; cur = strchr(++cur, '@')) in check_parse_id()
816 ret = __parse_events(evlist, dup, /*pmu_filter=*/NULL, error, /*fake_pmu=*/true, in check_parse_id()
818 free(dup); in check_parse_id()
/linux/fs/overlayfs/
H A Dparams.c496 char *dup = NULL, *iter; in ovl_parse_param_lowerdir() local
521 dup = kstrdup(name, GFP_KERNEL); in ovl_parse_param_lowerdir()
522 if (!dup) in ovl_parse_param_lowerdir()
526 nr_lower = ovl_parse_param_split_lowerdirs(dup); in ovl_parse_param_lowerdir()
535 iter = dup; in ovl_parse_param_lowerdir()
574 kfree(dup); in ovl_parse_param_lowerdir()
578 kfree(dup); in ovl_parse_param_lowerdir()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_core.c696 memcpy(&fte->act_dests, &fte->dup->act_dests, sizeof(fte->act_dests)); in switch_to_pending_act_dests()
699 fte->dup->children.next, in switch_to_pending_act_dests()
700 fte->dup->children.prev); in switch_to_pending_act_dests()
731 if (fte->dup && !list_empty(&fte->dup->children)) { in del_hw_fte()
774 kvfree(fte->dup); in del_sw_fte()
1189 if (!fte->dup || list_empty(&fte->dup->children)) in rule_is_pending()
1192 list_for_each_entry(iter, &fte->dup->children, list) { in rule_is_pending()
1218 act_dests = &fte->dup in _mlx5_modify_rule_destination()
2179 struct fs_fte_dup *dup; add_rule_dup_match_fte() local
[all...]
/linux/fs/exfat/
H A Dmisc.c200 void exfat_chain_dup(struct exfat_chain *dup, struct exfat_chain *ec) in exfat_chain_dup() argument
202 return exfat_chain_set(dup, ec->dir, ec->size, ec->flags); in exfat_chain_dup()

12345