/openbmc/linux/drivers/md/persistent-data/ |
H A D | dm-array.c | 387 struct resize { struct 435 static int drop_blocks(struct resize *resize, unsigned int begin_index, in drop_blocks() argument 443 r = dm_btree_remove(&resize->info->btree_info, resize->root, in drop_blocks() 444 &key, &resize->root); in drop_blocks() 464 static int shrink(struct resize *resize) in shrink() argument 474 if (resize->new_nr_full_blocks < resize->old_nr_full_blocks) { in shrink() 475 begin = total_nr_blocks_needed(resize->new_nr_full_blocks, in shrink() 476 resize->new_nr_entries_in_last_block); in shrink() 477 end = total_nr_blocks_needed(resize->old_nr_full_blocks, in shrink() 478 resize->old_nr_entries_in_last_block); in shrink() [all …]
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_64_mmu_hv.c | 37 #define resize_hpt_debug(resize, ...) \ argument 39 printk(KERN_DEBUG "RESIZE HPT %p: ", resize); \ 43 #define resize_hpt_debug(resize, ...) \ argument 1212 static int resize_hpt_allocate(struct kvm_resize_hpt *resize) in resize_hpt_allocate() argument 1216 rc = kvmppc_allocate_hpt(&resize->hpt, resize->order); in resize_hpt_allocate() 1220 resize_hpt_debug(resize, "%s(): HPT @ 0x%lx\n", __func__, in resize_hpt_allocate() 1221 resize->hpt.virt); in resize_hpt_allocate() 1226 static unsigned long resize_hpt_rehash_hpte(struct kvm_resize_hpt *resize, in resize_hpt_rehash_hpte() argument 1229 struct kvm *kvm = resize->kvm; in resize_hpt_rehash_hpte() 1231 struct kvm_hpt_info *new = &resize->hpt; in resize_hpt_rehash_hpte() [all …]
|
/openbmc/phosphor-net-ipmid/ |
H A D | auth_algo.cpp | 27 output.resize(0); in generateHMAC() 44 output.resize(0); in generateICV() 46 output.resize(integrityCheckValueLength); in generateICV() 62 output.resize(0); in generateHMAC() 81 output.resize(0); in generateICV() 83 output.resize(integrityCheckValueLength); in generateICV()
|
H A D | crypt_algo.cpp | 56 plainPayload.resize(plainPayloadLen); in decryptPayload() 79 payload.resize(payloadLen + paddingLen + 1); in encryptPayload() 146 output.resize(outputLen); in decryptData() 206 output.resize(AESCBC128ConfHeader + outputLen); in encryptData()
|
/openbmc/linux/drivers/media/i2c/ |
H A D | rj54n1cb0c.c | 164 unsigned short resize; /* Sensor * 1024 / resize = Output */ member 561 output_w = (input_w * 1024 + rj54n1->resize / 2) / rj54n1->resize; in rj54n1_set_selection() 562 output_h = (input_h * 1024 + rj54n1->resize / 2) / rj54n1->resize; in rj54n1_set_selection() 565 input_w, input_h, rj54n1->resize, output_w, output_h); in rj54n1_set_selection() 573 rj54n1->resize = ret; in rj54n1_set_selection() 638 unsigned int skip, resize, input_w = *in_w, input_h = *in_h, in rj54n1_sensor_scale() local 690 resize = 1024; in rj54n1_sensor_scale() 699 resize = (RJ54N1_MAX_HEIGHT * 1024 + output_h / 2) / in rj54n1_sensor_scale() 703 resize = (RJ54N1_MAX_WIDTH * 1024 + output_w / 2) / in rj54n1_sensor_scale() 706 resize = max(resize_x, resize_y); in rj54n1_sensor_scale() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/base-files/base-files/ |
H A D | profile | 13 # Use the EDITOR not being set as a trigger to call resize later on 29 if [ ! -x @BINDIR@/resize ] ; then 31 # Optimized resize funciton for bash 32 resize() { 40 # Portable resize function for ash/bash/dash/ksh 42 resize() { 63 /dev/tty[A-z]*) resize >/dev/null;;
|
/openbmc/linux/drivers/scsi/cxlflash/ |
H A D | vlun.c | 32 struct dk_cxlflash_resize *resize) in marshal_virt_to_resize() argument 34 resize->hdr = virt->hdr; in marshal_virt_to_resize() 35 resize->context_id = virt->context_id; in marshal_virt_to_resize() 36 resize->rsrc_handle = virt->rsrc_handle; in marshal_virt_to_resize() 37 resize->req_size = virt->lun_size; in marshal_virt_to_resize() 38 resize->last_lba = virt->last_lba; in marshal_virt_to_resize() 731 struct dk_cxlflash_resize *resize) in _cxlflash_vlun_resize() argument 740 res_hndl_t rhndl = resize->rsrc_handle; in _cxlflash_vlun_resize() 743 u64 ctxid = DECODE_CTXID(resize->context_id), in _cxlflash_vlun_resize() 744 rctxid = resize->context_id; in _cxlflash_vlun_resize() [all …]
|
/openbmc/pldm/libpldmresponder/ |
H A D | bios_table.cpp | 45 response.resize(currSize + fileSize); in load() 87 table.resize(payloadSize + pldm_bios_table_pad_checksum_size(payloadSize)); in appendPadAndChecksum() 114 table.resize(tableSize + entryLength); in constructEntry() 155 table.resize(tableSize + entryLength, 0); in constructStringEntry() 173 table.resize(tableSize + entryLength, 0); in constructIntegerEntry() 229 table.resize(tableSize + entryLength, 0); in constructEnumEntry() 305 table.resize(tableSize + entryLength); in constructStringEntry() 327 table.resize(tableSize + entryLength); in constructIntegerEntry() 349 table.resize(tableSize + entryLength); in constructEnumEntry() 385 destTable.resize(destBufferLength); in updateTable()
|
/openbmc/slpd-lite/ |
H A D | sock_channel.cpp | 36 outBuffer.resize(readSize); in read() 53 outBuffer.resize(0); in read() 61 outBuffer.resize(0); in read() 66 outBuffer.resize(readDataLen); in read()
|
H A D | slp_message_handler.cpp | 86 buff.resize(0); in processSrvTypeRequest() 124 buff.resize(0); in processSrvTypeRequest() 133 buff.resize(length); in processSrvTypeRequest() 185 buff.resize(0); in processSrvRequest() 195 buff.resize(0); in processSrvRequest() 203 buff.resize(0); in processSrvRequest() 214 buff.resize(length); in processSrvRequest() 239 buff.resize(0); in processSrvRequest() 243 buff.resize(buff.size() + slp::response::SIZE_URL_ENTRY + url.length()); in processSrvRequest()
|
/openbmc/phosphor-ipmi-blobs/test/ |
H A D | ipmi_commit_unittest.cpp | 28 request.resize(sizeof(struct BmcBlobCommitTx)); in TEST() 44 request.resize(sizeof(struct BmcBlobCommitTx)); in TEST() 62 request.resize(sizeof(struct BmcBlobCommitTx)); in TEST() 82 request.resize(sizeof(struct BmcBlobCommitTx)); in TEST()
|
H A D | ipmi_delete_unittest.cpp | 25 request.resize(sizeof(struct BmcBlobDeleteTx)); in TEST() 41 request.resize(sizeof(struct BmcBlobDeleteTx)); in TEST() 59 request.resize(sizeof(struct BmcBlobDeleteTx)); in TEST()
|
H A D | ipmi_stat_unittest.cpp | 34 request.resize(sizeof(struct BmcBlobStatTx)); in TEST() 52 request.resize(sizeof(struct BmcBlobStatTx)); in TEST() 74 request.resize(sizeof(struct BmcBlobStatTx)); in TEST() 112 request.resize(sizeof(struct BmcBlobStatTx)); in TEST()
|
H A D | ipmi_open_unittest.cpp | 32 request.resize(sizeof(struct BmcBlobOpenTx)); in TEST() 49 request.resize(sizeof(struct BmcBlobOpenTx)); in TEST() 71 request.resize(sizeof(struct BmcBlobOpenTx)); in TEST()
|
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/files/ |
H A D | 0006-mmal_chain.patch | 11 /* Lets try resize+chroma first, then transform */ 12 - msg_Dbg( p_filter, "Trying to build chroma+resize" ); 14 + msg_Dbg( p_filter, "Trying to build chroma+resize, then transform" );
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 106 | 59 $QEMU_IMG resize -f "$IMGFMT" --preallocation=$growth_mode "$TEST_IMG" +${GROWTH_SIZE}K 89 $QEMU_IMG resize -f "$IMGFMT" --shrink --preallocation=$growth_mode "$TEST_IMG" -${GROWTH_SIZE}K 106 $QEMU_IMG resize -f "$IMGFMT" --preallocation=$growth_mode "$TEST_IMG" +${GROWTH_SIZE}K
|
H A D | 271 | 544 $QEMU_IMG resize --shrink "$TEST_IMG" 64k 545 $QEMU_IMG resize "$TEST_IMG" 1M 722 $QEMU_IMG resize "$TEST_IMG" 1M 729 $QEMU_IMG resize "$TEST_IMG" 1M 736 $QEMU_IMG resize "$TEST_IMG" 1M 747 $QEMU_IMG resize --preallocation=metadata "$TEST_IMG" 1013k 754 $QEMU_IMG resize --preallocation=falloc "$TEST_IMG" 1013k 760 $QEMU_IMG resize --preallocation=full "$TEST_IMG" 1013k 771 $QEMU_IMG resize --preallocation=metadata "$TEST_IMG" 1013k 779 $QEMU_IMG resize --preallocation=falloc "$TEST_IMG" 1013k [all …]
|
H A D | 060 | 389 $QEMU_IMG resize --shrink "$TEST_IMG" 32M 398 $QEMU_IMG resize --shrink "$TEST_IMG" 32M 413 $QEMU_IMG resize --shrink "$TEST_IMG" 32M 422 $QEMU_IMG resize --shrink "$TEST_IMG" 32M 435 $QEMU_IMG resize --shrink "$TEST_IMG" 32M
|
H A D | 121 | 59 $QEMU_IMG resize "$TEST_IMG" 65M 83 $QEMU_IMG resize "$TEST_IMG" 65M
|
H A D | 292 | 65 $QEMU_IMG resize --shrink "$TEST_IMG" 520k 67 $QEMU_IMG resize "$TEST_IMG" 567k
|
H A D | 102 | 56 $QEMU_IMG resize -f raw --shrink "$TEST_IMG" $((5 * 64 * 1024)) 74 $QEMU_IMG resize --shrink --image-opts \
|
/openbmc/bmcweb/test/http/ |
H A D | server_sent_event_test.cpp | 61 eventContent.resize(expected.size()); in TEST() 83 eventContent.resize(expected.size()); in TEST() 104 eventContent.resize(expected.size()); in TEST()
|
/openbmc/phosphor-net-ipmid/test/ |
H A D | cipher.cpp | 65 output.resize(cipher::integrity::AlgoSHA1::SHA1_96_AUTHCODE_LENGTH); in TEST() 113 output.resize(cipher::integrity::AlgoSHA1::SHA1_96_AUTHCODE_LENGTH); in TEST() 228 output.resize(cipher::integrity::AlgoSHA256::SHA256_128_AUTHCODE_LENGTH); in TEST() 277 output.resize(cipher::integrity::AlgoSHA256::SHA256_128_AUTHCODE_LENGTH); in TEST() 400 output.resize(outputLen); in TEST() 419 payload.resize(payload.size() + 1); in TEST() 467 output.resize(cipher::crypt::AlgoAES128::AESCBC128ConfHeader + outputLen); in TEST()
|
/openbmc/dbus-sensors/src/nvme/ |
H A D | NVMeBasicContext.cpp | 97 resp.resize(0); in execBasicQuery() 101 resp.resize(UINT8_MAX + 1); in execBasicQuery() 110 resp.resize(0); in execBasicQuery() 117 resp.resize(0); in execBasicQuery() 121 resp.resize(size); in execBasicQuery() 128 resp.resize(0); in execBasicQuery()
|
/openbmc/entity-manager/test/ |
H A D | test_fru-utils.cpp | 209 data.resize(blockSize / 2); in TEST() 278 data.resize(blockSize, 'X'); in TEST() 279 data.resize(2 * blockSize, 'Y'); in TEST() 294 data.resize(3 * blockSize, 'X'); in TEST() 302 data.resize(blockSize); in TEST() 350 data.resize(0x6000 + I2C_SMBUS_BLOCK_MAX); in TEST() 377 data.resize(0x6000); in TEST()
|