/kernel/linux/linux-6.6/net/hsr/ |
H A D | hsr_netlink.c | 192 int res; in hsr_nl_ringerror() local 203 res = nla_put(skb, HSR_A_NODE_ADDR, ETH_ALEN, addr); in hsr_nl_ringerror() 204 if (res < 0) in hsr_nl_ringerror() 207 res = nla_put_u32(skb, HSR_A_IFINDEX, port->dev->ifindex); in hsr_nl_ringerror() 208 if (res < 0) in hsr_nl_ringerror() 234 int res; in hsr_nl_nodedown() local 244 res = nla_put(skb, HSR_A_NODE_ADDR, ETH_ALEN, addr); in hsr_nl_nodedown() 245 if (res < 0) in hsr_nl_nodedown() 288 int res; in hsr_get_node_status() local 311 res in hsr_get_node_status() 417 int res; hsr_get_node_list() local [all...] |
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | struct_ops.c | 24 struct res { struct 170 static int cmd_retval(const struct res *res, bool must_have_one_map) in cmd_retval() argument 172 if (res->nr_errs || (!res->nr_maps && must_have_one_map)) in cmd_retval() 186 static struct res do_search(const char *name, work_func func, void *data, in do_search() 190 struct res res = {}; in do_search() local 196 res.nr_errs++; in do_search() 197 return res; in do_search() 239 struct res res = {}; do_one_id() local 334 struct res res; do_show() local 405 struct res res; do_dump() local 464 struct res res; do_unregister() local [all...] |
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/ |
H A D | hc_thread.c | 37 int res = pthread_setname_np(pthread_self(), StringGet(&thread->name));
in StaticThreadFunc() local 38 if (res != 0) {
in StaticThreadFunc() 39 LOGW("[OS]: pthread_setname_np fail. [Res]: %d", res);
in StaticThreadFunc() 77 int res = pthread_create(&thread->thread, &attr, StaticThreadFunc, thread);
in Start() local 78 LOGI("[OS]: pthread_create quit. [Res]: %d", res);
in Start() 80 if (res != 0) {
in Start() 81 LOGE("[OS]: pthread_create fail. [Res]: %d", res);
in Start() 85 return res;
in Start() 134 int32_t res = InitHcMutex(&thread->threadLock);
in InitThread() local 135 if (res ! in InitThread() [all...] |
/third_party/curl/tests/libtest/ |
H A D | lib572.c | 46 int res; in test() local 77 res = TEST_ERR_MAJOR_BAD; in test() 86 res = curl_easy_perform(curl); in test() 87 if(res) in test() 92 res = TEST_ERR_MAJOR_BAD; in test() 107 res = TEST_ERR_MAJOR_BAD; in test() 116 res = curl_easy_perform(curl); in test() 117 if(res) in test() 127 res = TEST_ERR_MAJOR_BAD; in test() 134 res in test() [all...] |
H A D | lib1533.c | 104 CURLcode res; in perform_and_check_connections() local 107 res = curl_easy_perform(curl); in perform_and_check_connections() 108 if(res != CURLE_OK) { in perform_and_check_connections() 109 fprintf(stderr, "curl_easy_perform() failed with %d\n", (int)res); in perform_and_check_connections() 113 res = curl_easy_getinfo(curl, CURLINFO_NUM_CONNECTS, &connections); in perform_and_check_connections() 114 if(res != CURLE_OK) { in perform_and_check_connections() 134 int res = TEST_ERR_FAILURE; in test() local 160 res = perform_and_check_connections(curl, in test() 162 if(res != TEST_ERR_SUCCESS) { in test() 168 res in test() [all...] |
/third_party/ltp/testcases/lib/ |
H A D | tst_kvcmp.c | 122 int res; in main() local 163 res = compare_kver(buf.release, strkver); in main() 167 res = (res == 0); in main() 170 res = (res != 0); in main() 173 res = (res >= 0); in main() 176 res = (res > in main() [all...] |
/third_party/FatFs/source/ |
H A D | ff.c | 167 #define ABORT(fs, res) { fp->err = (BYTE)(res); LEAVE_FF(fs, res); } 176 #define LEAVE_FF(fs, res) { unlock_fs(fs, res); return res; } 178 #define LEAVE_FF(fs, res) { (void)fs; return res; } 181 #define LEAVE_FF(fs, res) return res 840 FRESULT res; dec_share() local 900 FRESULT res = FR_OK; sync_window() local 927 FRESULT res = FR_OK; move_window() local 955 FRESULT res = FR_OK; move_window_readdir() local 987 FRESULT res; sync_fs() local 1103 FRESULT res = FR_INT_ERR; put_fat() local 1159 FRESULT res = FR_OK; remove_chain() local 1228 FRESULT res; create_chain() local 1559 FRESULT res; dir_alloc() local 1828 FRESULT res = FR_NO_FILE; dir_read() local 1885 FRESULT res = FR_NO_FILE; dir_read_massive() local 1944 FRESULT res; dir_find() local 2025 FRESULT res; dir_register() local 2108 FRESULT res; dir_remove() local 2557 FRESULT res; follow_path() local 2976 FRESULT res = FR_INVALID_OBJECT; validate() local 3066 FRESULT res; f_mount() local 3278 FRESULT res; f_open() local 3546 FRESULT res; f_read() local 3666 FRESULT res; f_write() local 3803 FRESULT res; f_sync() local 3862 FRESULT res; f_close() local 3918 FRESULT res; f_chdir() local 3925 res = mount_volume(&path, &fs, 0); f_chdir() local 3961 FRESULT res; f_getcwd() local 4062 FRESULT res; f_lseek() local 4217 FRESULT res; f_opendir() local 4272 FRESULT res; f_closedir() local 4303 FRESULT res; f_readdir() local 4308 res = validate(&dp->obj, &fs); /* Check validity of the directory object */ f_readdir() local 4339 FRESULT res; f_findnext() local 4366 FRESULT res; f_findfirst() local 4391 FRESULT res; f_stat() local 4397 res = mount_volume(&path, &dj.obj.fs, 0); f_stat() local 4424 FRESULT res = FR_OK; fat_count_free_entries() local 4476 FRESULT res; f_getfree() local 4527 FRESULT res; f_truncate() local 4602 FRESULT res; f_unlink() local 4620 res = mount_volume(&path, &fs, FA_WRITE); f_unlink() local 4751 FRESULT res; f_mkdir() local 4765 res = mount_volume(&path, &fs, FA_WRITE); /* Get logical drive */ f_mkdir() local 4887 FRESULT res; global() local 5049 FRESULT res; global() local 5058 res = mount_volume(&path, &fs, FA_WRITE); /* Get logical drive */ global() local 5114 FRESULT res; global() local 5120 res = mount_volume(&path, &fs, FA_WRITE); /* Get logical drive */ global() local 5154 FRESULT res; global() local 5224 FRESULT res; global() local 5296 FRESULT res; global() local 5325 FRESULT res; global() local 5484 FRESULT res; global() local 6393 FRESULT res; global() local 6905 FRESULT res; global() local [all...] |
/foundation/bundlemanager/bundle_framework/test/systemtest/common/bms/bms_install_system_test/ |
H A D | bm_install_multi_user_test.cpp | 205 auto res = statusReceiver->GetResultCode(); in UninstallBundle() local 206 EXPECT_EQ(res, ERR_OK); in UninstallBundle() 215 auto res = OsAccountManager::CreateOsAccount(STRING_TEST_NAME, OsAccountType::NORMAL, osAccountInfo); in CreateNewUser() local 217 EXPECT_EQ(res, ERR_OK); in CreateNewUser() 242 auto res = InstallBundle(bundleFilePaths, USERID); in HWTEST_F() local 243 EXPECT_EQ(res, ERR_OK); in HWTEST_F() 250 res = InstallBundle(bundleFilePaths, newUserId_); in HWTEST_F() 251 EXPECT_EQ(res, ERR_OK); in HWTEST_F() 281 auto res = InstallBundle(bundleFilePaths, USERID); in HWTEST_F() local 282 EXPECT_EQ(res, ERR_O in HWTEST_F() 320 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 359 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 398 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 437 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 476 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 516 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 556 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 598 auto res = InstallBundle(bundleFilePaths, userId); HWTEST_F() local 633 auto res = InstallBundle(bundleFilePaths, userId); HWTEST_F() local 664 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 703 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 742 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 782 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 822 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 862 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 902 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 942 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 982 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 1022 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 1063 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 1104 auto res = InstallBundle(bundleFilePaths, USERID); HWTEST_F() local 1154 auto res = bmsProxy->GetShortcutInfoV9("com.example.ohosproject.hmservice", shortcutInfos, userId); HWTEST_F() local 1184 auto res = bmsProxy->GetShortcutInfoV9("com.example.ohosproject.hmservice", shortcutInfos, 100); HWTEST_F() local [all...] |
/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_manager_stub_lifecycle_test.cpp | 80 int res = stub_->HandleRecoverAndReconnectSceneSession(data, reply); in HWTEST_F() local 81 ASSERT_EQ(res, ERR_INVALID_DATA); in HWTEST_F() 92 res = stub_->HandleRecoverAndReconnectSceneSession(data, reply); in HWTEST_F() 93 ASSERT_EQ(res, ERR_INVALID_STATE); in HWTEST_F() 106 res = stub_->HandleRecoverAndReconnectSceneSession(data, reply); in HWTEST_F() 107 EXPECT_EQ(res, ERR_INVALID_STATE); in HWTEST_F() 123 int res = stub_->HandlePendingSessionToForeground(data, reply); in HWTEST_F() local 124 EXPECT_EQ(res, ERR_NONE); in HWTEST_F() 144 int res = stub_->HandlePendingSessionToBackgroundForDelegator(data, reply); in HWTEST_F() local 145 EXPECT_EQ(res, ERR_INVALID_DAT in HWTEST_F() 160 int res = stub_->HandleTerminateSessionNew(data, reply); HWTEST_F() local 179 int res = stub_->HandleSetSessionContinueState(data, reply); HWTEST_F() local 200 int res = stub_->HandleClearSession(data, reply); HWTEST_F() local 218 int res = stub_->HandleClearAllSessions(data, reply); HWTEST_F() local 239 int res = stub_->HandleLockSession(data, reply); HWTEST_F() local 260 int res = stub_->HandleUnlockSession(data, reply); HWTEST_F() local 283 int res = stub_->HandleMoveSessionsToForeground(data, reply); HWTEST_F() local 306 int res = stub_->HandleMoveSessionsToBackground(data, reply); HWTEST_F() local 327 int res = stub_->HandleUpdateSessionWindowVisibilityListener(data, reply); HWTEST_F() local 345 int res = stub_->HandleGetVisibilityWindowInfo(data, reply); HWTEST_F() local [all...] |
H A D | window_event_channel_proxy_mock_test.cpp | 76 WSError res = windowEventChannelProxy_->TransferAccessibilityHoverEvent( in HWTEST_F() local 78 ASSERT_EQ(WSError::WS_ERROR_IPC_FAILED, res); in HWTEST_F() 96 WSError res = windowEventChannelProxy_->TransferAccessibilityHoverEvent( in HWTEST_F() local 98 ASSERT_EQ(WSError::WS_ERROR_IPC_FAILED, res); in HWTEST_F() 116 WSError res = windowEventChannelProxy_->TransferAccessibilityHoverEvent( in HWTEST_F() local 118 ASSERT_EQ(WSError::WS_ERROR_IPC_FAILED, res); in HWTEST_F() 136 WSError res = windowEventChannelProxy_->TransferAccessibilityHoverEvent( in HWTEST_F() local 138 ASSERT_EQ(WSError::WS_ERROR_IPC_FAILED, res); in HWTEST_F() 156 WSError res = windowEventChannelProxy_->TransferAccessibilityHoverEvent( in HWTEST_F() local 158 ASSERT_EQ(WSError::WS_ERROR_IPC_FAILED, res); in HWTEST_F() 176 WSError res = windowEventChannelProxy_->TransferAccessibilityHoverEvent( HWTEST_F() local 195 WSError res = windowEventChannelProxy_->TransferAccessibilityChildTreeRegister(windowId, treeId, accessibilityId); HWTEST_F() local 212 WSError res = windowEventChannelProxy_->TransferAccessibilityChildTreeRegister(windowId, treeId, accessibilityId); HWTEST_F() local 228 WSError res = windowEventChannelProxy_->TransferAccessibilityChildTreeRegister(windowId, treeId, accessibilityId); HWTEST_F() local 245 WSError res = windowEventChannelProxy_->TransferAccessibilityChildTreeRegister(windowId, treeId, accessibilityId); HWTEST_F() local 260 WSError res = windowEventChannelProxy_->TransferAccessibilityChildTreeUnregister(); HWTEST_F() local 274 WSError res = windowEventChannelProxy_->TransferAccessibilityChildTreeUnregister(); HWTEST_F() local 290 WSError res = windowEventChannelProxy_->TransferAccessibilityDumpChildInfo(params, info); HWTEST_F() local 306 WSError res = windowEventChannelProxy_->TransferAccessibilityDumpChildInfo(params, info); HWTEST_F() local 322 WSError res = windowEventChannelProxy_->TransferAccessibilityDumpChildInfo(params, info); HWTEST_F() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant_lib/ |
H A D | wpa_magiclink.c | 56 struct wpa_scan_res* res = NULL; local 61 res = os_zalloc(sizeof(*res) + sizeof(ie_data) + sizeof(ie_data)); 62 if (!res) { 67 res->flags = 11; 70 res->legacyGO = 1; 72 res->legacyGO = 0; 75 os_memcpy(res->bssid, bssid, ETH_ALEN); 77 res->freq = freqency; 78 res 191 struct wpa_scan_res *res = NULL; global() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/ |
H A D | wpa_magiclink.c | 59 struct wpa_scan_res* res = NULL; local 64 res = os_zalloc(sizeof(*res) + sizeof(ie_data) + sizeof(ie_data)); 65 if (!res) { 70 res->flags = 11; 73 res->legacyGO = 1; 75 res->legacyGO = 0; 78 os_memcpy(res->bssid, bssid, ETH_ALEN); 80 res->freq = freqency; 81 res 194 struct wpa_scan_res *res = NULL; global() local [all...] |
/foundation/communication/wifi/wifi/frameworks/js/napi/inc/ |
H A D | wifi_napi_errcode.h | 46 napi_value res = nullptr; \ 48 napi_get_undefined(env, &res); \ 49 return res; \ 57 napi_value res = nullptr; \ 61 napi_get_undefined(env, &res); \ 62 return res; \ 72 napi_value res = nullptr; \ 73 napi_get_boolean(env, cond, &res); \ 74 return res; \ 82 napi_value res [all...] |
/foundation/communication/nfc/services/src/nci_adapter/nci_native_default/src/ |
H A D | synchronize_event.cpp | 43 int res = pthread_mutex_lock(&lock_); in Start() local 44 if (res != 0) { in Start() 45 DebugLog("SynchronizeEvent::start: fail lock; error=0x%{public}X", res); in Start() 51 int res = pthread_mutex_unlock(&lock_); in End() local 52 if (res != 0) { in End() 53 DebugLog("SynchronizeEvent::end: fail unlock; error=0x%{public}X", res); in End() 59 int const res = pthread_cond_wait(&cond_, &lock_); in Wait() local 60 if (res) { in Wait() 61 DebugLog("CondVar::wait: fail wait; error=0x%{public}X", res); in Wait() 90 int const res in NotifyOne() local [all...] |
/kernel/linux/linux-5.10/arch/mips/lib/ |
H A D | multi3.c | 17 long long res; in dmulu() local 19 asm ("dmulu %0,%1,%2" : "=r" (res) : "r" (a), "r" (b)); in dmulu() 20 return res; in dmulu() 26 long long res; in dmuhu() local 28 asm ("dmuhu %0,%1,%2" : "=r" (res) : "r" (a), "r" (b)); in dmuhu() 29 return res; in dmuhu() 35 TWunion res, aa, bb; in __multi3() local 45 res.s.low = dmulu(aa.s.low, bb.s.low); in __multi3() 46 res.s.high = dmuhu(aa.s.low, bb.s.low); in __multi3() 47 res in __multi3() [all...] |
/kernel/linux/linux-6.6/arch/mips/lib/ |
H A D | multi3.c | 17 long long res; in dmulu() local 19 asm ("dmulu %0,%1,%2" : "=r" (res) : "r" (a), "r" (b)); in dmulu() 20 return res; in dmulu() 26 long long res; in dmuhu() local 28 asm ("dmuhu %0,%1,%2" : "=r" (res) : "r" (a), "r" (b)); in dmuhu() 29 return res; in dmuhu() 35 TWunion res, aa, bb; in __multi3() local 45 res.s.low = dmulu(aa.s.low, bb.s.low); in __multi3() 46 res.s.high = dmuhu(aa.s.low, bb.s.low); in __multi3() 47 res in __multi3() [all...] |
/third_party/ffmpeg/compat/ |
H A D | strtod.c | 48 double res; in avpriv_strtod() local 56 res = INFINITY; in avpriv_strtod() 59 res = INFINITY; in avpriv_strtod() 62 res = INFINITY; in avpriv_strtod() 65 res = INFINITY; in avpriv_strtod() 68 res = -INFINITY; in avpriv_strtod() 71 res = -INFINITY; in avpriv_strtod() 74 res = NAN; in avpriv_strtod() 78 res = NAN; in avpriv_strtod() 84 res in avpriv_strtod() [all...] |
/third_party/elfutils/libebl/ |
H A D | eblsegmenttypename.c | 41 const char *res; in ebl_segment_type_name() local 43 res = ebl != NULL ? ebl->segment_type_name (segment, buf, len) : NULL; in ebl_segment_type_name() 44 if (res == NULL) in ebl_segment_type_name() 61 res = ptypes[segment]; in ebl_segment_type_name() 63 res = "GNU_EH_FRAME"; in ebl_segment_type_name() 65 res = "GNU_STACK"; in ebl_segment_type_name() 67 res = "GNU_RELRO"; in ebl_segment_type_name() 69 res = "GNU_PROPERTY"; in ebl_segment_type_name() 71 res = "SUNWBSS"; in ebl_segment_type_name() 73 res in ebl_segment_type_name() [all...] |
H A D | ebldynamictagname.c | 43 const char *res = ebl != NULL ? ebl->dynamic_tag_name (tag, buf, len) : NULL; in ebl_dynamic_tag_name() local 45 if (res == NULL) in ebl_dynamic_tag_name() 61 res = stdtags[tag]; in ebl_dynamic_tag_name() 64 res = "VERSYM"; in ebl_dynamic_tag_name() 74 res = valrntags[tag - DT_GNU_PRELINKED]; in ebl_dynamic_tag_name() 85 res = addrrntags[tag - DT_GNU_HASH]; in ebl_dynamic_tag_name() 95 res = suntags[tag - DT_RELACOUNT]; in ebl_dynamic_tag_name() 98 res = "AUXILIARY"; in ebl_dynamic_tag_name() 100 res = "FILTER"; in ebl_dynamic_tag_name() 105 res in ebl_dynamic_tag_name() [all...] |
/third_party/ffmpeg/libavcodec/ppc/ |
H A D | audiodsp.c | 43 register vec_s32 res = vec_splat_s32(0), t; in scalarproduct_int16_altivec() local 49 res = vec_sums(t, res); in scalarproduct_int16_altivec() 53 res = vec_splat(res, 3); in scalarproduct_int16_altivec() 54 vec_ste(res, 0, &ires); in scalarproduct_int16_altivec() 68 register vec_s32 res = vec_splat_s32(0), t; in scalarproduct_int16_vsx() local 74 res = vec_sums(t, res); in scalarproduct_int16_vsx() 78 res in scalarproduct_int16_vsx() [all...] |
/base/hiviewdfx/hilog/interfaces/js/kits/napi/src/common/napi/ |
H A D | n_val.cpp | 49 bool res = false;
in IsArray() local 50 napi_status status = napi_is_array(env_, val_, &res);
in IsArray() 51 return make_tuple(status == napi_ok, res);
in IsArray() 94 void *res = nullptr;
in ToPointer() local 95 napi_status status = napi_get_value_external(env_, val_, &res);
in ToPointer() 96 return make_tuple(status == napi_ok, res);
in ToPointer() 101 bool res = false;
in IsTypeArray() local 102 napi_status status = napi_is_typedarray(env_, val_, &res);
in IsTypeArray() 103 return make_tuple(status == napi_ok, res);
in IsTypeArray() 115 double res in ToDouble() local 122 int32_t res = 0; ToInt32() local 129 int64_t res = 0; ToInt64() local 178 bool res = false; HasProp() local 226 napi_value res = nullptr; CreateUndefined() local 233 napi_value res = nullptr; CreateNull() local 240 napi_value res = nullptr; CreateInt64() local 247 napi_value res = nullptr; CreateObject() local 254 napi_value res = nullptr; CreateBool() local 261 napi_value res = nullptr; CreateUTF8String() local 279 napi_value res = nullptr; CreateDouble() local [all...] |
/base/security/crypto_framework/test/unittest/src/ |
H A D | ecc_common_param_spec.c | 40 HcfResult res = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, ECC_PK_X_BN, &retBigInt); in ConstructEccKeyPairBigInt() local 41 if (res != HCF_SUCCESS) { in ConstructEccKeyPairBigInt() 42 return res; in ConstructEccKeyPairBigInt() 47 res = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, ECC_PK_Y_BN, &retBigInt); in ConstructEccKeyPairBigInt() 48 if (res != HCF_SUCCESS) { in ConstructEccKeyPairBigInt() 52 return res; in ConstructEccKeyPairBigInt() 57 res = keyPair->priKey->getAsyKeySpecBigInteger(keyPair->priKey, ECC_SK_BN, &retBigInt); in ConstructEccKeyPairBigInt() 58 if (res != HCF_SUCCESS) { in ConstructEccKeyPairBigInt() 65 return res; in ConstructEccKeyPairBigInt() 79 HcfResult res in ConstructEccKeyPairParamsSpec() local 123 HcfResult res = keyPair->pubKey->getAsyKeySpecBigInteger(keyPair->pubKey, ECC_PK_X_BN, &retBigInt); ConstructEccPubKeyBigInt() local 149 HcfResult res = HCF_ERR_CRYPTO_OPERATION; ConstructEccPubKeyParamsSpec() local 200 HcfResult res = HCF_ERR_CRYPTO_OPERATION; ConstructEccPriKeyParamsSpec() local 249 HcfResult res = ConstructEccKeyPairCommParamsSpec("NID_brainpoolP160r1", &eccCommSpec); GenerateBrainpoolP160r1KeyPair() local [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/usnic/ |
H A D | usnic_vnic.c | 97 struct usnic_vnic_res *res; in usnic_vnic_dump() local 121 res = chunk->res[j]; in usnic_vnic_dump() 124 usnic_vnic_res_type_to_str(res->type), in usnic_vnic_dump() 125 res->vnic_idx, res->ctrl, !!res->owner); in usnic_vnic_dump() 127 offset += printrow(res->owner, buf + offset, in usnic_vnic_dump() 237 struct usnic_vnic_res *res; in usnic_vnic_get_resources() local 248 ret->res in usnic_vnic_get_resources() 277 struct usnic_vnic_res *res; usnic_vnic_put_resources() local 306 struct usnic_vnic_res *res; usnic_vnic_alloc_res_chunk() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/usnic/ |
H A D | usnic_vnic.c | 96 struct usnic_vnic_res *res; in usnic_vnic_dump() local 120 res = chunk->res[j]; in usnic_vnic_dump() 123 usnic_vnic_res_type_to_str(res->type), in usnic_vnic_dump() 124 res->vnic_idx, res->ctrl, !!res->owner); in usnic_vnic_dump() 126 offset += printrow(res->owner, buf + offset, in usnic_vnic_dump() 236 struct usnic_vnic_res *res; in usnic_vnic_get_resources() local 247 ret->res in usnic_vnic_get_resources() 276 struct usnic_vnic_res *res; usnic_vnic_put_resources() local 305 struct usnic_vnic_res *res; usnic_vnic_alloc_res_chunk() local [all...] |
/third_party/ntfs-3g/libntfs-3g/ |
H A D | ea.c | 78 int res; in ntfs_need_ea() local 80 res = 0; in ntfs_need_ea() 89 res = ntfs_attr_add(ni, type, in ntfs_need_ea() 91 if (!res) { in ntfs_need_ea() 97 res = -1; in ntfs_need_ea() 101 res = -1; in ntfs_need_ea() 104 return (res); in ntfs_need_ea() 151 int res; in ntfs_update_ea() local 153 res = 0; in ntfs_update_ea() 165 res in ntfs_update_ea() 204 int res = 0; ntfs_get_ntfs_ea() local 247 int res; ntfs_set_ntfs_ea() local 352 int res; ntfs_remove_ntfs_ea() local 420 int res; ntfs_ea_check_wsldev() local 492 int res; ntfs_ea_set_wsl_not_symlink() local [all...] |