/linux-master/kernel/gcov/ |
H A D | gcc_4_7.c | 280 struct gcov_info *dup; local 289 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); 290 if (!dup) 293 dup->next = NULL; 294 dup->filename = NULL; 295 dup->functions = NULL; 297 dup->filename = kstrdup(info->filename, GFP_KERNEL); 298 if (!dup->filename) 301 dup [all...] |
H A D | clang.c | 317 struct gcov_info *dup; local 320 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); 321 if (!dup) 323 INIT_LIST_HEAD(&dup->head); 324 INIT_LIST_HEAD(&dup->functions); 325 dup->filename = kstrdup(info->filename, GFP_KERNEL); 326 if (!dup->filename) 334 list_add_tail(&fn_dup->head, &dup->functions); 337 return dup; [all...] |
/linux-master/drivers/isdn/mISDN/ |
H A D | dsp_hwec.c | 54 char *dup, *tok, *name, *val; local 57 dup = kstrdup(arg, GFP_ATOMIC); 58 if (!dup) 61 while ((tok = strsep(&dup, ","))) { 76 kfree(dup);
|
H A D | dsp_pipeline.c | 200 char *dup, *next, *tok, *name, *args; local 211 dup = next = kstrdup(cfg, GFP_ATOMIC); 212 if (!dup) 273 kfree(dup);
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_dir2_data.c | 25 struct xfs_dir2_data_unused *dup, 179 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; local 187 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { 192 if (offset + be16_to_cpu(dup->length) > end) 194 if (be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) != 197 fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp); 206 if (be16_to_cpu(dup->length) > 210 offset += be16_to_cpu(dup->length); 463 struct xfs_dir2_data_unused *dup, 472 off = (xfs_dir2_data_aoff_t)((char *)dup 460 xfs_dir2_data_freefind_verify( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup, struct xfs_dir2_data_free **bf_ent) argument 519 xfs_dir2_data_freefind( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup) argument 555 xfs_dir2_data_freeinsert( struct xfs_dir2_data_hdr *hdr, struct xfs_dir2_data_free *dfp, struct xfs_dir2_data_unused *dup, int *loghead) argument 664 struct xfs_dir2_data_unused *dup = addr + offset; local 703 struct xfs_dir2_data_unused *dup; local 805 xfs_dir2_data_log_unused( struct xfs_da_args *args, struct xfs_buf *bp, xfs_dir2_data_unused_t *dup) argument 1012 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) argument 1055 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) argument [all...] |
H A D | xfs_dir2_block.c | 202 struct xfs_dir2_data_unused *dup = NULL; local 216 dup = (xfs_dir2_data_unused_t *) 229 dup = (xfs_dir2_data_unused_t *)((char *)hdr + be16_to_cpu(*tagp)); 235 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { 236 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * 238 dup = NULL; 240 dup = NULL; 242 dup = (xfs_dir2_data_unused_t *)blp; 264 dup = (xfs_dir2_data_unused_t *) 266 if (dup ! 362 xfs_dir2_data_unused_t *dup; /* block unused entry */ local 933 xfs_dir2_data_unused_t *dup; /* unused data entry */ local 1085 xfs_dir2_data_unused_t *dup; /* unused entry pointer */ local [all...] |
H A D | xfs_dir2.h | 89 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup); 94 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup, 100 struct xfs_dir2_data_unused *dup);
|
H A D | xfs_da_format.h | 376 xfs_dir2_data_unused_tag_p(struct xfs_dir2_data_unused *dup) argument 378 return (__be16 *)((char *)dup + 379 be16_to_cpu(dup->length) - sizeof(__be16));
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | map_btf.c | 33 new_fd = dup(bpf_map__fd(skel->maps.array)); 74 new_fd = dup(bpf_map__fd(skel->maps.inner_array));
|
/linux-master/drivers/staging/rtl8723bs/os_dep/ |
H A D | osdep_service.c | 127 u8 *dup = NULL; local 136 dup = rtw_malloc(src_len); 137 if (dup) { 139 memcpy(dup, src, dup_len); 146 /* replace buf with dup */ 148 *buf = dup;
|
/linux-master/fs/xfs/ |
H A D | xfs_dir2_readdir.c | 176 * Each object is a real entry (dep) or an unused one (dup). 182 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; local 189 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { 190 next_offset = offset + be16_to_cpu(dup->length); 357 xfs_dir2_data_unused_t *dup; /* unused entry */ local 422 dup = bp->b_addr + offset; 424 if (be16_to_cpu(dup->freetag) 427 length = be16_to_cpu(dup->length); 451 dup = bp->b_addr + offset; 456 if (be16_to_cpu(dup [all...] |
/linux-master/fs/xfs/scrub/ |
H A D | readdir.c | 110 struct xfs_dir2_data_unused *dup = bp->b_addr + off; local 116 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { 117 next_off = off + be16_to_cpu(dup->length); 199 struct xfs_dir2_data_unused *dup; local 228 dup = bp->b_addr + offset; 229 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { 230 length = be16_to_cpu(dup->length);
|
H A D | dir.c | 224 struct xfs_dir2_data_unused *dup = bp->b_addr + iter_off; local 231 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { 232 iter_off += be16_to_cpu(dup->length); 274 struct xfs_dir2_data_unused *dup) 279 dup_length = be16_to_cpu(dup->length); 300 struct xfs_dir2_data_unused *dup; local 343 dup = bp->b_addr + offset; 344 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); 347 if (dup->freetag != cpu_to_be16(XFS_DIR2_DATA_FREE_TAG) || 348 be16_to_cpu(dup 270 xchk_directory_check_free_entry( struct xfs_scrub *sc, xfs_dablk_t lblk, struct xfs_dir2_data_free *bf, struct xfs_dir2_data_unused *dup) argument [all...] |
/linux-master/drivers/platform/x86/ |
H A D | topstar-laptop.c | 239 bool *dup; local 243 dup = &dup_evnt[event - 0x83]; 244 if (*dup) { 245 *dup = false; 248 *dup = true;
|
/linux-master/arch/mips/include/asm/octeon/ |
H A D | cvmx-pcsx-defs.h | 422 uint64_t dup:1; member in struct:cvmx_pcsx_anx_results_reg::cvmx_pcsx_anx_results_reg_s 426 uint64_t dup:1; 441 uint64_t dup:1; member in struct:cvmx_pcsx_intx_en_reg::cvmx_pcsx_intx_en_reg_s 465 uint64_t dup:1; 473 uint64_t dup:1; member in struct:cvmx_pcsx_intx_en_reg::cvmx_pcsx_intx_en_reg_cn52xx 497 uint64_t dup:1; 509 uint64_t dup:1; member in struct:cvmx_pcsx_intx_reg::cvmx_pcsx_intx_reg_s 533 uint64_t dup:1; 541 uint64_t dup:1; member in struct:cvmx_pcsx_intx_reg::cvmx_pcsx_intx_reg_cn52xx 565 uint64_t dup 638 uint64_t dup:1; member in struct:cvmx_pcsx_mrx_control_reg::cvmx_pcsx_mrx_control_reg_s 750 uint64_t dup:1; member in struct:cvmx_pcsx_sgmx_an_adv_reg::cvmx_pcsx_sgmx_an_adv_reg_s 774 uint64_t dup:1; member in struct:cvmx_pcsx_sgmx_lp_adv_reg::cvmx_pcsx_sgmx_lp_adv_reg_s [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | rs.c | 111 u32 dup = 0; local 178 dup = (rate_v1 & RATE_MCS_DUP_MSK_V1) >> RATE_MCS_DUP_POS_V1; 179 if (dup) { 181 rate_v2 |= dup << RATE_MCS_CHAN_WIDTH_POS;
|
/linux-master/drivers/md/dm-vdo/ |
H A D | memory-alloc.c | 369 u8 *dup; local 371 result = vdo_allocate(strlen(string) + 1, u8, what, &dup); 375 memcpy(dup, string, strlen(string) + 1); 376 *new_string = dup;
|
/linux-master/mm/ |
H A D | ksm.c | 89 * write protected memory content, but each "dup" corresponds to a 532 static __always_inline bool is_stable_node_dup(struct ksm_stable_node *dup) argument 534 return dup->head == STABLE_NODE_DUP_HEAD; 537 static inline void stable_node_chain_add_dup(struct ksm_stable_node *dup, argument 540 VM_BUG_ON(is_stable_node_dup(dup)); 541 dup->head = STABLE_NODE_DUP_HEAD; 543 hlist_add_head(&dup->hlist_dup, &chain->hlist); 547 static inline void __stable_node_dup_del(struct ksm_stable_node *dup) argument 549 VM_BUG_ON(!is_stable_node_dup(dup)); 550 hlist_del(&dup 554 stable_node_dup_del(struct ksm_stable_node *dup) argument 810 alloc_stable_node_chain(struct ksm_stable_node *dup, struct rb_root *root) argument 1149 struct ksm_stable_node *dup; local 1625 struct ksm_stable_node *dup, *found = NULL, *stable_node = *_stable_node; local 3273 struct ksm_stable_node *dup; local [all...] |
/linux-master/drivers/pci/ |
H A D | slot.c | 110 int len, max, dup; local 123 dup = 1; 131 if (dup == max) { 139 sprintf(new_name, "%s-%d", name, dup++);
|
/linux-master/fs/ |
H A D | mbcache.c | 77 struct mb_cache_entry *entry, *dup; local 108 hlist_bl_for_each_entry(dup, dup_node, head, e_hash_list) { 109 if (dup->e_key == key && dup->e_value == value) {
|
/linux-master/fs/ntfs3/ |
H A D | frecord.c | 2922 memcpy(&de_name->dup, &fname->dup, sizeof(struct NTFS_DUP_INFO)); 3043 memcpy(&de_name->dup, &fname->dup, sizeof(fname->dup)); 3044 de_name->dup.fa = ni->std_fa; 3134 static bool ni_update_parent(struct ntfs_inode *ni, struct NTFS_DUP_INFO *dup, argument 3145 dup->fa |= FILE_ATTRIBUTE_DIRECTORY; 3147 dup->alloc_size = 0; 3148 dup 3257 struct NTFS_DUP_INFO dup; local [all...] |
H A D | dir.c | 301 if (sbi->options->nohidden && (fname->dup.fa & FILE_ATTRIBUTE_HIDDEN)) 319 dt_type = (fname->dup.fa & FILE_ATTRIBUTE_DIRECTORY) ? DT_DIR : DT_REG; 329 if ((fname->dup.fa & FILE_ATTRIBUTE_REPARSE_POINT) && 560 if (fname->dup.fa & FILE_ATTRIBUTE_DIRECTORY)
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | port.c | 189 bool dup = mlx4_is_mf_bonded(dev); local 197 dup ? "with" : "without"); 266 if (dup) { 279 if (dup) { 282 dup = false; 311 if (dup) { 384 bool dup = mlx4_is_mf_bonded(dev); local 395 if (dup) { 425 if (dup) { 436 if (dup) { 480 bool dup = mlx4_is_mf_bonded(dev); local 584 bool dup = mlx4_is_mf_bonded(dev); local 766 bool dup = mlx4_is_mf_bonded(dev); local [all...] |
/linux-master/tools/testing/selftests/powerpc/signal/ |
H A D | sig_sc_double_restart.c | 120 while ((fd = dup(pipefd[0])) != 512) { 122 perror("dup");
|
/linux-master/kernel/trace/ |
H A D | tracing_map.h | 161 bool dup; member in struct:tracing_map_sort_entry
|