Home
last modified time | relevance | path

Searched refs:user (Results 651 - 675 of 2754) sorted by relevance

1...<<21222324252627282930>>...111

/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-dynamic/
H A Dminimal-http-server-dynamic.c41 void *user, void *in, size_t len) in callback_dynamic_http()
43 struct pss *pss = (struct pss *)user; in callback_dynamic_http()
215 return lws_callback_http_dummy(wsi, reason, user, in, len); in callback_dynamic_http()
40 callback_dynamic_http(struct lws *wsi, enum lws_callback_reasons reason, void *user, void *in, size_t len) callback_dynamic_http() argument
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-form-post-file/
H A Dminimal-http-server-form-post-file.c101 callback_http(struct lws *wsi, enum lws_callback_reasons reason, void *user, in callback_http() argument
106 struct pss *pss = (struct pss *)user; in callback_http()
187 return lws_callback_http_dummy(wsi, reason, user, in, len); in callback_http()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-post/
H A Dminimal-http-client-post.c29 void *user, void *in, size_t len) in callback_http()
31 struct pss *pss = (struct pss *)user; in callback_http()
168 return lws_callback_http_dummy(wsi, reason, user, in, len); in callback_http()
28 callback_http(struct lws *wsi, enum lws_callback_reasons reason, void *user, void *in, size_t len) callback_http() argument
/third_party/spirv-tools/source/reduce/
H A Dremove_unused_struct_member_reduction_opportunity_finder.cpp61 [&unused_members](opt::Instruction* user, uint32_t /*operand_index*/) { in GetAvailableOpportunities()
62 switch (user->opcode()) { in GetAvailableOpportunities()
64 unused_members.erase(user->GetSingleWordInOperand(1)); in GetAvailableOpportunities()
/kernel/linux/linux-5.10/mm/
H A Dmlock.c12 #include <linux/sched/user.h>
850 int user_shm_lock(size_t size, struct user_struct *user) in user_shm_lock() argument
862 locked + user->locked_shm > lock_limit && !capable(CAP_IPC_LOCK)) in user_shm_lock()
864 get_uid(user); in user_shm_lock()
865 user->locked_shm += locked; in user_shm_lock()
872 void user_shm_unlock(size_t size, struct user_struct *user) in user_shm_unlock() argument
875 user->locked_shm -= (size + PAGE_SIZE - 1) >> PAGE_SHIFT; in user_shm_unlock()
877 free_uid(user); in user_shm_unlock()
/kernel/linux/linux-5.10/security/keys/
H A Dkeyctl.c880 * transferring them to user buffer to avoid potential in keyctl_read_key()
943 * If the UID is to be changed, the new user must have sufficient quota to
944 * accept the key. The quota deduction will be removed from the old user to
945 * the new user should the attribute be changed.
949 long keyctl_chown_key(key_serial_t id, uid_t user, gid_t group) in keyctl_chown_key() argument
958 uid = make_kuid(current_user_ns(), user); in keyctl_chown_key()
961 if ((user != (uid_t) -1) && !uid_valid(uid)) in keyctl_chown_key()
967 if (user == (uid_t) -1 && group == (gid_t) -1) in keyctl_chown_key()
987 if (user != (uid_t) -1 && !uid_eq(key->uid, uid)) in keyctl_chown_key()
1000 if (user ! in keyctl_chown_key()
[all...]
/kernel/linux/linux-5.10/net/bluetooth/hidp/
H A Dcore.c66 struct l2cap_user *user);
68 struct l2cap_user *user);
410 /* The HIDP user-space API only contains calls to add and remove in hidp_idle_timeout()
937 session->user.probe = hidp_session_probe; in hidp_session_new()
938 session->user.remove = hidp_session_remove; in hidp_session_new()
939 INIT_LIST_HEAD(&session->user.list); in hidp_session_new()
1092 * to the hci-connection. We get the session via the \user object and can now
1099 struct l2cap_user *user) in hidp_session_probe()
1101 struct hidp_session *session = container_of(user, in hidp_session_probe()
1103 user); in hidp_session_probe()
1098 hidp_session_probe(struct l2cap_conn *conn, struct l2cap_user *user) hidp_session_probe() argument
1159 hidp_session_remove(struct l2cap_conn *conn, struct l2cap_user *user) hidp_session_remove() argument
[all...]
/kernel/linux/linux-6.6/security/keys/
H A Dkeyctl.c880 * transferring them to user buffer to avoid potential in keyctl_read_key()
943 * If the UID is to be changed, the new user must have sufficient quota to
944 * accept the key. The quota deduction will be removed from the old user to
945 * the new user should the attribute be changed.
949 long keyctl_chown_key(key_serial_t id, uid_t user, gid_t group) in keyctl_chown_key() argument
958 uid = make_kuid(current_user_ns(), user); in keyctl_chown_key()
961 if ((user != (uid_t) -1) && !uid_valid(uid)) in keyctl_chown_key()
967 if (user == (uid_t) -1 && group == (gid_t) -1) in keyctl_chown_key()
987 if (user != (uid_t) -1 && !uid_eq(key->uid, uid)) in keyctl_chown_key()
1000 if (user ! in keyctl_chown_key()
[all...]
/kernel/linux/linux-6.6/net/bluetooth/hidp/
H A Dcore.c66 struct l2cap_user *user);
68 struct l2cap_user *user);
410 /* The HIDP user-space API only contains calls to add and remove in hidp_idle_timeout()
936 session->user.probe = hidp_session_probe; in hidp_session_new()
937 session->user.remove = hidp_session_remove; in hidp_session_new()
938 INIT_LIST_HEAD(&session->user.list); in hidp_session_new()
1091 * to the hci-connection. We get the session via the \user object and can now
1098 struct l2cap_user *user) in hidp_session_probe()
1100 struct hidp_session *session = container_of(user, in hidp_session_probe()
1102 user); in hidp_session_probe()
1097 hidp_session_probe(struct l2cap_conn *conn, struct l2cap_user *user) hidp_session_probe() argument
1158 hidp_session_remove(struct l2cap_conn *conn, struct l2cap_user *user) hidp_session_remove() argument
[all...]
/kernel/linux/linux-5.10/drivers/misc/
H A Dfastrpc.c152 struct list_head node; /* list of user requested mmaps */
220 struct list_head user; member
450 struct fastrpc_user *user, u32 kernel, u32 sc, in fastrpc_context_alloc()
453 struct fastrpc_channel_ctx *cctx = user->cctx; in fastrpc_context_alloc()
463 ctx->fl = user; in fastrpc_context_alloc()
492 ctx->tgid = user->tgid; in fastrpc_context_alloc()
497 spin_lock(&user->lock); in fastrpc_context_alloc()
498 list_add_tail(&ctx->node, &user->pending); in fastrpc_context_alloc()
499 spin_unlock(&user->lock); in fastrpc_context_alloc()
515 spin_lock(&user in fastrpc_context_alloc()
449 fastrpc_context_alloc( struct fastrpc_user *user, u32 kernel, u32 sc, struct fastrpc_invoke_args *args) fastrpc_context_alloc() argument
1673 fastrpc_notify_users(struct fastrpc_user *user) fastrpc_notify_users() argument
1688 struct fastrpc_user *user; fastrpc_rpmsg_remove() local
[all...]
/kernel/liteos_a/kernel/base/core/
H A Dlos_process.c408 if (processCB->user != NULL) { in OsProcessResourcesToFree()
409 (VOID)LOS_MemFree(m_aucSysMem1, processCB->user); in OsProcessResourcesToFree()
410 processCB->user = NULL; in OsProcessResourcesToFree()
793 User *user = LOS_MemAlloc(m_aucSysMem1, sizeof(User) + (size - 1) * sizeof(UINT32)); in OsCreateUser() local
794 if (user == NULL) { in OsCreateUser()
798 user->userID = userID; in OsCreateUser()
799 user->effUserID = userID; in OsCreateUser()
800 user->gid = gid; in OsCreateUser()
801 user->effGid = gid; in OsCreateUser()
802 user in OsCreateUser()
811 User *user = NULL; LOS_CheckInGroups() local
[all...]
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dtraps.c83 const char *loglvl, bool user) in show_backtrace()
108 const struct pt_regs *regs, const char *loglvl, bool user) in show_stacktrace()
127 if (__get_addr(&stackdata, sp++, user)) { in show_stacktrace()
136 show_backtrace(task, regs, loglvl, user); in show_stacktrace()
162 static void show_code(unsigned int *pc, bool user) in show_code() argument
170 if (__get_inst(&insn, pc + i, user)) { in show_code()
617 bool user = user_mode(regs); in do_bce() local
635 if (__get_inst(&insn.word, (u32 *)era, user)) in do_bce()
706 bool user = user_mode(regs); in do_bp() local
713 if (__get_inst(&opcode, (u32 *)era, user)) in do_bp()
82 show_backtrace(struct task_struct *task, const struct pt_regs *regs, const char *loglvl, bool user) show_backtrace() argument
107 show_stacktrace(struct task_struct *task, const struct pt_regs *regs, const char *loglvl, bool user) show_stacktrace() argument
[all...]
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dtraps.c57 const char *loglvl, bool user) in show_backtrace()
76 const struct pt_regs *regs, const char *loglvl, bool user) in show_stacktrace()
95 if (__get_addr(&stackdata, sp++, user)) { in show_stacktrace()
104 show_backtrace(task, regs, loglvl, user); in show_stacktrace()
130 static void show_code(unsigned int *pc, bool user) in show_code() argument
138 if (__get_inst(&insn, pc + i, user)) { in show_code()
585 bool user = user_mode(regs); in do_bce() local
603 if (__get_inst(&insn.word, (u32 *)era, user)) in do_bce()
674 bool user = user_mode(regs); in do_bp() local
682 if (__get_inst(&opcode, (u32 *)era, user)) in do_bp()
56 show_backtrace(struct task_struct *task, const struct pt_regs *regs, const char *loglvl, bool user) show_backtrace() argument
75 show_stacktrace(struct task_struct *task, const struct pt_regs *regs, const char *loglvl, bool user) show_stacktrace() argument
[all...]
/kernel/linux/linux-6.6/tools/tracing/rtla/src/
H A Dtimerlat_hist.c59 int *user; member
101 if (data->hist[cpu].user) in timerlat_free_histogram()
102 free(data->hist[cpu].user); in timerlat_free_histogram()
145 data->hist[cpu].user = calloc(1, sizeof(*data->hist->user) * (entries + 1)); in timerlat_alloc_histogram()
146 if (!data->hist[cpu].user) in timerlat_alloc_histogram()
195 } else { /* user */ in timerlat_hist_update()
196 hist = data->hist[cpu].user; in timerlat_hist_update()
443 total += data->hist[cpu].user[bucket]; in timerlat_print_stats()
445 data->hist[cpu].user[bucke in timerlat_print_stats()
[all...]
/third_party/libwebsockets/lib/roles/http/server/
H A Dlejp-conf.c284 struct jpargs *a = (struct jpargs *)ctx->user; in lejp_globals_cb()
384 struct jpargs *a = (struct jpargs *)ctx->user; in lejp_vhosts_cb()
943 lwsws_get_config(void *user, const char *f, const char * const *paths, in lwsws_get_config() argument
958 lejp_construct(&ctx, cb, user, paths, (uint8_t)(unsigned int)count_paths); in lwsws_get_config()
982 void *user; member
989 lwsws_get_config_d_cb(const char *dirpath, void *user, in lwsws_get_config_d_cb() argument
992 struct lws_dir_args *da = (struct lws_dir_args *)user; in lwsws_get_config_d_cb()
1000 return lwsws_get_config(da->user, path, da->paths, in lwsws_get_config_d_cb()
1044 da.user = &a; in lwsws_get_config_globals()
1088 da.user in lwsws_get_config_vhosts()
[all...]
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dmerge_return_pass.cpp277 [&users_to_update, &dom_tree, &inst, inst_bb, this](Instruction* user) { in CreatePhiNodesForInst()
279 if (user->opcode() != SpvOpPhi) { in CreatePhiNodesForInst()
280 user_bb = context()->get_instr_block(user); in CreatePhiNodesForInst()
283 for (uint32_t i = 0; i < user->NumInOperands(); i += 2) { in CreatePhiNodesForInst()
284 if (user->GetSingleWordInOperand(i) == inst.result_id()) { in CreatePhiNodesForInst()
285 uint32_t user_bb_id = user->GetSingleWordInOperand(i + 1); in CreatePhiNodesForInst()
292 // If |user_bb| is nullptr, then |user| is not in the function. It is in CreatePhiNodesForInst()
296 users_to_update.push_back(user); in CreatePhiNodesForInst()
369 for (Instruction* user : users_to_update) { in CreatePhiNodesForInst()
370 user in CreatePhiNodesForInst()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dmerge_return_pass.cpp277 [&users_to_update, &dom_tree, &inst, inst_bb, this](Instruction* user) { in CreatePhiNodesForInst()
279 if (user->opcode() != SpvOpPhi) { in CreatePhiNodesForInst()
280 user_bb = context()->get_instr_block(user); in CreatePhiNodesForInst()
283 for (uint32_t i = 0; i < user->NumInOperands(); i += 2) { in CreatePhiNodesForInst()
284 if (user->GetSingleWordInOperand(i) == inst.result_id()) { in CreatePhiNodesForInst()
285 uint32_t user_bb_id = user->GetSingleWordInOperand(i + 1); in CreatePhiNodesForInst()
292 // If |user_bb| is nullptr, then |user| is not in the function. It is in CreatePhiNodesForInst()
296 users_to_update.push_back(user); in CreatePhiNodesForInst()
369 for (Instruction* user : users_to_update) { in CreatePhiNodesForInst()
370 user in CreatePhiNodesForInst()
[all...]
/third_party/spirv-tools/source/opt/
H A Dmerge_return_pass.cpp281 [&users_to_update, &dom_tree, &inst, inst_bb, this](Instruction* user) { in CreatePhiNodesForInst()
283 if (user->opcode() != spv::Op::OpPhi) { in CreatePhiNodesForInst()
284 user_bb = context()->get_instr_block(user); in CreatePhiNodesForInst()
287 for (uint32_t i = 0; i < user->NumInOperands(); i += 2) { in CreatePhiNodesForInst()
288 if (user->GetSingleWordInOperand(i) == inst.result_id()) { in CreatePhiNodesForInst()
289 uint32_t user_bb_id = user->GetSingleWordInOperand(i + 1); in CreatePhiNodesForInst()
296 // If |user_bb| is nullptr, then |user| is not in the function. It is in CreatePhiNodesForInst()
300 users_to_update.push_back(user); in CreatePhiNodesForInst()
374 for (Instruction* user : users_to_update) { in CreatePhiNodesForInst()
375 user in CreatePhiNodesForInst()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
H A Deap_server_pwd.c89 if (sm->user == NULL || sm->user->password == NULL || in eap_pwd_init()
90 sm->user->password_len == 0) { in eap_pwd_init()
109 data->password = os_malloc(sm->user->password_len); in eap_pwd_init()
117 data->password_len = sm->user->password_len; in eap_pwd_init()
118 os_memcpy(data->password, sm->user->password, data->password_len); in eap_pwd_init()
119 data->password_hash = sm->user->password_hash; in eap_pwd_init()
121 data->salt_len = sm->user->salt_len; in eap_pwd_init()
123 data->salt = os_memdup(sm->user->salt, sm->user in eap_pwd_init()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
H A Deap_server_pwd.c89 if (sm->user == NULL || sm->user->password == NULL || in eap_pwd_init()
90 sm->user->password_len == 0) { in eap_pwd_init()
109 data->password = os_malloc(sm->user->password_len); in eap_pwd_init()
117 data->password_len = sm->user->password_len; in eap_pwd_init()
118 os_memcpy(data->password, sm->user->password, data->password_len); in eap_pwd_init()
119 data->password_hash = sm->user->password_hash; in eap_pwd_init()
121 data->salt_len = sm->user->salt_len; in eap_pwd_init()
123 data->salt = os_memdup(sm->user->salt, sm->user in eap_pwd_init()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/cloud/
H A Dcloud_server.cpp59 const std::string &bundleName, int user, const CloudServer::Database &dbMeta) in ConnectAssetLoader()
70 const std::string &bundleName, int user, const CloudServer::Database &dbMeta) in ConnectCloudDB()
58 ConnectAssetLoader( const std::string &bundleName, int user, const CloudServer::Database &dbMeta) ConnectAssetLoader() argument
69 ConnectCloudDB( const std::string &bundleName, int user, const CloudServer::Database &dbMeta) ConnectCloudDB() argument
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/cloud/
H A Dcloud_upload_recorder.cpp60 void CloudUploadRecorder::SetUser(const std::string &user) in SetUser() argument
63 currentUser_ = user; in SetUser()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/cloud/
H A Dcloud_info.h35 int32_t user = 0; member in OHOS::DistributedData::final
48 static std::string GetSchemaKey(int32_t user, const std::string &bundleName, int32_t instanceId = 0);
H A Dcloud_server.h37 const std::string &bundleName, int user, const Database &dbMeta);
39 virtual std::shared_ptr<CloudDB> ConnectCloudDB(const std::string &bundleName, int user, const Database &dbMeta);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/strategies/general/
H A Dload_config_common_strategy.cpp26 constexpr const char USER_PARAM[] = "user";
58 const std::string &uri, int32_t &user, uint32_t &callerTokenId, std::string &calledBundleName) in GetInfoFromProxyURI()
66 user = static_cast<int32_t>(std::move(data)); in GetInfoFromProxyURI()
57 GetInfoFromProxyURI( const std::string &uri, int32_t &user, uint32_t &callerTokenId, std::string &calledBundleName) GetInfoFromProxyURI() argument

Completed in 25 milliseconds

1...<<21222324252627282930>>...111