/openbmc/openbmc-test-automation/lib/ |
H A D | data_proc.tcl | 235 regsub -all "^$prefix" $new_key {} new_key 238 regsub -all "^$prefix" $new_key {} new_key 239 set new_key "$new_key" 242 set new_key [string toupper $new_key] 244 set new_key [string tolower $new_key] 248 return $new_key 311 set cmd_buf "set target_arr_ref($new_key) $value" 322 set cmd_buf "dict append target_arr_ref $new_key \$value"
|
/openbmc/linux/fs/btrfs/ |
H A D | reflink.c | 170 struct btrfs_key *new_key, in clone_copy_inline_extent() argument 187 if (new_key->offset > 0) { in clone_copy_inline_extent() 376 struct btrfs_key new_key; in btrfs_clone() local 460 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_clone() 461 new_key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_clone() 465 new_key.offset = destoff; in btrfs_clone() 473 if (new_key.offset != last_dest_end) in btrfs_clone() 476 drop_start = new_key.offset; in btrfs_clone() 501 clone_info.file_offset = new_key.offset; in btrfs_clone() 506 drop_start, new_key.offset + datal - 1, in btrfs_clone() [all …]
|
H A D | ctree.h | 525 const struct btrfs_key *new_key); 557 const struct btrfs_key *new_key, 562 const struct btrfs_key *new_key);
|
H A D | file.c | 209 struct btrfs_key new_key; in btrfs_drop_extents() local 347 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_drop_extents() 350 &new_key); in btrfs_drop_extents() 379 new_key.objectid, in btrfs_drop_extents() 406 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_drop_extents() 407 new_key.offset = args->end; in btrfs_drop_extents() 603 struct btrfs_key new_key; in btrfs_mark_extent_written() local 658 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_mark_extent_written() 666 new_key.offset = end; in btrfs_mark_extent_written() 700 new_key.offset = start; in btrfs_mark_extent_written() [all …]
|
H A D | free-space-tree.c | 875 struct btrfs_key key, new_key; in add_free_space_extent() local 899 new_key.objectid = start; in add_free_space_extent() 900 new_key.type = BTRFS_FREE_SPACE_EXTENT_KEY; in add_free_space_extent() 901 new_key.offset = size; in add_free_space_extent() 936 new_key.objectid = found_start; in add_free_space_extent() 937 new_key.offset += key.offset; in add_free_space_extent() 977 new_key.offset += key.offset; in add_free_space_extent() 984 ret = btrfs_insert_empty_item(trans, root, path, &new_key, 0); in add_free_space_extent()
|
H A D | ctree.c | 2721 const struct btrfs_key *new_key) in btrfs_set_item_key_safe() argument 2732 if (unlikely(comp_keys(&disk_key, new_key) >= 0)) { in btrfs_set_item_key_safe() 2739 new_key->objectid, new_key->type, in btrfs_set_item_key_safe() 2740 new_key->offset); in btrfs_set_item_key_safe() 2753 new_key->objectid, new_key->type, in btrfs_set_item_key_safe() 2754 new_key->offset); in btrfs_set_item_key_safe() 2759 btrfs_cpu_key_to_disk(&disk_key, new_key); in btrfs_set_item_key_safe() 4039 const struct btrfs_key *new_key, in split_item() argument 4076 btrfs_cpu_key_to_disk(&disk_key, new_key); in split_item() 4122 const struct btrfs_key *new_key, in btrfs_split_item() argument [all …]
|
/openbmc/qemu/qobject/ |
H A D | block-qdict.c | 61 char *new_key; in qdict_flatten_qlist() local 76 new_key = g_strdup_printf("%s.%i", prefix, i); in qdict_flatten_qlist() 83 qdict_flatten_qdict(dict_val, target, new_key); in qdict_flatten_qlist() 85 qdict_flatten_qlist(list_val, target, new_key); in qdict_flatten_qlist() 87 qdict_put_obj(target, new_key, qobject_ref(value)); in qdict_flatten_qlist() 90 g_free(new_key); in qdict_flatten_qlist() 100 char *key, *new_key; in qdict_flatten_qdict() local 111 key = new_key = g_strdup_printf("%s.%s", prefix, entry->key); in qdict_flatten_qdict() 114 new_key = NULL; in qdict_flatten_qdict() 143 g_free(new_key); in qdict_flatten_qdict()
|
/openbmc/linux/include/uapi/linux/ |
H A D | pr.h | 41 __u64 new_key; member 48 __u64 new_key; member
|
/openbmc/linux/include/linux/ |
H A D | pr.h | 20 int (*pr_register)(struct block_device *bdev, u64 old_key, u64 new_key, 26 int (*pr_preempt)(struct block_device *bdev, u64 old_key, u64 new_key,
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | tcp_fastopen_backup_key.c | 214 static uint32_t new_key[4]; in rotate_key() local 222 for (i = 0; i < ARRAY_SIZE(new_key); i++) in rotate_key() 223 new_key[i] = rand(); in rotate_key() 226 memcpy(keys + 4, new_key, KEY_LENGTH); in rotate_key()
|
/openbmc/linux/Documentation/block/ |
H A D | pr.rst | 63 This ioctl command registers a new reservation if the new_key argument 68 If the new_key argument is 0 it unregisters the existing reservation passed 93 reservation key new_key.
|
/openbmc/qemu/hw/timer/ |
H A D | etraxfs_timer.c | 256 unsigned int new_key = value >> 9 & ((1 << 7) - 1); in timer_watchdog_update() local 263 if (wd_en && wd_key != new_key) in timer_watchdog_update() 267 wd_en, new_key, wd_key, new_cmd, wd_cnt)); in timer_watchdog_update()
|
/openbmc/qemu/net/ |
H A D | colo.c | 224 ConnectionKey *new_key = g_memdup(key, sizeof(*key)); in connection_get() local 240 g_hash_table_insert(connection_track_table, new_key, conn); in connection_get()
|
/openbmc/linux/drivers/md/ |
H A D | dm.c | 3146 u64 new_key; member 3204 ret = ops->pr_register(dev->bdev, pr->old_key, pr->new_key, pr->flags); in __dm_pr_register() 3217 static int dm_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_register() argument 3222 .new_key = new_key, in dm_pr_register() 3239 if (!new_key) in dm_pr_register() 3243 pr.old_key = new_key; in dm_pr_register() 3244 pr.new_key = 0; in dm_pr_register() 3340 pr->ret = ops->pr_preempt(dev->bdev, pr->old_key, pr->new_key, pr->type, in __dm_pr_preempt() 3348 static int dm_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_preempt() argument 3352 .new_key = new_key, in dm_pr_preempt()
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-iommu.c | 627 struct hiod_key *new_key; in virtio_iommu_set_iommu_device() local 672 new_key = g_malloc(sizeof(*new_key)); in virtio_iommu_set_iommu_device() 673 new_key->bus = bus; in virtio_iommu_set_iommu_device() 674 new_key->devfn = devfn; in virtio_iommu_set_iommu_device() 677 g_hash_table_insert(viommu->host_iommu_devices, new_key, hiod); in virtio_iommu_set_iommu_device()
|
/openbmc/linux/net/tipc/ |
H A D | crypto.c | 1153 u8 new_key; in tipc_crypto_key_attach() local 1158 new_key = KEY_MASTER; in tipc_crypto_key_attach() 1168 new_key = key.pending; in tipc_crypto_key_attach() 1173 new_key = pos; in tipc_crypto_key_attach() 1177 new_key = pos; in tipc_crypto_key_attach() 1182 new_key = key.pending; in tipc_crypto_key_attach() 1188 tipc_aead_rcu_replace(c->aead[new_key], aead, &c->lock); in tipc_crypto_key_attach() 1195 rc = new_key; in tipc_crypto_key_attach()
|
/openbmc/linux/fs/ntfs3/ |
H A D | bitmap.c | 367 size_t end3, end, new_key, new_len, max_new_len; in wnd_remove_free_ext() local 378 new_key = new_len = 0; in wnd_remove_free_ext() 386 new_key = end_in; in wnd_remove_free_ext() 443 e->start.key = new_key; in wnd_remove_free_ext() 482 e->start.key = new_key; in wnd_remove_free_ext()
|
/openbmc/qemu/hw/i386/ |
H A D | intel_iommu.c | 3756 struct vtd_as_key *new_key = g_malloc(sizeof(*new_key)); in vtd_find_add_as() local 3758 new_key->bus = bus; in vtd_find_add_as() 3759 new_key->devfn = devfn; in vtd_find_add_as() 3760 new_key->pasid = pasid; in vtd_find_add_as() 3846 g_hash_table_insert(s->vtd_address_spaces, new_key, vtd_dev_as); in vtd_find_add_as() 3883 struct vtd_as_key *new_key; in vtd_dev_set_iommu_device() local 3900 new_key = g_malloc(sizeof(*new_key)); in vtd_dev_set_iommu_device() 3901 new_key->bus = bus; in vtd_dev_set_iommu_device() 3902 new_key->devfn = devfn; in vtd_dev_set_iommu_device() 3905 g_hash_table_insert(s->vtd_host_iommu_dev, new_key, hiod); in vtd_dev_set_iommu_device()
|
/openbmc/linux/drivers/accessibility/speakup/ |
H A D | main.c | 2114 u_char type = KTYP(keysym), value = KVAL(keysym), new_key = 0; in speakup_key() local 2160 new_key = key_info[offset]; in speakup_key() 2161 if (new_key) { in speakup_key() 2163 if (new_key == SPK_KEY) { in speakup_key() 2180 new_key = key_info[offset]; in speakup_key() 2185 value = new_key; in speakup_key() 2190 do_spkup(vc, new_key); in speakup_key()
|
/openbmc/openbmc/poky/scripts/lib/recipetool/ |
H A D | create_buildsys_python.py | 449 new_key = _map(key) 450 if new_key != key: 452 d[new_key] = value
|
/openbmc/linux/block/ |
H A D | ioctl.c | 291 return ops->pr_register(bdev, reg.old_key, reg.new_key, reg.flags); in blkdev_pr_register() 345 return ops->pr_preempt(bdev, p.old_key, p.new_key, p.type, abort); in blkdev_pr_preempt()
|
/openbmc/qemu/system/ |
H A D | vl.c | 1722 g_autofree char *new_key = NULL; in keyval_dashify() local 1728 new_key = g_strdup(ent->key); in keyval_dashify() 1729 for (p = new_key; *p; p++) { in keyval_dashify() 1734 if (qdict_haskey(qdict, new_key)) { in keyval_dashify() 1735 error_setg(errp, "Conflict between '%s' and '%s'", ent->key, new_key); in keyval_dashify() 1739 qdict_put_obj(qdict, new_key, ent->value); in keyval_dashify()
|
/openbmc/linux/net/openvswitch/ |
H A D | flow_netlink.c | 1911 struct sw_flow_key *new_key; in ovs_nla_get_identifier() local 1917 new_key = kmalloc(sizeof(*new_key), GFP_KERNEL); in ovs_nla_get_identifier() 1918 if (!new_key) in ovs_nla_get_identifier() 1920 memcpy(new_key, key, sizeof(*key)); in ovs_nla_get_identifier() 1921 sfid->unmasked_key = new_key; in ovs_nla_get_identifier()
|
/openbmc/linux/drivers/scsi/ |
H A D | sd.c | 1925 static int sd_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_register() argument 1931 old_key, new_key, 0, in sd_pr_register() 1950 static int sd_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_preempt() argument 1953 return sd_pr_out_command(bdev, abort ? 0x05 : 0x04, old_key, new_key, in sd_pr_preempt()
|
/openbmc/qemu/target/arm/ |
H A D | helper.c | 6853 uint32_t src_key, dst_key, new_key; in define_arm_vh_e2h_redirects_aliases() member 6950 new_reg->crn = (a->new_key & CP_REG_ARM64_SYSREG_CRN_MASK) in define_arm_vh_e2h_redirects_aliases() 6952 new_reg->crm = (a->new_key & CP_REG_ARM64_SYSREG_CRM_MASK) in define_arm_vh_e2h_redirects_aliases() 6954 new_reg->opc0 = (a->new_key & CP_REG_ARM64_SYSREG_OP0_MASK) in define_arm_vh_e2h_redirects_aliases() 6956 new_reg->opc1 = (a->new_key & CP_REG_ARM64_SYSREG_OP1_MASK) in define_arm_vh_e2h_redirects_aliases() 6958 new_reg->opc2 = (a->new_key & CP_REG_ARM64_SYSREG_OP2_MASK) in define_arm_vh_e2h_redirects_aliases() 6986 (gpointer)(uintptr_t)a->new_key, new_reg); in define_arm_vh_e2h_redirects_aliases()
|