Home
last modified time | relevance | path

Searched refs:new_key (Results 1 – 25 of 27) sorted by relevance

12

/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dreflink.c166 struct btrfs_key *new_key, in clone_copy_inline_extent() argument
176 const u64 aligned_end = ALIGN(new_key->offset + datal, in clone_copy_inline_extent()
182 if (new_key->offset > 0) { in clone_copy_inline_extent()
183 ret = copy_inline_to_page(BTRFS_I(dst), new_key->offset, in clone_copy_inline_extent()
267 ret = btrfs_insert_empty_item(trans, root, path, new_key, size); in clone_copy_inline_extent()
312 ret = copy_inline_to_page(BTRFS_I(dst), new_key->offset, in clone_copy_inline_extent()
367 struct btrfs_key new_key; in btrfs_clone() local
446 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_clone()
447 new_key.objectid = btrfs_ino(BTRFS_I(inode)); in btrfs_clone()
449 new_key.offset = key.offset + destoff - off; in btrfs_clone()
[all …]
H A Dfile.c688 struct btrfs_key new_key; in __btrfs_drop_extents() local
815 memcpy(&new_key, &key, sizeof(new_key)); in __btrfs_drop_extents()
816 new_key.offset = start; in __btrfs_drop_extents()
818 &new_key); in __btrfs_drop_extents()
847 new_key.objectid, in __btrfs_drop_extents()
870 memcpy(&new_key, &key, sizeof(new_key)); in __btrfs_drop_extents()
871 new_key.offset = end; in __btrfs_drop_extents()
872 btrfs_set_item_key_safe(fs_info, path, &new_key); in __btrfs_drop_extents()
1079 struct btrfs_key new_key; in btrfs_mark_extent_written() local
1134 memcpy(&new_key, &key, sizeof(new_key)); in btrfs_mark_extent_written()
[all …]
H A Dfree-space-tree.c857 struct btrfs_key key, new_key; in add_free_space_extent() local
881 new_key.objectid = start; in add_free_space_extent()
882 new_key.type = BTRFS_FREE_SPACE_EXTENT_KEY; in add_free_space_extent()
883 new_key.offset = size; in add_free_space_extent()
918 new_key.objectid = found_start; in add_free_space_extent()
919 new_key.offset += key.offset; in add_free_space_extent()
959 new_key.offset += key.offset; in add_free_space_extent()
966 ret = btrfs_insert_empty_item(trans, root, path, &new_key, 0); in add_free_space_extent()
H A Dctree.c3176 const struct btrfs_key *new_key) in btrfs_set_item_key_safe() argument
3186 if (unlikely(comp_keys(&disk_key, new_key) >= 0)) { in btrfs_set_item_key_safe()
3192 new_key->objectid, new_key->type, in btrfs_set_item_key_safe()
3193 new_key->offset); in btrfs_set_item_key_safe()
3200 if (unlikely(comp_keys(&disk_key, new_key) <= 0)) { in btrfs_set_item_key_safe()
3206 new_key->objectid, new_key->type, in btrfs_set_item_key_safe()
3207 new_key->offset); in btrfs_set_item_key_safe()
3213 btrfs_cpu_key_to_disk(&disk_key, new_key); in btrfs_set_item_key_safe()
4501 const struct btrfs_key *new_key, in split_item() argument
4539 btrfs_cpu_key_to_disk(&disk_key, new_key); in split_item()
[all …]
H A Dctree.h2702 const struct btrfs_key *new_key);
2729 const struct btrfs_key *new_key,
2734 const struct btrfs_key *new_key);
/OK3568_Linux_fs/external/mpp/utils/
H A Ddictionary.c71 char ** new_key ; in dictionary_grow() local
75 new_key = (char**) calloc(d->size * 2, sizeof * d->key); in dictionary_grow()
77 if (!new_val || !new_key || !new_hash) { in dictionary_grow()
81 if (new_key) in dictionary_grow()
82 free(new_key); in dictionary_grow()
89 memcpy(new_key, d->key, d->size * sizeof(char *)); in dictionary_grow()
98 d->key = new_key; in dictionary_grow()
/OK3568_Linux_fs/kernel/include/linux/
H A Dpr.h8 int (*pr_register)(struct block_device *bdev, u64 old_key, u64 new_key,
14 int (*pr_preempt)(struct block_device *bdev, u64 old_key, u64 new_key,
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dpr.h24 __u64 new_key; member
31 __u64 new_key; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dpr.h24 __u64 new_key; member
31 __u64 new_key; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dpr.h24 __u64 new_key; member
31 __u64 new_key; member
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Dtcp_fastopen_backup_key.c216 static uint32_t new_key[4]; in rotate_key() local
224 for (i = 0; i < ARRAY_SIZE(new_key); i++) in rotate_key()
225 new_key[i] = rand(); in rotate_key()
228 memcpy(keys + 4, new_key, KEY_LENGTH); in rotate_key()
/OK3568_Linux_fs/kernel/Documentation/block/
H A Dpr.rst63 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.
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/flann/
H A Dlsh_index.h250 lsh::BucketKey new_key = key | (1 << index); in fill_xor_mask() local
251 fill_xor_mask(new_key, index, level - 1, xor_masks); in fill_xor_mask()
/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm.c2992 u64 new_key; member
3040 return ops->pr_register(dev->bdev, pr->old_key, pr->new_key, pr->flags); in __dm_pr_register()
3043 static int dm_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_register() argument
3048 .new_key = new_key, in dm_pr_register()
3055 if (ret && new_key) { in dm_pr_register()
3057 pr.old_key = new_key; in dm_pr_register()
3058 pr.new_key = 0; in dm_pr_register()
3108 static int dm_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in dm_pr_preempt() argument
3121 r = ops->pr_preempt(bdev, old_key, new_key, type, abort); in dm_pr_preempt()
/OK3568_Linux_fs/kernel/net/tipc/
H A Dcrypto.c1157 u8 new_key; in tipc_crypto_key_attach() local
1162 new_key = KEY_MASTER; in tipc_crypto_key_attach()
1172 new_key = key.pending; in tipc_crypto_key_attach()
1177 new_key = pos; in tipc_crypto_key_attach()
1181 new_key = pos; in tipc_crypto_key_attach()
1186 new_key = key.pending; in tipc_crypto_key_attach()
1192 tipc_aead_rcu_replace(c->aead[new_key], aead, &c->lock); in tipc_crypto_key_attach()
1199 rc = new_key; in tipc_crypto_key_attach()
/OK3568_Linux_fs/yocto/poky/scripts/lib/recipetool/
H A Dcreate_buildsys_python.py385 new_key = _map(key)
386 if new_key != key:
388 d[new_key] = value
/OK3568_Linux_fs/external/xserver/xkb/
H A DxkbActions.c868 if ((pAction->redirect.new_key < xkbi->desc->min_key_code) || in _XkbFilterRedirectKey()
869 (pAction->redirect.new_key > xkbi->desc->max_key_code)) { in _XkbFilterRedirectKey()
879 ev.detail.key = pAction->redirect.new_key; in _XkbFilterRedirectKey()
918 ev.detail.key = filter->upAction.redirect.new_key; in _XkbFilterRedirectKey()
919 if (pAction == NULL || ev.detail.key != pAction->redirect.new_key) { in _XkbFilterRedirectKey()
965 return (pAction && ev.detail.key != pAction->redirect.new_key); in _XkbFilterRedirectKey()
H A DXKM_file_format.txt332 new_key: CARD8
/OK3568_Linux_fs/kernel/drivers/accessibility/speakup/
H A Dmain.c2102 u_char type = KTYP(keysym), value = KVAL(keysym), new_key = 0; in speakup_key() local
2148 new_key = key_info[offset]; in speakup_key()
2149 if (new_key) { in speakup_key()
2151 if (new_key == SPK_KEY) { in speakup_key()
2168 new_key = key_info[offset]; in speakup_key()
2173 value = new_key; in speakup_key()
2178 do_spkup(vc, new_key); in speakup_key()
/OK3568_Linux_fs/kernel/block/
H A Dioctl.c283 return ops->pr_register(bdev, reg.old_key, reg.new_key, reg.flags); in blkdev_pr_register()
337 return ops->pr_preempt(bdev, p.old_key, p.new_key, p.type, abort); in blkdev_pr_preempt()
/OK3568_Linux_fs/app/lvgl_demo/cJSON/
H A DcJSON.c2009 char *new_key = NULL; in add_item_to_object() local
2019 new_key = (char*)cast_away_const(string); in add_item_to_object()
2024 new_key = (char*)cJSON_strdup((const unsigned char*)string, hooks); in add_item_to_object()
2025 if (new_key == NULL) in add_item_to_object()
2038 item->string = new_key; in add_item_to_object()
/OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/iq_parser_v2/j2s/
H A DcJSON.cpp2018 char *new_key = NULL; in add_item_to_object() local
2028 new_key = (char*)cast_away_const(string); in add_item_to_object()
2033 new_key = (char*)cJSON_strdup((const unsigned char*)string, hooks); in add_item_to_object()
2034 if (new_key == NULL) in add_item_to_object()
2047 item->string = new_key; in add_item_to_object()
/OK3568_Linux_fs/kernel/net/openvswitch/
H A Dflow_netlink.c1887 struct sw_flow_key *new_key; in ovs_nla_get_identifier() local
1893 new_key = kmalloc(sizeof(*new_key), GFP_KERNEL); in ovs_nla_get_identifier()
1894 if (!new_key) in ovs_nla_get_identifier()
1896 memcpy(new_key, key, sizeof(*key)); in ovs_nla_get_identifier()
1897 sfid->unmasked_key = new_key; in ovs_nla_get_identifier()
/OK3568_Linux_fs/external/xserver/include/
H A Dxkbstr.h227 unsigned char new_key; member
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dsd.c1855 static int sd_pr_register(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_register() argument
1861 old_key, new_key, 0, in sd_pr_register()
1878 static int sd_pr_preempt(struct block_device *bdev, u64 old_key, u64 new_key, in sd_pr_preempt() argument
1881 return sd_pr_command(bdev, abort ? 0x05 : 0x04, old_key, new_key, in sd_pr_preempt()

12