Home
last modified time | relevance | path

Searched refs:user (Results 76 - 100 of 1420) sorted by relevance

12345678910>>...57

/kernel/linux/linux-5.10/net/unix/
H A Dscm.c48 void unix_inflight(struct user_struct *user, struct file *fp) in unix_inflight() argument
66 WRITE_ONCE(user->unix_inflight, user->unix_inflight + 1); in unix_inflight()
70 void unix_notinflight(struct user_struct *user, struct file *fp) in unix_notinflight() argument
87 WRITE_ONCE(user->unix_inflight, user->unix_inflight - 1); in unix_notinflight()
92 * The "user->unix_inflight" variable is protected by the garbage
99 struct user_struct *user = current_user(); in too_many_unix_fds() local
101 if (unlikely(READ_ONCE(user->unix_inflight) > task_rlimit(p, RLIMIT_NOFILE))) in too_many_unix_fds()
123 unix_inflight(scm->fp->user, sc in unix_attach_fds()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Ddmacnv50.c74 chan->chid.user, -10, handle, in nv50_disp_dmac_bind()
75 chan->chid.user << 28 | in nv50_disp_dmac_bind()
76 chan->chid.user); in nv50_disp_dmac_bind()
85 int user = chan->chid.user; in nv50_disp_dmac_fini() local
94 nvkm_error(subdev, "ch %d fini timeout, %08x\n", user, in nv50_disp_dmac_fini()
107 int user = chan->chid.user; in nv50_disp_dmac_init() local
122 nvkm_error(subdev, "ch %d init timeout, %08x\n", user, in nv50_disp_dmac_init()
135 .user
[all...]
/kernel/linux/linux-6.6/net/unix/
H A Dscm.c47 void unix_inflight(struct user_struct *user, struct file *fp) in unix_inflight() argument
65 WRITE_ONCE(user->unix_inflight, user->unix_inflight + 1); in unix_inflight()
69 void unix_notinflight(struct user_struct *user, struct file *fp) in unix_notinflight() argument
86 WRITE_ONCE(user->unix_inflight, user->unix_inflight - 1); in unix_notinflight()
91 * The "user->unix_inflight" variable is protected by the garbage
98 struct user_struct *user = current_user(); in too_many_unix_fds() local
100 if (unlikely(READ_ONCE(user->unix_inflight) > task_rlimit(p, RLIMIT_NOFILE))) in too_many_unix_fds()
122 unix_inflight(scm->fp->user, sc in unix_attach_fds()
[all...]
/base/sensors/sensor/test/fuzztest/interfaces/sensoragent_fuzzer/
H A Dsensoragent_fuzzer.cpp109 SensorUser user; in SensorAgentFuzzTest() local
110 user.callback = SensorDataCallbackImpl; in SensorAgentFuzzTest()
111 SubscribeSensor(sensorTypeId, &user); in SensorAgentFuzzTest()
112 SetBatch(sensorTypeId, &user, g_samplingInterval, g_reportInterval); in SensorAgentFuzzTest()
113 ActivateSensor(sensorTypeId, &user); in SensorAgentFuzzTest()
115 DeactivateSensor(sensorTypeId, &user); in SensorAgentFuzzTest()
116 UnsubscribeSensor(sensorTypeId, &user); in SensorAgentFuzzTest()
/base/sensors/sensor_lite/services/include/
H A Dsensor_service_impl.h38 int32_t ActivateSensorImpl(int32_t sensorId, const SensorUser *user);
39 int32_t DeactivateSensorImpl(int32_t sensorId, const SensorUser *user);
40 int32_t SetBatchImpl(int32_t sensorId, const SensorUser *user, int64_t samplingInterval, int64_t reportInterval);
41 int32_t SubscribeSensorImpl(int32_t sensorId, const SensorUser *user);
42 int32_t UnsubscribeSensorImpl(int32_t sensorId, const SensorUser *user);
43 int32_t SetModeImpl(int32_t sensorId, const SensorUser *user, int32_t mode);
44 int32_t SetOptionImpl(int32_t sensorId, const SensorUser *user, int32_t option);
/kernel/linux/linux-5.10/block/
H A Dioprio.c30 #include <linux/sched/user.h>
104 struct user_struct *user; in SYSCALL_DEFINE3() local
140 user = current_user(); in SYSCALL_DEFINE3()
142 user = find_user(uid); in SYSCALL_DEFINE3()
144 if (!user) in SYSCALL_DEFINE3()
157 free_uid(user); in SYSCALL_DEFINE3()
196 struct user_struct *user; in SYSCALL_DEFINE2() local
233 user = current_user(); in SYSCALL_DEFINE2()
235 user = find_user(uid); in SYSCALL_DEFINE2()
237 if (!user) in SYSCALL_DEFINE2()
[all...]
/kernel/linux/linux-6.6/arch/arm/mach-omap2/
H A Domap_hwmod_3xxx_data.c1459 .user = OCP_USER_MPU | OCP_USER_SDMA,
1466 .user = OCP_USER_MPU | OCP_USER_SDMA,
1474 .user = OCP_USER_MPU,
1482 .user = OCP_USER_MPU,
1489 .user = OCP_USER_MPU | OCP_USER_SDMA,
1501 .user = OCP_USER_MPU | OCP_USER_SDMA,
1509 .user = OCP_USER_MPU,
1516 .user = OCP_USER_MPU | OCP_USER_SDMA,
1524 .user = OCP_USER_MPU | OCP_USER_SDMA,
1532 .user
[all...]
/kernel/linux/linux-6.6/arch/arm/kernel/
H A Dsys_oabi-compat.c6 * old ABI user space binaries with an EABI kernel.
43 * to avoid copying the extra padding over user space unexpecting it.
202 struct oabi_flock64 user; in get_oabi_flock() local
204 if (copy_from_user(&user, (struct oabi_flock64 __user *)arg, in get_oabi_flock()
205 sizeof(user))) in get_oabi_flock()
208 kernel->l_type = user.l_type; in get_oabi_flock()
209 kernel->l_whence = user.l_whence; in get_oabi_flock()
210 kernel->l_start = user.l_start; in get_oabi_flock()
211 kernel->l_len = user.l_len; in get_oabi_flock()
212 kernel->l_pid = user in get_oabi_flock()
219 struct oabi_flock64 user; put_oabi_flock() local
288 struct oabi_epoll_event user; sys_oabi_epoll_ctl() local
[all...]
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
H A Domap_hwmod_33xx_data.c209 .user = OCP_USER_MPU | OCP_USER_SDMA,
217 .user = OCP_USER_MPU | OCP_USER_SDMA,
225 .user = OCP_USER_MPU | OCP_USER_SDMA,
233 .user = OCP_USER_MPU | OCP_USER_SDMA,
241 .user = OCP_USER_MPU,
249 .user = OCP_USER_MPU,
257 .user = OCP_USER_MPU,
265 .user = OCP_USER_MPU,
/kernel/linux/linux-6.6/drivers/iommu/iommufd/
H A Dpages.c708 static void pfn_reader_user_init(struct pfn_reader_user *user, in pfn_reader_user_init() argument
711 user->upages = NULL; in pfn_reader_user_init()
712 user->upages_start = 0; in pfn_reader_user_init()
713 user->upages_end = 0; in pfn_reader_user_init()
714 user->locked = -1; in pfn_reader_user_init()
716 user->gup_flags = FOLL_LONGTERM; in pfn_reader_user_init()
718 user->gup_flags |= FOLL_WRITE; in pfn_reader_user_init()
721 static void pfn_reader_user_destroy(struct pfn_reader_user *user, in pfn_reader_user_destroy() argument
724 if (user->locked != -1) { in pfn_reader_user_destroy()
725 if (user in pfn_reader_user_destroy()
736 pfn_reader_user_pin(struct pfn_reader_user *user, struct iopt_pages *pages, unsigned long start_index, unsigned long last_index) pfn_reader_user_pin() argument
830 update_mm_locked_vm(struct iopt_pages *pages, unsigned long npages, bool inc, struct pfn_reader_user *user) update_mm_locked_vm() argument
857 do_update_pinned(struct iopt_pages *pages, unsigned long npages, bool inc, struct pfn_reader_user *user) do_update_pinned() argument
903 pfn_reader_user_update_pinned(struct pfn_reader_user *user, struct iopt_pages *pages) pfn_reader_user_update_pinned() argument
944 struct pfn_reader_user user; global() member
1632 iopt_pages_fill_from_mm(struct iopt_pages *pages, struct pfn_reader_user *user, unsigned long start_index, unsigned long last_index, struct page **out_pages) iopt_pages_fill_from_mm() argument
1676 struct pfn_reader_user user; iopt_pages_fill_xarray() local
[all...]
/kernel/linux/linux-6.6/block/
H A Dioprio.c72 struct user_struct *user; in SYSCALL_DEFINE3() local
114 user = current_user(); in SYSCALL_DEFINE3()
116 user = find_user(uid); in SYSCALL_DEFINE3()
118 if (!user) in SYSCALL_DEFINE3()
131 free_uid(user); in SYSCALL_DEFINE3()
213 struct user_struct *user; in SYSCALL_DEFINE2() local
250 user = current_user(); in SYSCALL_DEFINE2()
252 user = find_user(uid); in SYSCALL_DEFINE2()
254 if (!user) in SYSCALL_DEFINE2()
258 if (!uid_eq(task_uid(p), user in SYSCALL_DEFINE2()
[all...]
/kernel/linux/linux-5.10/arch/arm/kernel/
H A Dsys_oabi-compat.c6 * old ABI user space binaries with an EABI kernel.
41 * to avoid copying the extra padding over user space unexpecting it.
198 struct oabi_flock64 user; in do_locks() local
202 if (copy_from_user(&user, (struct oabi_flock64 __user *)arg, in do_locks()
203 sizeof(user))) in do_locks()
205 kernel.l_type = user.l_type; in do_locks()
206 kernel.l_whence = user.l_whence; in do_locks()
207 kernel.l_start = user.l_start; in do_locks()
208 kernel.l_len = user.l_len; in do_locks()
209 kernel.l_pid = user in do_locks()
255 struct oabi_epoll_event user; sys_oabi_epoll_ctl() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv50/
H A Dcurs507a.c38 if (NVIF_TV32(&wndw->wimm.base.user, NV507A, FREE, COUNT, >=, 4)) in curs507a_space()
49 struct nvif_object *user = &wndw->wimm.base.user; in curs507a_update() local
52 NVIF_WR32(user, NV507A, UPDATE, in curs507a_update()
61 struct nvif_object *user = &wndw->wimm.base.user; in curs507a_point() local
64 NVIF_WR32(user, NV507A, SET_CURSOR_HOT_SPOT_POINT_OUT, in curs507a_point()
154 &args, sizeof(args), &wndw->wimm.base.user); in curs507a_new_()
160 nvif_object_map(&wndw->wimm.base.user, NULL, 0); in curs507a_new_()
/kernel/linux/linux-5.10/drivers/gpu/drm/panfrost/
H A Dpanfrost_perfcnt.c31 struct panfrost_file_priv *user; member
73 struct panfrost_file_priv *user = file_priv->driver_priv; in panfrost_perfcnt_enable_locked() local
79 if (user == perfcnt->user) in panfrost_perfcnt_enable_locked()
81 else if (perfcnt->user) in panfrost_perfcnt_enable_locked()
100 user); in panfrost_perfcnt_enable_locked()
129 perfcnt->user = user; in panfrost_perfcnt_enable_locked()
181 struct panfrost_file_priv *user = file_priv->driver_priv; in panfrost_perfcnt_disable_locked() local
184 if (user ! in panfrost_perfcnt_disable_locked()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/panfrost/
H A Dpanfrost_perfcnt.c33 struct panfrost_file_priv *user; member
75 struct panfrost_file_priv *user = file_priv->driver_priv; in panfrost_perfcnt_enable_locked() local
82 if (user == perfcnt->user) in panfrost_perfcnt_enable_locked()
84 else if (perfcnt->user) in panfrost_perfcnt_enable_locked()
103 user); in panfrost_perfcnt_enable_locked()
131 perfcnt->user = user; in panfrost_perfcnt_enable_locked()
183 struct panfrost_file_priv *user = file_priv->driver_priv; in panfrost_perfcnt_disable_locked() local
187 if (user ! in panfrost_perfcnt_disable_locked()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/vfn/
H A Dbase.c48 vfn->addr.user = vfn->addr.priv + func->user.addr; in nvkm_vfn_new_()
57 vfn->user.ctor = nvkm_uvfn_new; in nvkm_vfn_new_()
58 vfn->user.base = func->user.base; in nvkm_vfn_new_()
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dpm-trace.h7 #define TRACE_RESUME(user) \
18 generate_pm_trace(tracedata, user); \
22 #define TRACE_SUSPEND(user) TRACE_RESUME(user)
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dpm-trace.h7 #define TRACE_RESUME(user) \
18 generate_pm_trace(tracedata, user); \
22 #define TRACE_SUSPEND(user) TRACE_RESUME(user)
/base/sensors/sensor_lite/frameworks/src/
H A Dsensor_agent_proxy.c60 static int32_t InsertCallbackNode(int32_t sensorTypeId, const SensorUser *user) in InsertCallbackNode() argument
70 if (node->callback == user->callback) { in InsertCallbackNode()
82 nd->callback = user->callback; in InsertCallbackNode()
88 static int32_t DeleteCallbackNode(int32_t sensorTypeId, const SensorUser *user) in DeleteCallbackNode() argument
98 if (node->callback == user->callback) { in DeleteCallbackNode()
354 int32_t ActivateSensorByProxy(const void *proxy, int32_t sensorId, const SensorUser *user) in ActivateSensorByProxy() argument
357 if ((proxy == NULL) || (user == NULL)) { in ActivateSensorByProxy()
358 HILOG_ERROR(HILOG_MODULE_APP, "%s proxy or user is NULL", __func__); in ActivateSensorByProxy()
375 int32_t DeactivateSensorByProxy(const void *proxy, int32_t sensorId, const SensorUser *user) in DeactivateSensorByProxy() argument
378 if ((proxy == NULL) || (user in DeactivateSensorByProxy()
396 SetBatchByProxy(const void *proxy, int32_t sensorId, const SensorUser *user, int64_t samplingInterval, int64_t reportInterval) SetBatchByProxy() argument
434 SubscribeSensorByProxy(const void *proxy, int32_t sensorId, const SensorUser *user) SubscribeSensorByProxy() argument
458 UnsubscribeSensorByProxy(const void *proxy, int32_t sensorId, const SensorUser *user) UnsubscribeSensorByProxy() argument
483 SetModeByProxy(const void *proxy, int32_t sensorId, const SensorUser *user, int32_t mode) SetModeByProxy() argument
505 SetOptionByProxy(const void *proxy, int32_t sensorId, const SensorUser *user, int32_t option) SetOptionByProxy() argument
[all...]
/kernel/linux/linux-5.10/security/keys/
H A Dproc.c71 if (kuid_has_mapping(user_ns, key->user->uid)) in key_serial_next()
103 if (kuid_has_mapping(user_ns, minkey->user->uid)) in find_ge_key()
255 struct key_user *user = rb_entry(n, struct key_user, node); in __key_user_next() local
256 if (kuid_has_mapping(user_ns, user->uid)) in __key_user_next()
306 struct key_user *user = rb_entry(_p, struct key_user, node); in proc_key_users_show() local
307 unsigned maxkeys = uid_eq(user->uid, GLOBAL_ROOT_UID) ? in proc_key_users_show()
309 unsigned maxbytes = uid_eq(user->uid, GLOBAL_ROOT_UID) ? in proc_key_users_show()
313 from_kuid_munged(seq_user_ns(m), user->uid), in proc_key_users_show()
314 refcount_read(&user->usage), in proc_key_users_show()
315 atomic_read(&user in proc_key_users_show()
[all...]
/kernel/linux/linux-6.6/security/keys/
H A Dproc.c71 if (kuid_has_mapping(user_ns, key->user->uid)) in key_serial_next()
103 if (kuid_has_mapping(user_ns, minkey->user->uid)) in find_ge_key()
255 struct key_user *user = rb_entry(n, struct key_user, node); in __key_user_next() local
256 if (kuid_has_mapping(user_ns, user->uid)) in __key_user_next()
306 struct key_user *user = rb_entry(_p, struct key_user, node); in proc_key_users_show() local
307 unsigned maxkeys = uid_eq(user->uid, GLOBAL_ROOT_UID) ? in proc_key_users_show()
309 unsigned maxbytes = uid_eq(user->uid, GLOBAL_ROOT_UID) ? in proc_key_users_show()
313 from_kuid_munged(seq_user_ns(m), user->uid), in proc_key_users_show()
314 refcount_read(&user->usage), in proc_key_users_show()
315 atomic_read(&user in proc_key_users_show()
[all...]
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Daccess-helper.h5 static inline int __get_inst(u32 *i, u32 *p, bool user) in __get_inst() argument
7 return user ? get_user(*i, (u32 __user *)p) : get_kernel_nofault(*i, p); in __get_inst()
10 static inline int __get_addr(unsigned long *a, unsigned long *p, bool user) in __get_addr() argument
12 return user ? get_user(*a, (unsigned long __user *)p) : get_kernel_nofault(*a, p); in __get_addr()
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Daccess-helper.h5 static inline int __get_inst(u32 *i, u32 *p, bool user) in __get_inst() argument
7 return user ? get_user(*i, (u32 __user *)p) : get_kernel_nofault(*i, p); in __get_inst()
10 static inline int __get_addr(unsigned long *a, unsigned long *p, bool user) in __get_addr() argument
12 return user ? get_user(*a, (unsigned long __user *)p) : get_kernel_nofault(*a, p); in __get_addr()
/base/account/os_account/services/accountmgr/src/
H A Daccount_info_report.cpp26 std::string TransformIntoJson(const std::string &user, int32_t id, ReportEvent event, int32_t result) in TransformIntoJson() argument
33 {"userName", user}, in TransformIntoJson()
47 void AccountInfoReport::ReportSecurityInfo(const std::string &user, int32_t id, ReportEvent event, int32_t result) in ReportSecurityInfo() argument
51 std::string userName = user; in ReportSecurityInfo()
52 if (user.empty()) { in ReportSecurityInfo()
/base/sensors/sensor/frameworks/native/include/
H A Dsensor_agent_proxy.h38 int32_t ActivateSensor(int32_t sensorId, const SensorUser *user);
39 int32_t DeactivateSensor(int32_t sensorId, const SensorUser *user);
40 int32_t SetBatch(int32_t sensorId, const SensorUser *user, int64_t samplingInterval, int64_t reportInterval);
41 int32_t SubscribeSensor(int32_t sensorId, const SensorUser *user);
42 int32_t UnsubscribeSensor(int32_t sensorId, const SensorUser *user);
43 int32_t SetMode(int32_t sensorId, const SensorUser *user, int32_t mode);
44 int32_t SetOption(int32_t sensorId, const SensorUser *user, int32_t option);

Completed in 12 milliseconds

12345678910>>...57