Home
last modified time | relevance | path

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

/linux-4.1.27/fs/xfs/libxfs/
Dxfs_dir2_data.c52 xfs_dir2_data_unused_t *dup; /* unused entry */ in __xfs_dir3_data_check() local
130 dup = (xfs_dir2_data_unused_t *)p; in __xfs_dir3_data_check()
136 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in __xfs_dir3_data_check()
139 be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) == in __xfs_dir3_data_check()
140 (char *)dup - (char *)hdr); in __xfs_dir3_data_check()
141 dfp = xfs_dir2_data_freefind(hdr, bf, dup); in __xfs_dir3_data_check()
149 be16_to_cpu(dup->length) <= in __xfs_dir3_data_check()
152 p += be16_to_cpu(dup->length); in __xfs_dir3_data_check()
350 struct xfs_dir2_data_unused *dup) /* unused space */ in xfs_dir2_data_freefind() argument
359 off = (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr); in xfs_dir2_data_freefind()
[all …]
Dxfs_dir2_block.c181 struct xfs_dir2_data_unused *dup = NULL; in xfs_dir2_block_need_space() local
195 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
208 dup = (xfs_dir2_data_unused_t *)((char *)hdr + be16_to_cpu(*tagp)); in xfs_dir2_block_need_space()
214 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_need_space()
215 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space()
217 dup = NULL; in xfs_dir2_block_need_space()
219 dup = NULL; in xfs_dir2_block_need_space()
221 dup = (xfs_dir2_data_unused_t *)blp; in xfs_dir2_block_need_space()
243 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space()
245 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.c611 xfs_dir2_data_unused_t *dup; /* data unused entry */ in xfs_dir2_leaf_addname() local
841 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_leaf_addname()
843 ASSERT(be16_to_cpu(dup->length) >= length); in xfs_dir2_leaf_addname()
848 xfs_dir2_data_use_free(args, dbp, dup, in xfs_dir2_leaf_addname()
849 (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr), length, in xfs_dir2_leaf_addname()
854 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.c1647 xfs_dir2_data_unused_t *dup; /* data unused entry pointer */ in xfs_dir2_node_addname_int() local
1954 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_node_addname_int()
1960 xfs_dir2_data_use_free(args, dbp, dup, in xfs_dir2_node_addname_int()
1961 (xfs_dir2_data_aoff_t)((char *)dup - (char *)hdr), length, in xfs_dir2_node_addname_int()
1966 dep = (xfs_dir2_data_entry_t *)dup; in xfs_dir2_node_addname_int()
/linux-4.1.27/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.c252 struct gcov_info *dup; in gcov_info_dup() local
261 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup()
262 if (!dup) in gcov_info_dup()
265 dup->next = NULL; in gcov_info_dup()
266 dup->filename = NULL; in gcov_info_dup()
267 dup->functions = NULL; in gcov_info_dup()
269 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup()
270 if (!dup->filename) in gcov_info_dup()
273 dup->functions = kcalloc(info->n_functions, in gcov_info_dup()
275 if (!dup->functions) in gcov_info_dup()
[all …]
/linux-4.1.27/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()
160 *buf = dup; in rtw_buf_update()
/linux-4.1.27/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.1.27/fs/xfs/
Dxfs_dir2_readdir.c167 xfs_dir2_data_unused_t *dup; /* block unused entry */ in xfs_dir2_block_getdents() local
206 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_block_getdents()
210 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_getdents()
211 ptr += be16_to_cpu(dup->length); in xfs_dir2_block_getdents()
479 xfs_dir2_data_unused_t *dup; /* unused entry */ in xfs_dir2_leaf_getdents() local
571 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_leaf_getdents()
573 if (be16_to_cpu(dup->freetag) in xfs_dir2_leaf_getdents()
576 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
601 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_leaf_getdents()
605 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_leaf_getdents()
[all …]
/linux-4.1.27/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
257 dup = kmalloc(len + 1, GFP_ATOMIC); in dsp_pipeline_build()
258 if (!dup) in dsp_pipeline_build()
260 strcpy(dup, cfg); in dsp_pipeline_build()
261 while ((tok = strsep(&dup, "|"))) { in dsp_pipeline_build()
335 kfree(dup); in dsp_pipeline_build()
/linux-4.1.27/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.1.27/mm/
Dfrontswap.c218 int ret = -1, dup = 0; in __frontswap_store() local
234 dup = 1; in __frontswap_store()
239 if (!dup) in __frontswap_store()
247 if (dup) { in __frontswap_store()
/linux-4.1.27/drivers/pci/
Dslot.c141 int len, max, dup; in make_slot_name() local
154 dup = 1; in make_slot_name()
162 if (dup == max) { in make_slot_name()
170 sprintf(new_name, "%s-%d", name, dup++); in make_slot_name()
/linux-4.1.27/scripts/dtc/
Dutil.c42 char *dup = xmalloc(len); in xstrdup() local
44 memcpy(dup, s, len); in xstrdup()
46 return dup; in xstrdup()
/linux-4.1.27/drivers/staging/xgifb/
DTODO8 - sort out dup ids with SiS driver
/linux-4.1.27/drivers/pinctrl/
Dcore.h186 bool dup);
Dcore.c1113 bool dup) in pinctrl_register_map() argument
1169 if (dup) { in pinctrl_register_map()
/linux-4.1.27/drivers/staging/ozwpan/
Dozproto.c341 int dup = 0; in oz_rx_frame() local
372 dup = 1; in oz_rx_frame()
377 if (pd && !dup && ((pd->mode & OZ_MODE_MASK) == OZ_MODE_TRIGGERED)) { in oz_rx_frame()
436 if (dup) in oz_rx_frame()
/linux-4.1.27/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.1.27/drivers/of/
Dunittest.c828 struct device_node *dup) in update_node_properties() argument
834 of_add_property(dup, prop); in update_node_properties()
837 child->parent = dup; in update_node_properties()
848 struct device_node *next, *dup, *child; in attach_node_and_children() local
851 dup = of_find_node_by_path(np->full_name); in attach_node_and_children()
852 if (dup) { in attach_node_and_children()
853 update_node_properties(np, dup); in attach_node_and_children()
/linux-4.1.27/drivers/staging/android/
Dsync.h55 struct sync_pt * (*dup)(struct sync_pt *pt); member
Dsw_sync.c106 .dup = sw_sync_pt_dup,
/linux-4.1.27/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.1.27/drivers/md/bcache/
Dutil.h487 __label__ dup; \
497 goto dup; \
506 dup: \
/linux-4.1.27/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.1.27/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.1.27/scripts/mod/
Dfile2alias.c567 int dup = 0; in do_pnp_card_entries() local
573 for (i2 = 0; i2 < i && !dup; i2++) { in do_pnp_card_entries()
583 dup = 1; in do_pnp_card_entries()
590 if (!dup) { in do_pnp_card_entries()
/linux-4.1.27/include/linux/
Dsctp.h369 sctp_dup_tsn_t dup; member
/linux-4.1.27/arch/parisc/kernel/
Dsyscall_table.S109 ENTRY_SAME(dup)
/linux-4.1.27/arch/powerpc/include/asm/
Dsystbl.h47 SYSCALL_SPU(dup)
/linux-4.1.27/tools/testing/selftests/memfd/
Dmemfd_test.c138 r = dup(fd); in mfd_assert_dup()
/linux-4.1.27/arch/s390/kernel/
Dcompat_wrapper.c78 COMPAT_SYSCALL_WRAP1(dup, unsigned int, fildes);
/linux-4.1.27/arch/x86/syscalls/
Dsyscall_64.tbl41 32 common dup sys_dup
Dsyscall_32.tbl50 41 i386 dup sys_dup
/linux-4.1.27/fs/
Dfile.c865 SYSCALL_DEFINE1(dup, unsigned int, fildes) in SYSCALL_DEFINE1() argument
/linux-4.1.27/arch/arm64/crypto/
Daes-modes.S308 dup v7.4s, w5
/linux-4.1.27/drivers/block/
Drbd.c4817 char *dup; in dup_token() local
4821 dup = kmemdup(*buf, len + 1, GFP_KERNEL); in dup_token()
4822 if (!dup) in dup_token()
4824 *(dup + len) = '\0'; in dup_token()
4830 return dup; in dup_token()
/linux-4.1.27/Documentation/networking/
Dppp_generic.txt307 instance (i.e. as a result of dup(), dup2() or fork()).
/linux-4.1.27/tools/perf/util/
Dprobe-event.c1988 fp = fdopen(dup(fd), "r"); in get_probe_trace_command_rawlist()
/linux-4.1.27/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'