/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | vm86_32.c | 99 struct vm86plus_struct __user *user; in save_v86_state() local 105 * to access user space. in save_v86_state() 114 user = vm86->user_vm86; in save_v86_state() 116 if (!user_access_begin(user, vm86->vm86plus.is_vm86pus ? in save_v86_state() 121 unsafe_put_user(regs->pt.bx, &user->regs.ebx, Efault_end); in save_v86_state() 122 unsafe_put_user(regs->pt.cx, &user->regs.ecx, Efault_end); in save_v86_state() 123 unsafe_put_user(regs->pt.dx, &user->regs.edx, Efault_end); in save_v86_state() 124 unsafe_put_user(regs->pt.si, &user->regs.esi, Efault_end); in save_v86_state() 125 unsafe_put_user(regs->pt.di, &user->regs.edi, Efault_end); in save_v86_state() 126 unsafe_put_user(regs->pt.bp, &user in save_v86_state() [all...] |
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | net_kern.c | 155 lp->fd = (*lp->open)(&lp->user); in uml_net_open() 183 if (lp->close != NULL) (*lp->close)(lp->fd, &lp->user); in uml_net_open() 197 (*lp->close)(lp->fd, &lp->user); in uml_net_close() 343 (*lp->remove)(&lp->user); in net_device_release() 437 .max_packet = transport->user->max_packet, in eth_configure() 439 .open = transport->user->open, in eth_configure() 440 .close = transport->user->close, in eth_configure() 441 .remove = transport->user->remove, in eth_configure() 444 .add_address = transport->user->add_address, in eth_configure() 445 .delete_address = transport->user in eth_configure() [all...] |
H A D | slip_kern.c | 23 spri = (struct slip_data *) private->user; in slip_init() 50 (struct slip_data *) &lp->user); in slip_read() 56 (struct slip_data *) &lp->user); in slip_write() 81 .user = &slip_user_info,
|
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | net_kern.c | 155 lp->fd = (*lp->open)(&lp->user); in uml_net_open() 183 if (lp->close != NULL) (*lp->close)(lp->fd, &lp->user); in uml_net_open() 197 (*lp->close)(lp->fd, &lp->user); in uml_net_close() 344 (*lp->remove)(&lp->user); in net_device_release() 438 .max_packet = transport->user->max_packet, in eth_configure() 440 .open = transport->user->open, in eth_configure() 441 .close = transport->user->close, in eth_configure() 442 .remove = transport->user->remove, in eth_configure() 445 .add_address = transport->user->add_address, in eth_configure() 446 .delete_address = transport->user in eth_configure() [all...] |
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | aggressive_dead_code_elim_pass.cpp | 118 get_def_use_mgr()->ForEachUser(ptrId, [this, ptrId, func](Instruction* user) { in AddStores() 119 // If the user is not a part of |func|, skip it. in AddStores() 120 BasicBlock* blk = context()->get_instr_block(user); in AddStores() 123 switch (user->opcode()) { in AddStores() 127 this->AddStores(func, user->result_id()); in AddStores() 133 if (user->GetSingleWordInOperand(kCopyMemoryTargetAddrInIdx) == ptrId) { in AddStores() 134 AddToWorklist(user); in AddStores() 140 AddToWorklist(user); in AddStores() 179 get_def_use_mgr()->ForEachUser(tInst, [&dead](Instruction* user) { in IsTargetDead() 180 if (user in IsTargetDead() [all...] |
H A D | mem_pass.cpp | 135 return get_def_use_mgr()->WhileEachUser(id, [this](Instruction* user) { in HasOnlyNamesAndDecorates() 136 SpvOp op = user->opcode(); in HasOnlyNamesAndDecorates() 149 return !get_def_use_mgr()->WhileEachUser(varId, [this](Instruction* user) { in HasLoads() 150 SpvOp op = user->opcode(); in HasLoads() 154 if (HasLoads(user->result_id())) { in HasLoads() 179 get_def_use_mgr()->ForEachUser(ptr_id, [this, insts](Instruction* user) { 180 SpvOp op = user->opcode(); 182 AddStores(user->result_id(), insts); 184 insts->push(user); 227 return get_def_use_mgr()->WhileEachUser(varId, [this](Instruction* user) { [all...] |
H A D | ir_context.cpp | 233 i, [&work_list, to_kill, &seen](Instruction* user) { in CollectNonSemanticTree() 234 if (user->IsNonSemanticInstruction() && seen.insert(user).second) { in CollectNonSemanticTree() 235 work_list.push_back(user); in CollectNonSemanticTree() 236 to_kill->insert(user); in CollectNonSemanticTree() 272 before, [&predicate, &uses_to_update](Instruction* user, uint32_t index) { in ReplaceAllUsesWithPredicate() 273 if (predicate(user)) { in ReplaceAllUsesWithPredicate() 274 uses_to_update.emplace_back(user, index); in ReplaceAllUsesWithPredicate() 280 Instruction* user = p.first; in ReplaceAllUsesWithPredicate() local 282 if (prev == nullptr || prev != user) { in ReplaceAllUsesWithPredicate() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | aggressive_dead_code_elim_pass.cpp | 118 get_def_use_mgr()->ForEachUser(ptrId, [this, ptrId, func](Instruction* user) { in AddStores() 119 // If the user is not a part of |func|, skip it. in AddStores() 120 BasicBlock* blk = context()->get_instr_block(user); in AddStores() 123 switch (user->opcode()) { in AddStores() 127 this->AddStores(func, user->result_id()); in AddStores() 133 if (user->GetSingleWordInOperand(kCopyMemoryTargetAddrInIdx) == ptrId) { in AddStores() 134 AddToWorklist(user); in AddStores() 140 AddToWorklist(user); in AddStores() 179 get_def_use_mgr()->ForEachUser(tInst, [&dead](Instruction* user) { in IsTargetDead() 180 if (user in IsTargetDead() [all...] |
H A D | mem_pass.cpp | 135 return get_def_use_mgr()->WhileEachUser(id, [this](Instruction* user) { in HasOnlyNamesAndDecorates() 136 SpvOp op = user->opcode(); in HasOnlyNamesAndDecorates() 149 return !get_def_use_mgr()->WhileEachUser(varId, [this](Instruction* user) { in HasLoads() 150 SpvOp op = user->opcode(); in HasLoads() 154 if (HasLoads(user->result_id())) { in HasLoads() 179 get_def_use_mgr()->ForEachUser(ptr_id, [this, insts](Instruction* user) { 180 SpvOp op = user->opcode(); 182 AddStores(user->result_id(), insts); 184 insts->push(user); 227 return get_def_use_mgr()->WhileEachUser(varId, [this](Instruction* user) { [all...] |
H A D | ir_context.cpp | 233 i, [&work_list, to_kill, &seen](Instruction* user) { in CollectNonSemanticTree() 234 if (user->IsNonSemanticInstruction() && seen.insert(user).second) { in CollectNonSemanticTree() 235 work_list.push_back(user); in CollectNonSemanticTree() 236 to_kill->insert(user); in CollectNonSemanticTree() 272 before, [&predicate, &uses_to_update](Instruction* user, uint32_t index) { in ReplaceAllUsesWithPredicate() 273 if (predicate(user)) { in ReplaceAllUsesWithPredicate() 274 uses_to_update.emplace_back(user, index); in ReplaceAllUsesWithPredicate() 280 Instruction* user = p.first; in ReplaceAllUsesWithPredicate() local 282 if (prev == nullptr || prev != user) { in ReplaceAllUsesWithPredicate() [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | aggressive_dead_code_elim_pass.cpp | 117 get_def_use_mgr()->ForEachUser(ptrId, [this, ptrId, func](Instruction* user) { in AddStores() 118 // If the user is not a part of |func|, skip it. in AddStores() 119 BasicBlock* blk = context()->get_instr_block(user); in AddStores() 122 switch (user->opcode()) { in AddStores() 126 this->AddStores(func, user->result_id()); in AddStores() 132 if (user->GetSingleWordInOperand(kCopyMemoryTargetAddrInIdx) == ptrId) { in AddStores() 133 AddToWorklist(user); in AddStores() 139 AddToWorklist(user); in AddStores() 176 get_def_use_mgr()->ForEachUser(tInst, [&dead](Instruction* user) { in IsTargetDead() 177 if (user in IsTargetDead() [all...] |
H A D | mem_pass.cpp | 137 return get_def_use_mgr()->WhileEachUser(id, [this](Instruction* user) { in HasOnlyNamesAndDecorates() 138 spv::Op op = user->opcode(); in HasOnlyNamesAndDecorates() 151 return !get_def_use_mgr()->WhileEachUser(varId, [this](Instruction* user) { in HasLoads() 152 spv::Op op = user->opcode(); in HasLoads() 156 if (HasLoads(user->result_id())) { in HasLoads() 182 get_def_use_mgr()->ForEachUser(ptr_id, [this, insts](Instruction* user) { 183 spv::Op op = user->opcode(); 185 AddStores(user->result_id(), insts); 187 insts->push(user); 230 return get_def_use_mgr()->WhileEachUser(varId, [this](Instruction* user) { [all...] |
/kernel/linux/linux-6.6/drivers/crypto/ccp/ |
H A D | dbc.c | 81 switch (dbc_dev->mbox->dbc_param.user.msg_index) { in send_dbc_parameter() 128 if (copy_from_user(&dbc_dev->mbox->dbc_nonce.user, argp, in dbc_ioctl() 138 if (copy_to_user(argp, &dbc_dev->mbox->dbc_nonce.user, in dbc_ioctl() 146 if (copy_from_user(&dbc_dev->mbox->dbc_set_uid.user, argp, in dbc_ioctl() 156 if (copy_to_user(argp, &dbc_dev->mbox->dbc_set_uid.user, in dbc_ioctl() 163 if (copy_from_user(&dbc_dev->mbox->dbc_param.user, argp, in dbc_ioctl() 173 if (copy_to_user(argp, &dbc_dev->mbox->dbc_param.user, in dbc_ioctl()
|
/kernel/linux/linux-6.6/tools/testing/selftests/user_events/ |
H A D | abi_test.c | 92 FIXTURE(user) { in FIXTURE() 98 FIXTURE_SETUP(user) { in FIXTURE_SETUP() 106 FIXTURE_TEARDOWN(user) { in FIXTURE_TEARDOWN() 110 TEST_F(user, enablement) { in TEST_F() 131 TEST_F(user, bit_sizes) { in TEST_F() 157 TEST_F(user, forks) { in TEST_F() 212 TEST_F(user, clones) { in TEST_F()
|
/third_party/python/Lib/ensurepip/ |
H A D | __init__.py | 125 def bootstrap(*, root=None, upgrade=False, user=False, 135 _bootstrap(root=root, upgrade=upgrade, user=user, 140 def _bootstrap(*, root=None, upgrade=False, user=False, 197 if user: 198 args += ["--user"] 259 "--user", 262 help="Install using the user scheme.", 289 user=args.user, [all...] |
/third_party/curl/lib/vauth/ |
H A D | vauth.h | 72 /* This is used to test if the user contains a Windows domain name */ 73 bool Curl_auth_user_contains_domain(const char *user); 86 CURLcode Curl_auth_create_external_message(const char *user, 175 CURLcode Curl_auth_create_oauth_bearer_message(const char *user, 182 CURLcode Curl_auth_create_xoauth_bearer_message(const char *user, 190 /* This is used to generate a base64 encoded GSSAPI (Kerberos V5) user token 221 const char *user,
|
H A D | ntlm.c | 328 * userp [in] - The user name in the format User or Domain\User. 329 * passwdp [in] - The user's password. 451 * userp [in] - The user name in the format User or Domain\User. 452 * passwdp [in] - The user's password. 494 const char *user; in Curl_auth_create_ntlm_type3_message() local 505 user = strchr(userp, '\\'); in Curl_auth_create_ntlm_type3_message() 506 if(!user) in Curl_auth_create_ntlm_type3_message() 507 user = strchr(userp, '/'); in Curl_auth_create_ntlm_type3_message() 509 if(user) { in Curl_auth_create_ntlm_type3_message() 511 domlen = (user in Curl_auth_create_ntlm_type3_message() [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_compiler.h | 137 void rc_vert_fc(struct radeon_compiler *compiler, void *user); 138 void r300_vertex_program_dump(struct radeon_compiler *compiler, void *user); 144 void (*run)(struct radeon_compiler *c, void *user); /* The main entrypoint. */ 145 void *user; /* Optional parameter which is passed to the run function. */ member 168 void rc_validate_final_shader(struct radeon_compiler *c, void *user);
|
/third_party/toybox/toys/other/ |
H A D | makedevs.c | 30 Other fields specify permissions, user and group id owning the file, 58 char type=0, user[64], group[64], *node, *ptr = line; in makedevs_main() local 72 *user = *group = 0; in makedevs_main() 74 user, group, &major, &minor, &st_val, &incr, &cnt); in makedevs_main() 83 uid = *user ? xgetuid(user) : getuid(); in makedevs_main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
H A D | eap_server_md5.c | 106 if (sm->user == NULL || sm->user->password == NULL || in eap_md5_process() 107 sm->user->password_hash) { in eap_md5_process() 122 if (chap_md5(id, sm->user->password, sm->user->password_len, in eap_md5_process()
|
/device/soc/rockchip/rk3588/kernel/include/trace/hooks/ |
H A D | user.h | 3 #define TRACE_SYSTEM user 13 TP_PROTO(struct user_struct *user), 14 TP_ARGS(user));
|
/third_party/musl/libc-test/src/functionalext/supplement/legacy/legacy_gtest/ |
H A D | legacy_endutent_test.cpp | 14 * @tc.desc: Ensure that the endutent() function is correctly closing the user accounting database after the iteration 15 * is complete and that the ut_user field of each user entry is not empty 21 struct utmp* user; in HWTEST_F() local 23 while ((user = getutent()) != nullptr) { in HWTEST_F() 24 EXPECT_NE(" ", user->ut_user); in HWTEST_F()
|
/kernel/linux/linux-5.10/arch/sh/kernel/ |
H A D | ptrace_32.c | 17 #include <linux/user.h> 352 addr > sizeof(struct user) - 3) in arch_ptrace() 357 else if (addr >= offsetof(struct user, fpu) && in arch_ptrace() 358 addr < offsetof(struct user, u_fpvalid)) { in arch_ptrace() 360 if (addr == offsetof(struct user, fpu.fpscr)) in arch_ptrace() 369 index = addr - offsetof(struct user, fpu); in arch_ptrace() 373 } else if (addr == offsetof(struct user, u_fpvalid)) in arch_ptrace() 392 addr > sizeof(struct user) - 3) in arch_ptrace() 397 else if (addr >= offsetof(struct user, fpu) && in arch_ptrace() 398 addr < offsetof(struct user, u_fpvali in arch_ptrace() [all...] |
/kernel/linux/linux-6.6/arch/sh/kernel/ |
H A D | ptrace_32.c | 17 #include <linux/user.h> 351 addr > sizeof(struct user) - 3) in arch_ptrace() 356 else if (addr >= offsetof(struct user, fpu) && in arch_ptrace() 357 addr < offsetof(struct user, u_fpvalid)) { in arch_ptrace() 359 if (addr == offsetof(struct user, fpu.fpscr)) in arch_ptrace() 368 index = addr - offsetof(struct user, fpu); in arch_ptrace() 372 } else if (addr == offsetof(struct user, u_fpvalid)) in arch_ptrace() 391 addr > sizeof(struct user) - 3) in arch_ptrace() 396 else if (addr >= offsetof(struct user, fpu) && in arch_ptrace() 397 addr < offsetof(struct user, u_fpvali in arch_ptrace() [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | vm86_32.c | 99 struct vm86plus_struct __user *user; in save_v86_state() local 105 * to access user space. in save_v86_state() 112 user = vm86->user_vm86; in save_v86_state() 114 if (!user_access_begin(user, vm86->vm86plus.is_vm86pus ? in save_v86_state() 119 unsafe_put_user(regs->pt.bx, &user->regs.ebx, Efault_end); in save_v86_state() 120 unsafe_put_user(regs->pt.cx, &user->regs.ecx, Efault_end); in save_v86_state() 121 unsafe_put_user(regs->pt.dx, &user->regs.edx, Efault_end); in save_v86_state() 122 unsafe_put_user(regs->pt.si, &user->regs.esi, Efault_end); in save_v86_state() 123 unsafe_put_user(regs->pt.di, &user->regs.edi, Efault_end); in save_v86_state() 124 unsafe_put_user(regs->pt.bp, &user in save_v86_state() [all...] |