| /third_party/ltp/testcases/kernel/syscalls/setsockopt/ |
| H A D | setsockopt03.c | 15 * a user namespace. 60 strncpy(p.match.u.user.name, "icmp", sizeof(p.match.u.user.name)); in run()
|
| /third_party/ltp/testcases/network/tcp_cmds/ftp/ |
| H A D | ftp01.sh | 39 echo user $RUSER $PASSWD 59 echo user $RUSER $PASSWD
|
| /third_party/spirv-tools/source/opt/ |
| H A D | eliminate_dead_output_stores_pass.h | 59 // Kill all dead stores resulting from |user| of loc-based |var|. 60 void KillAllDeadStoresOfLocRef(Instruction* user, Instruction* var); 62 // Kill all dead stores resulting from |user| of builtin |var|. 63 void KillAllDeadStoresOfBuiltinRef(Instruction* user, Instruction* var);
|
| /kernel/linux/linux-5.10/mm/ |
| H A D | mlock.c | 12 #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()
|
| /base/powermgr/battery_statistics/frameworks/napi/src/ |
| H A D | battery_stats_module.cpp | 100 napi_value user = nullptr; in CreateEnumStatsType() local 110 napi_create_int32(env, (int32_t)BatteryStatsInfo::ConsumptionType::CONSUMPTION_TYPE_USER, &user); in CreateEnumStatsType() 121 DECLARE_NAPI_STATIC_PROPERTY("CONSUMPTION_TYPE_USER", user), in CreateEnumStatsType()
|
| /base/security/dlp_permission_service/test/fuzztest/dlp_permission/stub_fuzzer/generatecertstub_fuzzer/ |
| H A D | generatecertstub_fuzzer.cpp | 75 for (int user = 0; user < userNum; ++user) { in InitPolicy()
|
| /device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/mac/hmac/ |
| H A D | hmac_edca_opt.c | 61 mac_user_stru *user = HI_NULL; in hmac_edca_opt_stat_traffic_num() local 70 user = hi_list_entry(list_pos, mac_user_stru, user_dlist); in hmac_edca_opt_stat_traffic_num() 71 hmac_user = (hmac_user_stru *)hmac_user_get_user_stru((hi_u8)user->us_assoc_id); in hmac_edca_opt_stat_traffic_num()
|
| /kernel/linux/linux-5.10/arch/s390/kernel/ |
| H A D | compat_linux.h | 91 long compat_sys_s390_chown16(const char __user *filename, u16 user, u16 group); 92 long compat_sys_s390_lchown16(const char __user *filename, u16 user, u16 group); 93 long compat_sys_s390_fchown16(unsigned int fd, u16 user, u16 group);
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
| H A D | base.c | 180 fault->user.ctor = nvkm_ufault_new; in nvkm_fault_new_() 181 fault->user.base = func->user.base; in nvkm_fault_new_()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
| H A D | base.c | 163 fault->user.ctor = nvkm_ufault_new; in nvkm_fault_new_() 164 fault->user.base = func->user.base; in nvkm_fault_new_()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_usif.c | 105 usif_ioctl(struct drm_file *filp, void __user *user, u32 argc) in usif_ioctl() argument 121 if (ret = -EFAULT, copy_from_user(argv, user, size)) in usif_ioctl() 173 if (copy_to_user(user, argv, argc)) in usif_ioctl()
|
| /third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-dynamic/ |
| H A D | minimal-http-server-dynamic.c | 41 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 D | minimal-http-server-form-post-file.c | 101 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 D | minimal-http-client-post.c | 29 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 D | remove_unused_struct_member_reduction_opportunity_finder.cpp | 61 [&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/security/keys/ |
| H A D | keyctl.c | 880 * 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 D | core.c | 66 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 D | keyctl.c | 880 * 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 D | core.c | 66 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 D | fastrpc.c | 152 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 D | los_process.c | 408 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 D | traps.c | 83 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 D | traps.c | 57 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 D | timerlat_hist.c | 59 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 D | lejp-conf.c | 284 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...] |