/kernel/linux/linux-5.10/fs/verity/ |
H A D | verify.c | 20 * @dindex: (in) the index of the data block being verified 22 * @hindex: (out) the index of the hash block containing the wanted hash 54 pgoff_t index, int level) in cmp_hashes() 62 "FILE CORRUPTED! index=%lu, level=%d, want_hash=%s:%*phN, real_hash=%s:%*phN", in cmp_hashes() 63 index, level, in cmp_hashes() 92 const pgoff_t index = data_page->index; in verify_page() local 104 pr_debug_ratelimited("Verifying data page %lu...\n", index); in verify_page() 107 if (index >= DIV_ROUND_UP(vi->verified_data_size, PAGE_SIZE)) { in verify_page() 123 hash_at_level(params, index, leve in verify_page() 52 cmp_hashes(const struct fsverity_info *vi, const u8 *want_hash, const u8 *real_hash, pgoff_t index, int level) cmp_hashes() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
H A D | vnic_wq.c | 33 buf->index = i * VNIC_WQ_BUF_BLK_ENTRIES(count) + j; in vnic_wq_alloc_bufs() 35 wq->ring.desc_size * buf->index; in vnic_wq_alloc_bufs() 36 if (buf->index + 1 == count) { in vnic_wq_alloc_bufs() 75 int vnic_wq_alloc(struct vnic_dev *vdev, struct vnic_wq *wq, unsigned int index, in vnic_wq_alloc() argument 80 wq->index = index; in vnic_wq_alloc() 83 wq->ctrl = vnic_dev_get_res(vdev, RES_TYPE_WQ, index); in vnic_wq_alloc() 85 vdev_err(vdev, "Failed to hook WQ[%d] resource\n", index); in vnic_wq_alloc() 109 wq->index = 0; in enic_wq_devcmd2_alloc() 177 vdev_neterr(vdev, "Failed to disable WQ[%d]\n", wq->index); in vnic_wq_disable() [all...] |
/kernel/linux/linux-6.6/drivers/acpi/acpica/ |
H A D | rscreate.c | 188 u32 index; in acpi_rs_create_pci_routing_table() local 227 for (index = 0; index < number_of_elements; index++) { in acpi_rs_create_pci_routing_table() 250 index, (*top_object_list)->package.count)); in acpi_rs_create_pci_routing_table() 267 index, in acpi_rs_create_pci_routing_table() 280 index, in acpi_rs_create_pci_routing_table() 300 index, in acpi_rs_create_pci_routing_table() 351 index, in acpi_rs_create_pci_routing_table() 369 index, in acpi_rs_create_pci_routing_table() [all...] |
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_gen2_hw_data.h | 87 #define READ_CSR_AE2FUNCTION_MAP_A(pmisc_bar_addr, index) \ 89 AE2FUNCTION_MAP_REG_SIZE * (index)) 90 #define WRITE_CSR_AE2FUNCTION_MAP_A(pmisc_bar_addr, index, value) \ 92 AE2FUNCTION_MAP_REG_SIZE * (index), value) 93 #define READ_CSR_AE2FUNCTION_MAP_B(pmisc_bar_addr, index) \ 95 AE2FUNCTION_MAP_REG_SIZE * (index)) 96 #define WRITE_CSR_AE2FUNCTION_MAP_B(pmisc_bar_addr, index, value) \ 98 AE2FUNCTION_MAP_REG_SIZE * (index), value) 112 #define WRITE_CSR_RING_SRV_ARB_EN(csr_addr, index, value) \ 114 (ADF_ARB_REG_SLOT * (index)), valu [all...] |
/kernel/linux/linux-6.6/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_protocol.c | 17 int index = ipc_protocol_msg_prep(ipc_protocol->imem, msg_type, in ipc_protocol_tq_msg_send() local 23 if (index >= 0 && index < IPC_MEM_MSG_ENTRIES) { in ipc_protocol_tq_msg_send() 24 ipc_protocol->rsp_ring[index] = response; in ipc_protocol_tq_msg_send() 28 return index; in ipc_protocol_tq_msg_send() 62 int index; in ipc_protocol_msg_send() local 80 * A positive index returned form tasklet_call references the message in ipc_protocol_msg_send() 83 index = ipc_task_queue_send_task(ipc_protocol->imem, in ipc_protocol_msg_send() 87 if (index < 0) { in ipc_protocol_msg_send() 89 return index; in ipc_protocol_msg_send() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | event.c | 26 nvkm_event_put(struct nvkm_event *event, u32 types, int index) in nvkm_event_put() argument 30 nvkm_trace(event->subdev, "event: decr %08x on %d\n", types, index); in nvkm_event_put() 34 if (--event->refs[index * event->types_nr + type] == 0) { in nvkm_event_put() 35 nvkm_trace(event->subdev, "event: blocking %d on %d\n", type, index); in nvkm_event_put() 37 event->func->fini(event, 1 << type, index); in nvkm_event_put() 43 nvkm_event_get(struct nvkm_event *event, u32 types, int index) in nvkm_event_get() argument 47 nvkm_trace(event->subdev, "event: incr %08x on %d\n", types, index); in nvkm_event_get() 51 if (++event->refs[index * event->types_nr + type] == 1) { in nvkm_event_get() 52 nvkm_trace(event->subdev, "event: allowing %d on %d\n", type, index); in nvkm_event_get() 54 event->func->init(event, 1 << type, index); in nvkm_event_get() [all...] |
/test/ostest/wukong/report/src/ |
H A D | statistics_event.cpp | 89 uint32_t index = curStatisticsMsgPtr->ElementTypesIndex(srcData["event"]); in SrcDatasPretreatment() local 91 if (index != curStatisticsMsgPtr->eventTypes_.size()) { in SrcDatasPretreatment() 92 curEventStatisticsRecordPtr = curStatisticsMsgPtr->eventTypeRecord_[index]; in SrcDatasPretreatment() 93 DEBUG_LOG_STR("use inited curEventStatisticsRecordPtr in index{%d} | event{%s}", index, in SrcDatasPretreatment() 100 if (curStatisticsMsgPtr->eventTypeRecord_.size() > index) { in SrcDatasPretreatment() 101 curStatisticsMsgPtr->eventTypeRecord_[index] = curEventStatisticsRecordPtr; in SrcDatasPretreatment() 102 curStatisticsMsgPtr->eventTypes_[index] = srcData["event"]; in SrcDatasPretreatment() 143 uint32_t index = curEventStatisticsMsgPtr->ElementTypesIndex(eventType); in GlobalElementTypesStatistics() local 144 if (curEventStatisticsMsgPtr->eventTypeRecord_.size() > index) { in GlobalElementTypesStatistics() [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | uvector.h | 37 * There is index bounds checking, but little is done about it. If 72 * <p>Improve the handling of index out of bounds errors. 150 void setElementAt(void* obj, int32_t index); 152 void setElementAt(int32_t elem, int32_t index); 154 void insertElementAt(void* obj, int32_t index, UErrorCode &status); 156 void insertElementAt(int32_t elem, int32_t index, UErrorCode &status); 158 void* elementAt(int32_t index) const; 160 int32_t elementAti(int32_t index) const; 184 void removeElementAt(int32_t index); 218 inline void* operator[](int32_t index) cons [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_ra.cpp | 115 auto& adjecency = interference.row(start_comp, group.channels[comp]->index()); in group_allocation() 138 auto& adjecencies = interference.row(comp, group.channels[comp]->index()); in group_allocation() 167 auto& vreg_cmp = vregs[reg->index()]; in group_allocation() 197 auto& adjecency = interference.row(comp, r.m_register->index()); in scalar_allocation() 247 * definite register index, and array values are allocated in register_allocation() 259 assert(comp[entry.m_register->index()].m_register->index() == entry.m_register->index()); in register_allocation() 264 assert(comp[group.channels[i]->index()].m_register->index() in register_allocation() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | uvector.h | 37 * There is index bounds checking, but little is done about it. If 72 * <p>Improve the handling of index out of bounds errors. 150 void setElementAt(void* obj, int32_t index); 152 void setElementAt(int32_t elem, int32_t index); 154 void insertElementAt(void* obj, int32_t index, UErrorCode &status); 156 void insertElementAt(int32_t elem, int32_t index, UErrorCode &status); 158 void* elementAt(int32_t index) const; 160 int32_t elementAti(int32_t index) const; 184 void removeElementAt(int32_t index); 218 inline void* operator[](int32_t index) cons [all...] |
/third_party/node/deps/v8/src/codegen/ |
H A D | signature.h | 34 T GetParam(size_t index) const { in GetParam() 35 DCHECK_LT(index, parameter_count_); in GetParam() 36 return reps_[return_count_ + index]; in GetParam() 39 T GetReturn(size_t index = 0) const { in GetReturn() 40 DCHECK_LT(index, return_count_); in GetReturn() 41 return reps_[index]; in GetReturn() 88 void AddParamAt(size_t index, T val) { in AddParamAt() argument 89 DCHECK_LT(index, parameter_count_); in AddParamAt() 90 buffer_[return_count_ + index] = val; in AddParamAt() 91 pcursor_ = std::max(pcursor_, index in AddParamAt() [all...] |
/third_party/node/deps/v8/src/api/ |
H A D | api-arguments.h | 49 inline FullObjectSlot slot_at(int index) { in slot_at() argument 50 // This allows index == T::kArgsLength so "one past the end" slots in slot_at() 52 DCHECK_LE(static_cast<unsigned>(index), in slot_at() 54 return FullObjectSlot(values_ + index); in slot_at() 116 uint32_t index); 118 uint32_t index); 120 uint32_t index, Handle<Object> value); 122 uint32_t index, 125 uint32_t index); 127 Handle<InterceptorInfo> interceptor, uint32_t index); [all...] |
/third_party/python/Lib/ |
H A D | asynchat.py | 168 index = self.ac_in_buffer.find(terminator) 169 if index != -1: 171 if index > 0: 174 self.collect_incoming_data(self.ac_in_buffer[:index]) 175 self.ac_in_buffer = self.ac_in_buffer[index+terminator_len:] 181 index = find_prefix_at_end(self.ac_in_buffer, terminator) 182 if index: 183 if index != lb: 185 self.collect_incoming_data(self.ac_in_buffer[:-index]) 186 self.ac_in_buffer = self.ac_in_buffer[-index [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | transformation_composite_insert.cpp | 30 const std::vector<uint32_t>& index) { in TransformationCompositeInsert() 36 for (auto an_index : index) { in TransformationCompositeInsert() 56 // The indices in |message_.index| must be suitable for indexing into in IsApplicable() 59 ir_context, composite->type_id(), message_.index()); in IsApplicable() 79 // the component of the composite at index |message_.index| must be the same. in IsApplicable() 115 std::vector<uint32_t> index = in Apply() local 116 fuzzerutil::RepeatedFieldToVector(message_.index()); in Apply() 120 for (auto i : index) { in Apply() 194 // index bein in AddDataSynonymFacts() 27 TransformationCompositeInsert( const protobufs::InstructionDescriptor& instruction_to_insert_before, uint32_t fresh_id, uint32_t composite_id, uint32_t object_id, const std::vector<uint32_t>& index) TransformationCompositeInsert() argument 203 std::vector<uint32_t> index = AddDataSynonymFacts() local [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | transformation_composite_insert.cpp | 30 const std::vector<uint32_t>& index) { in TransformationCompositeInsert() 36 for (auto an_index : index) { in TransformationCompositeInsert() 56 // The indices in |message_.index| must be suitable for indexing into in IsApplicable() 59 ir_context, composite->type_id(), message_.index()); in IsApplicable() 79 // the component of the composite at index |message_.index| must be the same. in IsApplicable() 115 std::vector<uint32_t> index = in Apply() local 116 fuzzerutil::RepeatedFieldToVector(message_.index()); in Apply() 120 for (auto i : index) { in Apply() 194 // index bein in AddDataSynonymFacts() 27 TransformationCompositeInsert( const protobufs::InstructionDescriptor& instruction_to_insert_before, uint32_t fresh_id, uint32_t composite_id, uint32_t object_id, const std::vector<uint32_t>& index) TransformationCompositeInsert() argument 203 std::vector<uint32_t> index = AddDataSynonymFacts() local [all...] |
/third_party/spirv-tools/source/fuzz/ |
H A D | transformation_composite_insert.cpp | 30 const std::vector<uint32_t>& index) { in TransformationCompositeInsert() 36 for (auto an_index : index) { in TransformationCompositeInsert() 56 // The indices in |message_.index| must be suitable for indexing into in IsApplicable() 59 ir_context, composite->type_id(), message_.index()); in IsApplicable() 79 // the component of the composite at index |message_.index| must be the same. in IsApplicable() 115 std::vector<uint32_t> index = in Apply() local 116 fuzzerutil::RepeatedFieldToVector(message_.index()); in Apply() 120 for (auto i : index) { in Apply() 194 // index bein in AddDataSynonymFacts() 27 TransformationCompositeInsert( const protobufs::InstructionDescriptor& instruction_to_insert_before, uint32_t fresh_id, uint32_t composite_id, uint32_t object_id, const std::vector<uint32_t>& index) TransformationCompositeInsert() argument 203 std::vector<uint32_t> index = AddDataSynonymFacts() local [all...] |
/drivers/interface/camera/metadata/src/ |
H A D | camera_metadata_info.cpp | 451 ret = UpdateCameraMetadataItemByIndex(metadata_, item.index, data, dataCount, nullptr); in updateEntry() 815 int CameraMetadata::GetCameraMetadataItem(const common_metadata_header_t *src, uint32_t index, in GetCameraMetadataItem() argument 829 if (index >= src->item_count) { in GetCameraMetadataItem() 830 METADATA_ERR_LOG("GetCameraMetadataItem index is greater than item count"); in GetCameraMetadataItem() 834 camera_metadata_item_entry_t *localItem = GetMetadataItems(src) + index; in GetCameraMetadataItem() 836 item->index = index; in GetCameraMetadataItem() 866 METADATA_ERR_LOG("FindCameraMetadataItemIndex src or index is null"); in FindCameraMetadataItemIndex() 871 uint32_t index; in FindCameraMetadataItemIndex() local 872 for (index in FindCameraMetadataItemIndex() 894 uint32_t index = 0; FindCameraMetadataItem() local 910 uint32_t index = 0; IsCameraMetadataItemExist() local 1035 UpdateCameraMetadataItemByIndex(common_metadata_header_t *dst, uint32_t index, const void *data, uint32_t dataCount, camera_metadata_item_t *updatedItem) UpdateCameraMetadataItemByIndex() argument 1086 uint32_t index = 0; UpdateCameraMetadataItem() local 1117 DeleteCameraMetadataItemByIndex(common_metadata_header_t *dst, uint32_t index) DeleteCameraMetadataItemByIndex() argument 1169 uint32_t index = 0; DeleteCameraMetadataItem() local [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/ |
H A D | wext.c | 30 static int orinoco_set_key(struct orinoco_private *priv, int index, in orinoco_set_key() argument 34 kfree_sensitive(priv->keys[index].key); in orinoco_set_key() 35 kfree_sensitive(priv->keys[index].seq); in orinoco_set_key() 38 priv->keys[index].key = kzalloc(key_len, GFP_ATOMIC); in orinoco_set_key() 39 if (!priv->keys[index].key) in orinoco_set_key() 42 priv->keys[index].key = NULL; in orinoco_set_key() 45 priv->keys[index].seq = kzalloc(seq_len, GFP_ATOMIC); in orinoco_set_key() 46 if (!priv->keys[index].seq) in orinoco_set_key() 49 priv->keys[index].seq = NULL; in orinoco_set_key() 51 priv->keys[index] in orinoco_set_key() 241 int index = (erq->flags & IW_ENCODE_INDEX) - 1; orinoco_ioctl_setiwencode() local 332 int index = (erq->flags & IW_ENCODE_INDEX) - 1; orinoco_ioctl_getiwencode() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/orinoco/ |
H A D | wext.c | 30 static int orinoco_set_key(struct orinoco_private *priv, int index, in orinoco_set_key() argument 34 kfree_sensitive(priv->keys[index].key); in orinoco_set_key() 35 kfree_sensitive(priv->keys[index].seq); in orinoco_set_key() 38 priv->keys[index].key = kzalloc(key_len, GFP_ATOMIC); in orinoco_set_key() 39 if (!priv->keys[index].key) in orinoco_set_key() 42 priv->keys[index].key = NULL; in orinoco_set_key() 45 priv->keys[index].seq = kzalloc(seq_len, GFP_ATOMIC); in orinoco_set_key() 46 if (!priv->keys[index].seq) in orinoco_set_key() 49 priv->keys[index].seq = NULL; in orinoco_set_key() 51 priv->keys[index] in orinoco_set_key() 244 int index = (erq->flags & IW_ENCODE_INDEX) - 1; orinoco_ioctl_setiwencode() local 336 int index = (erq->flags & IW_ENCODE_INDEX) - 1; orinoco_ioctl_getiwencode() local [all...] |
/third_party/mesa3d/src/amd/addrlib/src/r800/ |
H A D | siaddrlib.cpp | 667 UINT_32 slice, ///< [in] slice index in ComputePipeFromCoord() 826 UINT_32 elemIdx, ///< [in] per pipe element index within a macro tile in ComputeTileCoordFromPipeAndElemIdx() 827 UINT_32 pipe, ///< [in] pipe index in ComputeTileCoordFromPipeAndElemIdx() 1077 * Compute element index from coordinates in tiles 1079 * Element index 1293 UINT_32 slice, ///< [in] slice/depth index in HwlComputeXmaskAddrFromCoord() 1460 UINT_32* pSlice ///< [out] slice index in HwlComputeXmaskCoordFromAddr() 1961 INT index = TileIndexInvalid; in HwlSetupTileInfo() local 1994 index = 3; in HwlSetupTileInfo() 1997 index in HwlSetupTileInfo() [all...] |
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | OpenArchive.cpp | 318 Z7_COM7F_IMF(CHandler::GetProperty(UInt32 index, PROPID propID, PROPVARIANT *value))
in GetProperty() argument 323 const CParseItem &item = _items[index];
in GetProperty() 330 ConvertUInt32ToString(index + 1, sz);
in GetProperty() 400 const UInt32 index = allFilesMode ? i : indices[i];
in Extract() local 401 const CParseItem &item = _items[index];
in Extract() 403 RINOK(extractCallback->GetStream(index, &realOutStream, askMode))
in Extract() 432 Z7_COM7F_IMF(CHandler::GetStream(UInt32 index, ISequentialInStream **stream))
in GetStream() argument 435 const CParseItem &item = _items[index];
in GetStream() 444 HRESULT Archive_GetItemBoolProp(IInArchive *arc, UInt32 index, PROPID propID, bool &result) throw()
448 RINOK(arc->GetProperty(index, propI [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | type.pb.h | 308 PROTOBUF_NAMESPACE_ID::Field* mutable_fields(int index); 312 const PROTOBUF_NAMESPACE_ID::Field& _internal_fields(int index) const; 315 const PROTOBUF_NAMESPACE_ID::Field& fields(int index) const; 326 const std::string& oneofs(int index) const; 327 std::string* mutable_oneofs(int index); 328 void set_oneofs(int index, const std::string& value); 329 void set_oneofs(int index, std::string&& value); 330 void set_oneofs(int index, const char* value); 331 void set_oneofs(int index, const char* value, size_t size); 340 const std::string& _internal_oneofs(int index) cons 1429 mutable_fields(int index) mutable_fields() argument 1479 mutable_oneofs(int index) mutable_oneofs() argument 1483 set_oneofs(int index, const std::string& value) set_oneofs() argument 1487 set_oneofs(int index, std::string&& value) set_oneofs() argument 1491 set_oneofs(int index, const char* value) set_oneofs() argument 1496 set_oneofs(int index, const char* value, size_t size) set_oneofs() argument 1542 mutable_options(int index) mutable_options() argument 1906 mutable_options(int index) mutable_options() argument 2135 mutable_enumvalue(int index) mutable_enumvalue() argument 2174 mutable_options(int index) mutable_options() argument 2396 mutable_options(int index) mutable_options() argument [all...] |
/drivers/hdf_core/framework/support/platform/include/pin/ |
H A D | pin_core.h | 46 int32_t (*SetPinPull)(struct PinCntlr *cntlr, uint32_t index, enum PinPullType pullType); 47 int32_t (*GetPinPull)(struct PinCntlr *cntlr, uint32_t index, enum PinPullType *pullType); 48 int32_t (*SetPinStrength)(struct PinCntlr *cntlr, uint32_t index, uint32_t strength); 49 int32_t (*GetPinStrength)(struct PinCntlr *cntlr, uint32_t index, uint32_t *strength); 50 int32_t (*SetPinFunc)(struct PinCntlr *cntlr, uint32_t index, const char *funcName); 51 int32_t (*GetPinFunc)(struct PinCntlr *cntlr, uint32_t index, const char **funcName);
|
/drivers/peripheral/user_auth/hdi_service/database/src/ |
H A D | file_manager_utils.c | 93 ResultCode StreamRead(Buffer *parcel, uint32_t *index, void *to, uint32_t size) in StreamRead() argument 95 if (!IsBufferValid(parcel) || index == NULL || to == NULL) { in StreamRead() 99 if (parcel->contentSize <= *index || parcel->contentSize - *index < size) { in StreamRead() 103 if (memcpy_s(to, size, parcel->buf + *index, size) != EOK) { in StreamRead() 107 *index += size; in StreamRead()
|
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-interrupt-rsl.c | 42 void __cvmx_interrupt_gmxx_rxx_int_en_enable(int index, int block); 81 int index; in __cvmx_interrupt_gmxx_enable() local 138 for (index = 0; index < num_ports; index++) in __cvmx_interrupt_gmxx_enable() 139 __cvmx_interrupt_gmxx_rxx_int_en_enable(index, interface); in __cvmx_interrupt_gmxx_enable()
|