/Linux-v4.19/fs/xfs/libxfs/ |
D | xfs_dir2_data.c | 26 struct xfs_dir2_data_unused *dup, 46 xfs_dir2_data_unused_t *dup; /* unused entry */ in __xfs_dir3_data_check() local 136 dup = (xfs_dir2_data_unused_t *)p; in __xfs_dir3_data_check() 142 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in __xfs_dir3_data_check() 147 if (endp < p + be16_to_cpu(dup->length)) in __xfs_dir3_data_check() 149 if (be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)) != in __xfs_dir3_data_check() 150 (char *)dup - (char *)hdr) in __xfs_dir3_data_check() 152 fa = xfs_dir2_data_freefind_verify(hdr, bf, dup, &dfp); in __xfs_dir3_data_check() 161 if (be16_to_cpu(dup->length) > in __xfs_dir3_data_check() 165 p += be16_to_cpu(dup->length); in __xfs_dir3_data_check() [all …]
|
D | xfs_dir2_block.c | 174 struct xfs_dir2_data_unused *dup = NULL; in xfs_dir2_block_need_space() local 188 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space() 201 dup = (xfs_dir2_data_unused_t *)((char *)hdr + be16_to_cpu(*tagp)); in xfs_dir2_block_need_space() 207 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_need_space() 208 if (be16_to_cpu(dup->length) + (be32_to_cpu(btp->stale) - 1) * in xfs_dir2_block_need_space() 210 dup = NULL; in xfs_dir2_block_need_space() 212 dup = NULL; in xfs_dir2_block_need_space() 214 dup = (xfs_dir2_data_unused_t *)blp; in xfs_dir2_block_need_space() 236 dup = (xfs_dir2_data_unused_t *) in xfs_dir2_block_need_space() 238 if (dup != enddup) { in xfs_dir2_block_need_space() [all …]
|
D | xfs_dir2.h | 156 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup); 161 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup, 167 struct xfs_dir2_data_unused *dup);
|
D | xfs_da_format.h | 377 xfs_dir2_data_unused_tag_p(struct xfs_dir2_data_unused *dup) in xfs_dir2_data_unused_tag_p() argument 379 return (__be16 *)((char *)dup + in xfs_dir2_data_unused_tag_p() 380 be16_to_cpu(dup->length) - sizeof(__be16)); in xfs_dir2_data_unused_tag_p()
|
/Linux-v4.19/kernel/gcov/ |
D | gcc_3_4.c | 242 struct gcov_info *dup; in gcov_info_dup() local 248 dup = kzalloc(sizeof(struct gcov_info) + in gcov_info_dup() 250 if (!dup) in gcov_info_dup() 252 dup->version = info->version; in gcov_info_dup() 253 dup->stamp = info->stamp; in gcov_info_dup() 254 dup->n_functions = info->n_functions; in gcov_info_dup() 255 dup->ctr_mask = info->ctr_mask; in gcov_info_dup() 257 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup() 258 if (!dup->filename) in gcov_info_dup() 261 dup->functions = kmemdup(info->functions, info->n_functions * in gcov_info_dup() [all …]
|
D | gcc_4_7.c | 257 struct gcov_info *dup; in gcov_info_dup() local 266 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup() 267 if (!dup) in gcov_info_dup() 270 dup->next = NULL; in gcov_info_dup() 271 dup->filename = NULL; in gcov_info_dup() 272 dup->functions = NULL; in gcov_info_dup() 274 dup->filename = kstrdup(info->filename, GFP_KERNEL); in gcov_info_dup() 275 if (!dup->filename) in gcov_info_dup() 278 dup->functions = kcalloc(info->n_functions, in gcov_info_dup() 280 if (!dup->functions) in gcov_info_dup() [all …]
|
/Linux-v4.19/drivers/isdn/mISDN/ |
D | dsp_hwec.c | 71 char *dup, *tok, *name, *val; in dsp_hwec_enable() local 74 dup = kstrdup(arg, GFP_ATOMIC); in dsp_hwec_enable() 75 if (!dup) in dsp_hwec_enable() 78 while ((tok = strsep(&dup, ","))) { in dsp_hwec_enable() 93 kfree(dup); in dsp_hwec_enable()
|
D | dsp_pipeline.c | 239 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-v4.19/drivers/staging/rtl8188eu/os_dep/ |
D | osdep_service.c | 92 u8 *dup = NULL; in rtw_buf_update() local 101 dup = rtw_malloc(src_len); in rtw_buf_update() 102 if (dup) { in rtw_buf_update() 104 memcpy(dup, src, dup_len); in rtw_buf_update() 112 *buf = dup; in rtw_buf_update()
|
/Linux-v4.19/fs/xfs/ |
D | xfs_dir2_readdir.c | 144 xfs_dir2_data_unused_t *dup; /* block unused entry */ in xfs_dir2_block_getdents() local 185 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_block_getdents() 189 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_getdents() 190 ptr += be16_to_cpu(dup->length); in xfs_dir2_block_getdents() 352 xfs_dir2_data_unused_t *dup; /* unused entry */ in xfs_dir2_leaf_getdents() local 416 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_leaf_getdents() 418 if (be16_to_cpu(dup->freetag) in xfs_dir2_leaf_getdents() 421 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents() 446 dup = (xfs_dir2_data_unused_t *)ptr; in xfs_dir2_leaf_getdents() 450 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_leaf_getdents() [all …]
|
/Linux-v4.19/fs/xfs/scrub/ |
D | dir.c | 248 struct xfs_dir2_data_unused *dup; in xchk_dir_rec() local 250 dup = (struct xfs_dir2_data_unused *)p; in xchk_dir_rec() 251 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_rec() 252 p += be16_to_cpu(dup->length); in xchk_dir_rec() 295 struct xfs_dir2_data_unused *dup) in xchk_directory_check_free_entry() argument 300 dup_length = be16_to_cpu(dup->length); in xchk_directory_check_free_entry() 321 struct xfs_dir2_data_unused *dup; in xchk_directory_data_bestfree() local 368 dup = (struct xfs_dir2_data_unused *)(bp->b_addr + offset); in xchk_directory_data_bestfree() 369 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree() 372 if (dup->freetag != cpu_to_be16(XFS_DIR2_DATA_FREE_TAG) || in xchk_directory_data_bestfree() [all …]
|
/Linux-v4.19/mm/ |
D | ksm.c | 343 static __always_inline bool is_stable_node_dup(struct stable_node *dup) in is_stable_node_dup() argument 345 return dup->head == STABLE_NODE_DUP_HEAD; in is_stable_node_dup() 348 static inline void stable_node_chain_add_dup(struct stable_node *dup, in stable_node_chain_add_dup() argument 351 VM_BUG_ON(is_stable_node_dup(dup)); in stable_node_chain_add_dup() 352 dup->head = STABLE_NODE_DUP_HEAD; in stable_node_chain_add_dup() 354 hlist_add_head(&dup->hlist_dup, &chain->hlist); in stable_node_chain_add_dup() 358 static inline void __stable_node_dup_del(struct stable_node *dup) in __stable_node_dup_del() argument 360 VM_BUG_ON(!is_stable_node_dup(dup)); in __stable_node_dup_del() 361 hlist_del(&dup->hlist_dup); in __stable_node_dup_del() 365 static inline void stable_node_dup_del(struct stable_node *dup) in stable_node_dup_del() argument [all …]
|
/Linux-v4.19/arch/mips/include/asm/octeon/ |
D | cvmx-pcsx-defs.h | 455 uint64_t dup:1; member 459 uint64_t dup:1; 485 uint64_t dup:1; member 509 uint64_t dup:1; 517 uint64_t dup:1; member 541 uint64_t dup:1; 563 uint64_t dup:1; member 587 uint64_t dup:1; 595 uint64_t dup:1; member 619 uint64_t dup:1; [all …]
|
/Linux-v4.19/drivers/platform/x86/ |
D | topstar-laptop.c | 239 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-v4.19/Documentation/vm/ |
D | ksm.rst | 34 more "dups". Each "dup" keeps reverse mapping information for a KSM 35 page with ``page->mapping`` pointing to that "dup". 39 even if each "dup" will be pointed by a different KSM page copy of 56 practice the best stable_node "dup" candidate will be kept and found 70 one stable_node dup to another stable_node dup, in order to free up
|
/Linux-v4.19/drivers/staging/rtl8723bs/os_dep/ |
D | osdep_service.c | 351 u8 *dup = NULL; in rtw_buf_update() local 360 dup = rtw_malloc(src_len); in rtw_buf_update() 361 if (dup) { in rtw_buf_update() 363 memcpy(dup, src, dup_len); in rtw_buf_update() 372 *buf = dup; in rtw_buf_update()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | port.c | 189 bool dup = mlx4_is_mf_bonded(dev); in __mlx4_register_mac() local 197 dup ? "with" : "without"); in __mlx4_register_mac() 266 if (dup) { in __mlx4_register_mac() 279 if (dup) { in __mlx4_register_mac() 282 dup = false; in __mlx4_register_mac() 311 if (dup) { in __mlx4_register_mac() 384 bool dup = mlx4_is_mf_bonded(dev); in __mlx4_unregister_mac() local 395 if (dup) { in __mlx4_unregister_mac() 425 if (dup) { in __mlx4_unregister_mac() 436 if (dup) { in __mlx4_unregister_mac() [all …]
|
/Linux-v4.19/drivers/pci/ |
D | slot.c | 145 int len, max, dup; in make_slot_name() local 158 dup = 1; in make_slot_name() 166 if (dup == max) { in make_slot_name() 174 sprintf(new_name, "%s-%d", name, dup++); in make_slot_name()
|
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_tc.c | 32 struct stmmac_tc_entry *entry, *first = NULL, *dup = NULL; in tc_find_entry() local 41 dup = entry; in tc_find_entry() 44 if (dup) in tc_find_entry() 45 return dup; in tc_find_entry()
|
/Linux-v4.19/fs/ |
D | mbcache.c | 76 struct mb_cache_entry *entry, *dup; in mb_cache_entry_create() local 100 hlist_bl_for_each_entry(dup, dup_node, head, e_hash_list) { in mb_cache_entry_create() 101 if (dup->e_key == key && dup->e_value == value) { in mb_cache_entry_create()
|
/Linux-v4.19/drivers/staging/xgifb/ |
D | TODO | 8 - sort out dup ids with SiS driver
|
/Linux-v4.19/tools/perf/util/ |
D | data-convert-bt.c | 936 static char *change_name(char *name, char *orig_name, int dup) 944 if (dup >= 10) 951 if (dup < 0) 960 if (dup < 0) 963 snprintf(new_name, len, "%s_dupl_%d", orig_name, dup); 977 int dup = 1; in event_class_add_field() local 997 name = change_name(name, field->name, dup++); in event_class_add_field()
|
/Linux-v4.19/drivers/pinctrl/ |
D | core.h | 241 bool dup);
|
/Linux-v4.19/arch/mips/cavium-octeon/executive/ |
D | cvmx-helper-sgmii.c | 116 pcsx_sgmx_an_adv_reg.s.dup = 1; in __cvmx_helper_sgmii_hardware_init_one_time() 462 pcsx_anx_results_reg.s.dup; in __cvmx_helper_sgmii_link_get()
|
/Linux-v4.19/arch/powerpc/platforms/powernv/ |
D | pci.c | 238 bool dup = false; in pnv_pci_dump_pest() local 246 if (dup) { in pnv_pci_dump_pest() 248 dup = false; in pnv_pci_dump_pest() 256 } else if (!dup && (peA & PNV_IODA_STOPPED_STATE || in pnv_pci_dump_pest() 258 dup = true; in pnv_pci_dump_pest()
|