Home
last modified time | relevance | path

Searched +full:copy +full:- +full:item (Results 1 – 25 of 721) sorted by relevance

12345678910>>...29

/openbmc/linux/fs/reiserfs/
H A Dlbalance.c12 * copy copy_count entries from source directory item to dest buffer
13 * (creating new item if needed)
19 struct buffer_head *dest = dest_bi->bi_bh; in leaf_copy_dir_entries()
21 * either the number of target item, or if we must create a in leaf_copy_dir_entries()
22 * new item, the number of the item we will create it next to in leaf_copy_dir_entries()
28 int copy_records_len; /* length of all records in item to be copied */ in leaf_copy_dir_entries()
33 RFALSE(!is_direntry_le_ih(ih), "vs-10000: item must be directory item"); in leaf_copy_dir_entries()
41 copy_records_len = (from ? deh_location(&deh[from - 1]) : in leaf_copy_dir_entries()
42 ih_item_len(ih)) - in leaf_copy_dir_entries()
43 deh_location(&deh[from + copy_count - 1]); in leaf_copy_dir_entries()
[all …]
H A Ddir.c34 struct inode *inode = filp->f_mapping->host; in reiserfs_dir_fsync()
42 reiserfs_write_lock(inode->i_sb); in reiserfs_dir_fsync()
44 reiserfs_write_unlock(inode->i_sb); in reiserfs_dir_fsync()
55 struct dentry *privroot = REISERFS_SB(dir->i_sb)->priv_root; in is_privroot_deh()
57 deh->deh_objectid == INODE_PKEY(d_inode(privroot))->k_objectid); in is_privroot_deh()
79 reiserfs_write_lock(inode->i_sb); in reiserfs_readdir_inode()
81 reiserfs_check_lock_depth(inode->i_sb, "readdir"); in reiserfs_readdir_inode()
87 make_cpu_key(&pos_key, inode, ctx->pos ?: DOT_OFFSET, TYPE_DIRENTRY, 3); in reiserfs_readdir_inode()
94 * search the directory item, containing entry with in reiserfs_readdir_inode()
98 search_by_entry_key(inode->i_sb, &pos_key, &path_to_entry, in reiserfs_readdir_inode()
[all …]
/openbmc/qemu/include/hw/nvram/
H A Dfw_cfg.h5 #include "standard-headers/linux/qemu_fw_cfg.h"
13 #define TYPE_FW_CFG_DATA_GENERATOR_INTERFACE "fw_cfg-data-generator"
31 * @errp: pointer to a NULL-initialized error object
112 * @key: selector key value for new fw_cfg item
113 * @data: pointer to start of item data
114 * @len: size of item data
116 * Add a new fw_cfg item, available by selecting the given key, as a raw
125 * @key: selector key value for new fw_cfg item
126 * @value: NUL-terminated ascii string
128 * Add a new fw_cfg item, available by selecting the given key. The item
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dtestexport.py4 # SPDX-License-Identifier: MIT
73 …extract_bin_command = runCmd("%s -n %s | %s xv" % (rpm2archive_command.output, pth_to_pkg, tar_com…
89 …if export_env == "1": #this is a native package and we only need to copy it. no need for extraction
91 …tive_rpm_file_list = [item for item in os.listdir(native_rpm_dir) if re.search("nativesdk-" + para…
95 …for item in native_rpm_file_list:# will copy all versions of package. Used version will be selecte…
96 bb.plain("Copying native package file: %s" % item)
97 …sh.copy(os.path.join(rpm_deploy_dir, native_rpm_dir, item), os.path.join(d.getVar("TEST_EXPORT_DIR…
104 …target_rpm_file_list = [item for item in os.listdir(arch_rpm_dir) if re.search(param_list[0] + "-(…
110 …for item in target_rpm_file_list: # copying all related rpm packages. "Intuition" reasons, someone…
111 bb.plain("Copying target specific packaged file: %s" % item)
[all …]
/openbmc/linux/tools/testing/ktest/
H A Dconfig-bisect.pl1 #!/usr/bin/perl -w
2 # SPDX-License-Identifier: GPL-2.0-only
4 # Copyright 2015 - Steven Rostedt, Red Hat Inc.
5 # Copyright 2017 - Steven Rostedt, VMware, Inc.
9 # config-bisect.pl [options] good-config bad-config [good|bad]
24 # $ config-bisect.pl /path/to/good/config /path/to/bad/config
43 # $ config-bisect.pl /path/to/good/config /path/to/bad/config good
46 # $ config-bisect.pl /path/to/good/config /path/to/bad/config bad
48 # Do not change the good-config or bad-config, config-bisect.pl will
49 # copy the good-config to a temp file with the same name as good-config
[all …]
/openbmc/linux/Documentation/RCU/
H A Drcu.rst6 The basic idea behind RCU (read-copy update) is to split destructive
8 item being destroyed, and one that actually carries out the destruction.
10 must be long enough that any readers accessing the item being deleted have
11 since dropped their references. For example, an RCU-protected deletion
12 from a linked list would first remove the item from the list, wait for
17 --------------------------
19 - Why would anyone want to use RCU?
21 The advantage of RCU's two-part approach is that RCU readers need
26 in read-mostly situations. The fact that RCU readers need not
27 acquire locks can also greatly simplify deadlock-avoidance code.
[all …]
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_hashtab.c7 * copy of this software and associated documentation files (the
9 * without limitation the rights to use, copy, modify, merge, publish,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
32 * Thomas Hellström <thomas-at-tungstengraphics-dot-com>
49 ht->order = order; in drm_ht_create()
50 ht->table = NULL; in drm_ht_create()
51 if (size <= PAGE_SIZE / sizeof(*ht->table)) in drm_ht_create()
52 ht->table = kcalloc(size, sizeof(*ht->table), GFP_KERNEL); in drm_ht_create()
54 ht->table = vzalloc(array_size(size, sizeof(*ht->table))); in drm_ht_create()
55 if (!ht->table) { in drm_ht_create()
[all …]
/openbmc/linux/Documentation/filesystems/nfs/
H A Drpc-cache.rst21 - mapping from IP address to client name
22 - mapping from client name and filesystem to export options
23 - mapping from UID to list of GIDs, to work around NFS's limitation
25 - mappings between local UID/GID and remote UID/GID for sites that
27 - mapping from network identify to public key for crypto authentication.
31 - general cache lookup with correct locking
32 - supporting 'NEGATIVE' as well as positive entries
33 - allowing an EXPIRED time on cache items, and removing
34 items after they expire, and are no longer in-use.
35 - making requests to user-space to fill in cache entries
[all …]
/openbmc/linux/rust/alloc/vec/
H A Dspec_extend.rs1 // SPDX-License-Identifier: Apache-2.0 OR MIT
18 fn try_spec_extend(&mut self, iter: I) -> Result<(), TryReserveError>; in try_spec_extend()
24 I: Iterator<Item = T>,
33 I: Iterator<Item = T>,
35 default fn try_spec_extend(&mut self, iter: I) -> Result<(), TryReserveError> { in try_spec_extend()
43 I: TrustedLen<Item = T>,
52 I: TrustedLen<Item = T>,
54 default fn try_spec_extend(&mut self, iterator: I) -> Result<(), TryReserveError> { in try_spec_extend()
70 fn try_spec_extend(&mut self, mut iterator: IntoIter<T>) -> Result<(), TryReserveError> { in try_spec_extend()
82 I: Iterator<Item = &'a T>,
[all …]
/openbmc/openbmc/poky/bitbake/lib/bblayers/
H A Daction.py4 # SPDX-License-Identifier: GPL-2.0-only
19 logger = logging.getLogger('bitbake-layers')
58 # Restore the back up copy of bblayers.conf
63 for item in notadded:
64 sys.stderr.write("Specified layer %s is already in BBLAYERS\n" % item)
66 # Remove the back up copy of bblayers.conf
77 for item in args.layerdir:
78 if item.startswith('*'):
79 layerdir = item
80 elif not '/' in item:
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/include/
H A Dvector.h2 * Copyright 2012-15 Advanced Micro Devices, Inc.
5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
79 const void *item);
91 /* create a clone (copy) of a vector */
109 * Macro definitions of TYPE-SAFE versions of vector set/get functions.
124 type_t item) \
126 return dal_vector_append(vector, item); \
131 * For uniformity reasons "type_t" is used for all type-safe macro
/openbmc/openbmc/poky/meta/files/common-licenses/
H A DClArtistic10 the Package in a more-or-less customary fashion, plus the right to make
29 "Distribution fee" is a fee you charge for providing a copy
33 use the item, though there may be fees involved in handling the
34 item. It also means that recipients of the item may redistribute
46 3. You may otherwise modify your copy of this Package in any way, provided
60 c) rename any non-standard executables so the names do not conflict
62 a separate manual page for each non-standard executable that clearly
67 e) permit and encourge anyone who receives a copy of the modified Package
79 b) accompany the distribution with the machine-readable source of
82 c) give non-standard executables non-standard names, and clearly
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dpldm_utils.py28 pldmtool base GetPLDMVersion -t 0
68 "AttributeNameHandle": "23(pvm-pcie-error-inject)",
82 for item in attr_val_table_data:
83 for attr in item:
86 for i in range(0, int(item[attr])):
87 attr_values = item[
97 r"\(.*?\)", item["AttributeNameHandle"]
99 attr_val_data_dict[attr_handle[0][1:-1]] = value_list
117 for item in attr_val_table_data:
119 attr_handle = re.findall(r"\(.*?\)", item["AttributeNameHandle"])
[all …]
/openbmc/u-boot/lib/efi_loader/
H A Defi_boottime.c1 // SPDX-License-Identifier: GPL-2.0+
14 #include <u-boot/crc.h>
30 * If we're running on nasty systems (32bit ARM booting into non-EFI Linux)
33 * direct Linux EFI booting along the way - oh well).
40 * fixed when compiling U-Boot. However, the payload does not know about that
47 /* 1 if inside U-Boot code, 0 if inside EFI payload code */
92 int ret = --entry_count == 0; in __efi_exit_check()
108 * Special case handler for error/abort that just forces things back to u-boot
123 * indent_string() - returns a string for indenting with two spaces per level
138 return &indent[max - level]; in indent_string()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd_fence.c2 * Copyright 2016-2018 Advanced Micro Devices, Inc.
5 * copy of this software and associated documentation files (the "Software"),
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
23 #include <linux/dma-fence.h>
38 * Big Idea - Since KFD submissions are done by user queues, a BO cannot be
44 * by calling ttm_device_funcs->eviction_valuable().
46 * ttm_device_funcs->eviction_valuable() - will return false if the BO belongs
50 * If ttm_device_funcs->eviction_valuable returns true, then TTM will continue
51 * the evcition process for that BO by calling ttm_bo_evict --> amdgpu_bo_move
52 * --> amdgpu_copy_buffer(). This sets up job in GPU scheduler.
[all …]
/openbmc/linux/fs/xfs/
H A Dxfs_buf_item_recover.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2006 Silicon Graphics, Inc.
33 ((log)->l_buf_cancel_table + ((uint64_t)blkno % XLOG_BC_TABLE_SIZE))
55 if (!log->l_buf_cancel_table) in xlog_find_buffer_cancelled()
60 if (bcp->bc_blkno == blkno && bcp->bc_len == len) in xlog_find_buffer_cancelled()
84 bcp->bc_refcount++; in xlog_add_buffer_cancelled()
89 bcp->bc_blkno = blkno; in xlog_add_buffer_cancelled()
90 bcp->bc_len = len; in xlog_add_buffer_cancelled()
91 bcp->bc_refcount = 1; in xlog_add_buffer_cancelled()
92 list_add_tail(&bcp->bc_list, XLOG_BUF_CANCEL_BUCKET(log, blkno)); in xlog_add_buffer_cancelled()
[all …]
H A Dxfs_buf_item.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2005 Silicon Graphics, Inc.
40 struct xfs_buf_log_format *blfp = iovec->i_addr; in xfs_buf_log_check_iovec()
44 if (offsetof(struct xfs_buf_log_format, blf_data_map) > iovec->i_len) in xfs_buf_log_check_iovec()
47 item_end = (char *)iovec->i_addr + iovec->i_len; in xfs_buf_log_check_iovec()
48 bmp_end = (char *)&blfp->blf_data_map[blfp->blf_map_size]; in xfs_buf_log_check_iovec()
57 (blfp->blf_map_size * sizeof(blfp->blf_data_map[0])); in xfs_buf_log_format_size()
73 if (last - first != nbits * XFS_BLF_CHUNK) in xfs_buf_item_straddle()
80 * item segment.
83 * stretch of non-contiguous chunks to be logged. Contiguous chunks are logged
[all …]
/openbmc/phosphor-webui/app/common/directives/
H A Dlog-event.html1 <div class="row column event-log__single-event"
2 ng-class="{'active': event.meta, 'selected': event.selected}">
4 <div class="inline__confirm" ng-class="{active: event.confirm}">
5 <div class="inline__confirm-message">
6 …<p class="h3"><i></i>Are you sure you want to <strong class="ng-binding">delete this event</strong…
8 <div class="inline__confirm-buttons">
9 <button class="btn-primary" ng-click="accept(event)">Yes</button>
10 <button class="btn-primary" ng-click="event.confirm=false;">No</button>
14 <div class="column small-1 large-2 event-log__col-check">
15 <label class="control-check">
[all …]
/openbmc/qemu/ui/
H A Dspice-core.c14 * You should have received a copy of the GNU General Public License
23 #include "ui/qemu-spice.h"
24 #include "qemu/error-report.h"
25 #include "qemu/main-loop.h"
30 #include "qemu-x509.h"
33 #include "qapi/qapi-commands-ui.h"
34 #include "qapi/qapi-events-ui.h"
40 #include "ui/spice-display.h"
64 timer->timer = timer_new_ms(QEMU_CLOCK_REALTIME, func, opaque); in timer_add()
70 timer_mod(timer->timer, qemu_clock_get_ms(QEMU_CLOCK_REALTIME) + ms); in timer_start()
[all …]
/openbmc/phosphor-ipmi-flash/bmc/firmware-handler/
H A Dfirmware_handler.cpp6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
25 #include <blobs-ipmid/blobs.hpp>
135 * but are not stat-able as-is. in stat()
146 meta->blobState = transportMask; in stat()
147 meta->size = 0; in stat()
168 value = pack->verification->status(); in getActionStatus()
182 value = pack->update->status(); in getActionStatus()
201 auto item = lookup.find(session); in stat() local
202 if (item == lookup.end()) in stat()
[all …]
/openbmc/linux/Documentation/filesystems/
H A Dxfs-delayed-logging-design.rst1 .. SPDX-License-Identifier: GPL-2.0
33 details logged are made up of the changes to in-core structures rather than
34 on-disk structures. Other objects - typically buffers - have their physical
46 The method used to log an item or chain modifications together isn't
64 place. This means that permanent transactions can be used for one-shot
65 modifications, but one-shot reservations cannot be used for permanent
68 In the code, a one-shot transaction pattern looks somewhat like this::
72 <join item to transaction>
97 While this might look similar to a one-shot transaction, there is an important
123 the on-disk journal.
[all …]
/openbmc/qemu/hw/virtio/
H A Dvirtio-nsm.c8 * top-level directory.
13 #include "qemu/guest-random.h"
18 #include "hw/virtio/virtio-nsm.h"
19 #include "hw/virtio/cbor-helpers.h"
20 #include "standard-headers/linux/virtio_ids.h"
104 len = cbor_serialize(root, response->iov_base, response->iov_len); in error_response()
110 response->iov_len = len; in error_response()
161 len = cbor_serialize(root, response->iov_base, response->iov_len); in handle_get_random()
169 response->iov_len = len; in handle_get_random()
195 * value = String("i-1234-enc5678"),
[all …]
/openbmc/openpower-inventory-upload/
H A Dinventory_upload.py3 # Contributors Listed Below - COPYRIGHT 2016
9 # You may obtain a copy of the License at
11 # http://www.apache.org/licenses/LICENSE-2.0
56 # make is-fru a real boolean
61 rename = rename.replace('_', '-')
62 rename = rename.replace(' ', '-')
75 path = "/%s" % '/'.join(path_elements[4:-1])
80 path = "/%s" % '/'.join(['bmc', 'inventory', path_elements[-1]])
92 item = transform(path, props) variable
93 if item:
[all …]
/openbmc/phosphor-ipmi-flash/bmc/log-handler/
H A Dlog_handlers_builder.cpp5 // You may obtain a copy of the License at
7 // http://www.apache.org/licenses/LICENSE-2.0
40 for (const auto& item : data) in buildHandlerFromJson() local
47 item.at("blob").get_to(output.blobId); in buildHandlerFromJson()
57 const auto& h = item.at("handler"); in buildHandlerFromJson()
72 const auto& a = item.at("actions"); in buildHandlerFromJson()
80 pack->onOpen = std::move(buildSystemd(onOpen)); in buildHandlerFromJson()
84 pack->onOpen = SkipAction::CreateSkipAction(); in buildHandlerFromJson()
96 pack->onDelete = std::move(buildSystemd(onDelete)); in buildHandlerFromJson()
100 pack->onDelete = SkipAction::CreateSkipAction(); in buildHandlerFromJson()
[all …]
/openbmc/phosphor-ipmi-flash/bmc/version-handler/
H A Dversion_handlers_builder.cpp6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
41 for (const auto& item : data) in buildHandlerFromJson() local
48 item.at("blob").get_to(output.blobId); in buildHandlerFromJson()
61 if (!item.contains("version")) in buildHandlerFromJson()
66 const auto& v = item.at("version"); in buildHandlerFromJson()
91 pack->onOpen = std::move(buildSystemd(onOpen)); in buildHandlerFromJson()
95 pack->onOpen = SkipAction::CreateSkipAction(); in buildHandlerFromJson()
108 /* TODO: Once phosphor-logging supports unit-test injection, fix in buildHandlerFromJson()

12345678910>>...29