Home
last modified time | relevance | path

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

/linux-4.4.14/fs/xfs/libxfs/
Dxfs_dir2_data.c53 xfs_dir2_data_unused_t *dup; /* unused entry */ in __xfs_dir3_data_check() local
131 dup = (xfs_dir2_data_unused_t *)p; in __xfs_dir3_data_check()
137 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in __xfs_dir3_data_check()
140 be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) == in __xfs_dir3_data_check()
141 (char *)dup - (char *)hdr); in __xfs_dir3_data_check()
142 dfp = xfs_dir2_data_freefind(hdr, bf, dup); in __xfs_dir3_data_check()
150 be16_to_cpu(dup->length) <= in __xfs_dir3_data_check()
153 p += be16_to_cpu(dup->length); in __xfs_dir3_data_check()
355 struct xfs_dir2_data_unused *dup) /* unused space */ in xfs_dir2_data_freefind() argument
364 off = (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr); in xfs_dir2_data_freefind()
[all …]
Dxfs_dir2_block.c185 struct xfs_dir2_data_unused *dup = NULL; in xfs_dir2_block_need_space() local
199 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
212 dup = (xfs_dir2_data_unused_t *)((char *)hdr + be16_to_cpu(*tagp)); in xfs_dir2_block_need_space()
218 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_need_space()
219 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()
221 dup = NULL; in xfs_dir2_block_need_space()
223 dup = NULL; in xfs_dir2_block_need_space()
225 dup = (xfs_dir2_data_unused_t *)blp; in xfs_dir2_block_need_space()
247 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
249 if (dup != enddup) { in xfs_dir2_block_need_space()
[all …]
Dxfs_dir2.h167 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup);
172 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup,
178 struct xfs_dir2_data_unused *dup);
Dxfs_da_format.h408 xfs_dir2_data_unused_tag_p(struct xfs_dir2_data_unused *dup) in xfs_dir2_data_unused_tag_p() argument
410 return (__be16 *)((char *)dup + in xfs_dir2_data_unused_tag_p()
411 be16_to_cpu(dup->length) - sizeof(__be16)); in xfs_dir2_data_unused_tag_p()
Dxfs_dir2_leaf.c616 xfs_dir2_data_unused_t *dup; /* data unused entry */ in xfs_dir2_leaf_addname() local
846 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_leaf_addname()
848 ASSERT(be16_to_cpu(dup->length) >= length); in xfs_dir2_leaf_addname()
853 xfs_dir2_data_use_free(args, dbp, dup, in xfs_dir2_leaf_addname()
854 (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr), length, in xfs_dir2_leaf_addname()
859 dep = (xfs_dir2_data_entry_t *)dup; in xfs_dir2_leaf_addname()
Dxfs_dir2_priv.h56 struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup,
Dxfs_dir2_sf.c163 xfs_dir2_data_unused_t *dup; /* unused data pointer */ in xfs_dir2_block_to_sf() local
208 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_block_to_sf()
209 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_to_sf()
210 ptr += be16_to_cpu(dup->length); in xfs_dir2_block_to_sf()
Dxfs_dir2_node.c1651 xfs_dir2_data_unused_t *dup; /* data unused entry pointer */ in xfs_dir2_node_addname_int() local
1957 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_node_addname_int()
1963 xfs_dir2_data_use_free(args, dbp, dup, in xfs_dir2_node_addname_int()
1964 (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr), length, in xfs_dir2_node_addname_int()
1969 dep = (xfs_dir2_data_entry_t *)dup; in xfs_dir2_node_addname_int()
/linux-4.4.14/kernel/gcov/
Dgcc_3_4.c241 struct gcov_info *dup; in gcov_info_dup() local
247 dup = kzalloc(sizeof(struct gcov_info) + in gcov_info_dup()
249 if (!dup) in gcov_info_dup()
251 dup->version = info->version; in gcov_info_dup()
252 dup->stamp = info->stamp; in gcov_info_dup()
253 dup->n_functions = info->n_functions; in gcov_info_dup()
254 dup->ctr_mask = info->ctr_mask; in gcov_info_dup()
256 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
257 if (!dup->filename) in gcov_info_dup()
260 dup->functions = kmemdup(info->functions, info->n_functions * in gcov_info_dup()
[all …]
Dgcc_4_7.c254 struct gcov_info *dup; in gcov_info_dup() local
263 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup()
264 if (!dup) in gcov_info_dup()
267 dup->next = NULL; in gcov_info_dup()
268 dup->filename = NULL; in gcov_info_dup()
269 dup->functions = NULL; in gcov_info_dup()
271 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
272 if (!dup->filename) in gcov_info_dup()
275 dup->functions = kcalloc(info->n_functions, in gcov_info_dup()
277 if (!dup->functions) in gcov_info_dup()
[all …]
/linux-4.4.14/drivers/staging/rtl8188eu/os_dep/
Dosdep_service.c139 u8 *dup = NULL; in rtw_buf_update() local
148 dup = rtw_malloc(src_len); in rtw_buf_update()
149 if (dup) { in rtw_buf_update()
151 memcpy(dup, src, dup_len); in rtw_buf_update()
159 *buf = dup; in rtw_buf_update()
/linux-4.4.14/drivers/platform/x86/
Dtopstar-laptop.c63 bool *dup; in acpi_topstar_notify() local
68 dup = &dup_evnt[event - 0x83]; in acpi_topstar_notify()
69 if (*dup) { in acpi_topstar_notify()
70 *dup = false; in acpi_topstar_notify()
73 *dup = true; in acpi_topstar_notify()
/linux-4.4.14/fs/xfs/
Dxfs_dir2_readdir.c167 xfs_dir2_data_unused_t *dup; /* block unused entry */ in xfs_dir2_block_getdents() local
209 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_block_getdents()
213 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_getdents()
214 ptr += be16_to_cpu(dup->length); in xfs_dir2_block_getdents()
482 xfs_dir2_data_unused_t *dup; /* unused entry */ in xfs_dir2_leaf_getdents() local
577 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_leaf_getdents()
579 if (be16_to_cpu(dup->freetag) in xfs_dir2_leaf_getdents()
582 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
607 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_leaf_getdents()
611 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_leaf_getdents()
[all …]
/linux-4.4.14/drivers/isdn/mISDN/
Ddsp_hwec.c72 char *dup, *tok, *name, *val; in dsp_hwec_enable() local
76 dup = _dup; in dsp_hwec_enable()
78 while ((tok = strsep(&dup, ","))) { in dsp_hwec_enable()
Ddsp_pipeline.c239 char *dup, *tok, *name, *args; in dsp_pipeline_build() local
250 dup = kstrdup(cfg, GFP_ATOMIC); in dsp_pipeline_build()
251 if (!dup) in dsp_pipeline_build()
253 while ((tok = strsep(&dup, "|"))) { in dsp_pipeline_build()
327 kfree(dup); in dsp_pipeline_build()
/linux-4.4.14/arch/mips/include/asm/octeon/
Dcvmx-pcsx-defs.h453 uint64_t dup:1; member
457 uint64_t dup:1;
483 uint64_t dup:1; member
507 uint64_t dup:1;
515 uint64_t dup:1; member
539 uint64_t dup:1;
561 uint64_t dup:1; member
585 uint64_t dup:1;
593 uint64_t dup:1; member
617 uint64_t dup:1;
[all …]
/linux-4.4.14/drivers/pci/
Dslot.c144 int len, max, dup; in make_slot_name() local
157 dup = 1; in make_slot_name()
165 if (dup == max) { in make_slot_name()
173 sprintf(new_name, "%s-%d", name, dup++); in make_slot_name()
/linux-4.4.14/tools/perf/util/
Ddata-convert-bt.c613 static char *change_name(char *name, char *orig_name, int dup) in change_name() argument
621 if (dup >= 10) in change_name()
628 if (dup < 0) in change_name()
637 if (dup < 0) in change_name()
640 snprintf(new_name, len, "%s_dupl_%d", orig_name, dup); in change_name()
654 int dup = 1; in event_class_add_field() local
674 name = change_name(name, field->name, dup++); in event_class_add_field()
Dprobe-file.c146 fp = fdopen(dup(fd), "r"); in probe_file__get_rawlist()
/linux-4.4.14/drivers/staging/xgifb/
DTODO8 - sort out dup ids with SiS driver
/linux-4.4.14/drivers/pinctrl/
Dcore.h186 bool dup);
Dcore.c1115 bool dup) in pinctrl_register_map() argument
1171 if (dup) { in pinctrl_register_map()
/linux-4.4.14/drivers/staging/lustre/lnet/lnet/
Dconfig.c1003 int dup; in lnet_match_networks() local
1046 dup = 0; in lnet_match_networks()
1059 dup = 1; in lnet_match_networks()
1064 if (dup) in lnet_match_networks()
1068 if (dup) { in lnet_match_networks()
/linux-4.4.14/drivers/of/
Dunittest.c832 struct device_node *dup) in update_node_properties() argument
838 of_add_property(dup, prop); in update_node_properties()
841 child->parent = dup; in update_node_properties()
852 struct device_node *next, *dup, *child; in attach_node_and_children() local
855 dup = of_find_node_by_path(np->full_name); in attach_node_and_children()
856 if (dup) { in attach_node_and_children()
857 update_node_properties(np, dup); in attach_node_and_children()
/linux-4.4.14/drivers/staging/android/
Dsync.h55 struct sync_pt * (*dup)(struct sync_pt *pt); member
Dsw_sync.c106 .dup = sw_sync_pt_dup,
/linux-4.4.14/arch/mips/cavium-octeon/executive/
Dcvmx-helper-sgmii.c120 pcsx_sgmx_an_adv_reg.s.dup = 1; in __cvmx_helper_sgmii_hardware_init_one_time()
466 pcsx_anx_results_reg.s.dup; in __cvmx_helper_sgmii_link_get()
/linux-4.4.14/drivers/md/bcache/
Dutil.h482 __label__ dup; \
492 goto dup; \
501 dup: \
/linux-4.4.14/drivers/s390/net/
Dctcm_mpc.c130 __u32 ct, sw, rm, dup; in ctcmpc_dumpit() local
142 dup = 0; in ctcmpc_dumpit()
172 if (dup != 0) { in ctcmpc_dumpit()
180 dup = 0; in ctcmpc_dumpit()
183 dup++; in ctcmpc_dumpit()
198 if (dup != 0) { in ctcmpc_dumpit()
205 if (dup >= 1) { in ctcmpc_dumpit()
209 if (dup != 0) { in ctcmpc_dumpit()
/linux-4.4.14/lib/
Dbtree.c643 unsigned long dup[geo->keylen]; in btree_merge() local
669 longcpy(dup, key, geo->keylen); in btree_merge()
670 btree_remove(victim, geo, dup); in btree_merge()
/linux-4.4.14/scripts/mod/
Dfile2alias.c609 int dup = 0; in do_pnp_card_entries() local
615 for (i2 = 0; i2 < i && !dup; i2++) { in do_pnp_card_entries()
625 dup = 1; in do_pnp_card_entries()
632 if (!dup) { in do_pnp_card_entries()
/linux-4.4.14/include/linux/
Dsctp.h369 sctp_dup_tsn_t dup; member
/linux-4.4.14/arch/parisc/kernel/
Dsyscall_table.S109 ENTRY_SAME(dup)
/linux-4.4.14/arch/powerpc/include/asm/
Dsystbl.h47 SYSCALL_SPU(dup)
/linux-4.4.14/tools/testing/selftests/memfd/
Dmemfd_test.c139 r = dup(fd); in mfd_assert_dup()
/linux-4.4.14/arch/x86/entry/syscalls/
Dsyscall_64.tbl41 32 common dup sys_dup
Dsyscall_32.tbl50 41 i386 dup sys_dup
/linux-4.4.14/fs/
Dfile.c932 SYSCALL_DEFINE1(dup, unsigned int, fildes) in SYSCALL_DEFINE1() argument
/linux-4.4.14/arch/arm64/crypto/
Daes-modes.S308 dup v7.4s, w5
/linux-4.4.14/drivers/block/
Drbd.c4809 char *dup; in dup_token() local
4813 dup = kmemdup(*buf, len + 1, GFP_KERNEL); in dup_token()
4814 if (!dup) in dup_token()
4816 *(dup + len) = '\0'; in dup_token()
4822 return dup; in dup_token()
/linux-4.4.14/Documentation/networking/
Dppp_generic.txt307 instance (i.e. as a result of dup(), dup2() or fork()).
/linux-4.4.14/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt106 13.4 The compile fails with errors about conflicting types for 'open', 'dup', and 'waitpid'
3846 'open', 'dup', and 'waitpid'