Home
last modified time | relevance | path

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

1234567

/openbmc/linux/fs/xfs/libxfs/
H A Dxfs_dir2_data.c24 struct xfs_dir2_data_unused *dup,
205 if (be16_to_cpu(dup->length) > in __xfs_dir3_data_check()
461 struct xfs_dir2_data_unused *dup, in xfs_dir2_data_freefind_verify() argument
531 if (be16_to_cpu(dup->length) < in xfs_dir2_data_freefind()
566 new.length = dup->length; in xfs_dir2_data_freeinsert()
745 dup->length = bf[0].length; in xfs_dir3_data_init()
746 *xfs_dir2_data_unused_tag_p(dup) = cpu_to_be16((char *)dup - (char *)hdr); in xfs_dir3_data_init()
819 (uint)((char *)&dup->length + sizeof(dup->length) - in xfs_dir2_data_log_unused()
1025 if (offset + len > (char *)dup + be16_to_cpu(dup->length) - (char *)hdr) in xfs_dir2_data_check_free()
1137 newdup = dup; in xfs_dir2_data_use_free()
[all …]
H A Dxfs_dir2_block.c236 dup = NULL; in xfs_dir2_block_need_space()
238 dup = NULL; in xfs_dir2_block_need_space()
264 if (dup != enddup) { in xfs_dir2_block_need_space()
269 dup = NULL; in xfs_dir2_block_need_space()
284 dup = NULL; in xfs_dir2_block_need_space()
289 *dupp = dup; in xfs_dir2_block_need_space()
408 if (!dup) in xfs_dir2_block_addname()
416 if (!dup) { in xfs_dir2_block_addname()
1144 dup = bp->b_addr + offset; in xfs_dir2_sf_to_block()
1223 dup = bp->b_addr + offset; in xfs_dir2_sf_to_block()
[all …]
H A Dxfs_dir2.h76 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup);
81 struct xfs_buf *bp, struct xfs_dir2_data_unused *dup,
87 struct xfs_dir2_data_unused *dup);
/openbmc/linux/kernel/gcov/
H A Dgcc_4_7.c282 struct gcov_info *dup; in gcov_info_dup() local
291 dup = kmemdup(info, sizeof(*dup), GFP_KERNEL); in gcov_info_dup()
292 if (!dup) in gcov_info_dup()
295 dup->next = NULL; in gcov_info_dup()
296 dup->filename = NULL; in gcov_info_dup()
297 dup->functions = NULL; in gcov_info_dup()
300 if (!dup->filename) in gcov_info_dup()
305 if (!dup->functions) in gcov_info_dup()
314 if (!dup->functions[fi_idx]) in gcov_info_dup()
339 return 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()
340 gcov_info_free(dup); in gcov_info_dup()
/openbmc/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()
H A Ddsp_pipeline.c196 char *dup, *next, *tok, *name, *args; in dsp_pipeline_build() local
207 dup = next = kstrdup(cfg, GFP_ATOMIC); in dsp_pipeline_build()
208 if (!dup) in dsp_pipeline_build()
269 kfree(dup); in dsp_pipeline_build()
/openbmc/gpioplus/src/gpioplus/internal/
H A Dfd.cpp24 static int dup(int oldfd, const Sys* sys) in dup() function
26 int fd = sys->dup(oldfd); in dup()
34 Fd::Fd(int fd, const Sys* sys) : sys(sys), fd(dup(fd, sys)) {} in Fd()
50 Fd::Fd(const Fd& other) : sys(other.sys), fd(dup(other.fd, sys)) {} in Fd()
58 fd = dup(other.fd, sys); in operator =()
H A Dsys.cpp18 int SysImpl::dup(int oldfd) const in dup() function in gpioplus::internal::SysImpl
20 return ::dup(oldfd); in dup()
H A Dsys.hpp20 virtual int dup(int oldfd) const = 0;
46 int dup(int oldfd) const override;
/openbmc/linux/Documentation/translations/zh_CN/mm/
H A Dksm.rst59 的影响,高比值可能意味着稳定节点dup中存在碎片,这可以通过在ksmd中引入碎片算
60 法来解决,该算法将rmap项从一个稳定节点dup重定位到另一个稳定节点dup,以便释放
61 那些仅包含极少rmap项的稳定节点"dup",但这可能会增加ksmd进程的CPU使用率,并可
/openbmc/linux/drivers/staging/rtl8723bs/os_dep/
H A Dosdep_service.c127 u8 *dup = NULL; in rtw_buf_update() local
136 dup = rtw_malloc(src_len); in rtw_buf_update()
137 if (dup) { in rtw_buf_update()
139 memcpy(dup, src, dup_len); in rtw_buf_update()
148 *buf = dup; in rtw_buf_update()
/openbmc/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:1;
[all …]
/openbmc/linux/fs/xfs/
H A Dxfs_dir2_readdir.c181 struct xfs_dir2_data_unused *dup = bp->b_addr + offset; in xfs_dir2_block_getdents() local
188 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_getdents()
189 next_offset = offset + be16_to_cpu(dup->length); in xfs_dir2_block_getdents()
355 xfs_dir2_data_unused_t *dup; /* unused entry */ in xfs_dir2_leaf_getdents() local
420 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
422 if (be16_to_cpu(dup->freetag) in xfs_dir2_leaf_getdents()
425 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
449 dup = bp->b_addr + offset; in xfs_dir2_leaf_getdents()
454 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_leaf_getdents()
455 length = be16_to_cpu(dup->length); in xfs_dir2_leaf_getdents()
/openbmc/linux/fs/xfs/scrub/
H A Ddir.c222 struct xfs_dir2_data_unused *dup = bp->b_addr + iter_off; in xchk_dir_rec() local
230 iter_off += be16_to_cpu(dup->length); in xchk_dir_rec()
272 struct xfs_dir2_data_unused *dup) in xchk_directory_check_free_entry() argument
277 dup_length = be16_to_cpu(dup->length); in xchk_directory_check_free_entry()
298 struct xfs_dir2_data_unused *dup; in xchk_directory_data_bestfree() local
341 dup = bp->b_addr + offset; in xchk_directory_data_bestfree()
342 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
368 dup = bp->b_addr + offset; in xchk_directory_data_bestfree()
385 tag = be16_to_cpu(*xfs_dir2_data_unused_tag_p(dup)); in xchk_directory_data_bestfree()
395 xchk_directory_check_free_entry(sc, lblk, bf, dup); in xchk_directory_data_bestfree()
[all …]
H A Dreaddir.c112 struct xfs_dir2_data_unused *dup = bp->b_addr + off; in xchk_dir_walk_block() local
118 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_walk_block()
119 next_off = off + be16_to_cpu(dup->length); in xchk_dir_walk_block()
201 struct xfs_dir2_data_unused *dup; in xchk_dir_walk_leaf() local
230 dup = bp->b_addr + offset; in xchk_dir_walk_leaf()
231 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xchk_dir_walk_leaf()
232 length = be16_to_cpu(dup->length); in xchk_dir_walk_leaf()
/openbmc/bmcweb/include/
H A Dduplicatable_file_handle.hpp13 fileHandle.native_handle(dup(other.fileHandle.native_handle())); in DuplicatableFileHandle()
21 fileHandle.native_handle(dup(other.fileHandle.native_handle())); in operator =()
/openbmc/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
/openbmc/linux/mm/
H A Dksm.c357 VM_BUG_ON(is_stable_node_dup(dup)); in stable_node_chain_add_dup()
358 dup->head = STABLE_NODE_DUP_HEAD; in stable_node_chain_add_dup()
367 hlist_del(&dup->hlist_dup); in __stable_node_dup_del()
374 if (is_stable_node_dup(dup)) in stable_node_dup_del()
375 __stable_node_dup_del(dup); in stable_node_dup_del()
377 rb_erase(&dup->node, root_stable_tree + NUMA(dup->nid)); in stable_node_dup_del()
379 dup->head = NULL; in stable_node_dup_del()
966 struct ksm_stable_node *dup; in remove_stable_node_chain() local
980 if (remove_stable_node(dup)) in remove_stable_node_chain()
1474 found = dup; in stable_node_dup()
[all …]
/openbmc/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()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/
H A Drs.c111 u32 dup = 0; in iwl_new_rate_from_v1() local
178 dup = (rate_v1 & RATE_MCS_DUP_MSK_V1) >> RATE_MCS_DUP_POS_V1; in iwl_new_rate_from_v1()
179 if (dup) { in iwl_new_rate_from_v1()
181 rate_v2 |= dup << RATE_MCS_CHAN_WIDTH_POS; in iwl_new_rate_from_v1()
/openbmc/linux/fs/ntfs3/
H A Dfrecord.c2990 memcpy(&de_name->dup, &fname->dup, sizeof(struct NTFS_DUP_INFO)); in ni_remove_name()
3111 memcpy(&de_name->dup, &fname->dup, sizeof(fname->dup)); in ni_add_name()
3215 dup->alloc_size = 0; in ni_update_parent()
3216 dup->data_size = 0; in ni_update_parent()
3223 dup->alloc_size = dup->data_size = 0; in ni_update_parent()
3251 dup->reparse = 0; in ni_update_parent()
3252 dup->ea_size = 0; in ni_update_parent()
3276 if (!fname || !memcmp(&fname->dup, dup, sizeof(fname->dup))) in ni_update_parent()
3303 memcpy(&fname->dup, dup, sizeof(fname->dup)); in ni_update_parent()
3373 dup.fa = ni->std_fa; in ni_write_inode()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/snappy/snappy/
H A Dfix-build-on-32bit-arm.patch26 - uint8_t val = 3, dup[8];
29 - vst1q_u8(dup, v);
/openbmc/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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dport.c279 if (dup) { in __mlx4_register_mac()
311 if (dup) { in __mlx4_register_mac()
395 if (dup) { in __mlx4_unregister_mac()
425 if (dup) { in __mlx4_unregister_mac()
436 if (dup) { in __mlx4_unregister_mac()
485 if (dup) { in __mlx4_replace_mac()
521 if (dup) { in __mlx4_replace_mac()
709 if (dup) { in __mlx4_register_vlan()
770 if (dup) { in __mlx4_unregister_vlan()
803 if (dup) { in __mlx4_unregister_vlan()
[all …]

1234567