Searched refs:user (Results 251 - 275 of 691) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_context.c15 * In software, there is a distinction between contexts created by the user,
740 struct i915_context_param_engines __user *user = local
751 if (args->size < sizeof(*user) ||
752 !IS_ALIGNED(args->size - sizeof(*user), sizeof(*user->engines))) {
758 set.num_engines = (args->size - sizeof(*user)) / sizeof(*user->engines);
771 if (copy_from_user(&ci, &user->engines[n], sizeof(ci))) {
798 if (!get_user(extensions, &user->extensions))
1388 * Map the user'
1894 i915_gem_user_to_context_sseu(struct intel_gt *gt, const struct drm_i915_gem_context_param_sseu *user, struct intel_sseu *context) argument
[all...]
/linux-master/security/selinux/ss/
H A Dmls.c205 if (!c->user || c->user > p->p_users.nprim)
207 usrdatum = p->user_val_to_struct[c->user - 1];
209 return 0; /* user may not be associated with range */
396 struct user_datum *user, struct context *usercon)
401 struct mls_level *user_low = &(user->range.level[0]);
402 struct mls_level *user_clr = &(user->range.level[1]);
403 struct mls_level *user_def = &(user->dfltlevel);
407 /* Honor the user's default level if we can */
419 that of the user'
395 mls_setup_user_range(struct policydb *p, struct context *fromcon, struct user_datum *user, struct context *usercon) argument
[all...]
/linux-master/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
936 session->user.probe = hidp_session_probe;
937 session->user.remove = hidp_session_remove;
938 INIT_LIST_HEAD(&session->user.list);
1091 * to the hci-connection. We get the session via the \user object and can now
1098 struct l2cap_user *user)
1100 struct hidp_session *session = container_of(user,
1102 user);
1097 hidp_session_probe(struct l2cap_conn *conn, struct l2cap_user *user) argument
1158 hidp_session_remove(struct l2cap_conn *conn, struct l2cap_user *user) argument
[all...]
/linux-master/security/keys/
H A Dkeyctl.c880 * transferring them to user buffer to avoid potential
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) argument
958 uid = make_kuid(current_user_ns(), user);
961 if ((user != (uid_t) -1) && !uid_valid(uid))
967 if (user == (uid_t) -1 && group == (gid_t) -1)
987 if (user != (uid_t) -1 && !uid_eq(key->uid, uid))
1000 if (user !
[all...]
/linux-master/net/netfilter/
H A Dx_tables.c62 int delta; /* delta in 32bit user land */
309 U->u.user.name, K->u.kernel.TYPE->name, \
310 &U->u.user.revision, K->u.kernel.TYPE->revision)
491 pr_err_ratelimited("%s_tables: %s.%u match: invalid size %u (kernel) != (user) %u\n",
757 u_int16_t msize = cm->u.user.match_size;
758 char name[sizeof(m->u.user.name)];
768 m->u.user.match_size = msize;
771 strscpy_pad(m->u.user.name, name, sizeof(m->u.user.name));
790 u_int16_t msize = m->u.user
[all...]
H A Dxt_hashlimit.c489 static u64 user2credits(u64 user, int revision) argument
498 return div64_u64(user, div64_u64(scale, HZ * cpj));
500 return user * div64_u64(HZ * cpj, scale);
503 static u32 user2credits_byte(u32 user) argument
505 u64 us = user;
510 static u64 user2rate(u64 user) argument
512 if (user != 0) {
513 return div64_u64(XT_HASHLIMIT_SCALE_v2, user);
516 user);
521 static u64 user2rate_bytes(u32 user) argument
[all...]
/linux-master/arch/mips/kernel/
H A Dtraps.c121 bool user)
131 if (__get_addr(&addr, sp++, user)) {
152 const char *loglvl, bool user)
162 show_raw_backtrace(sp, loglvl, user);
178 const struct pt_regs *regs, const char *loglvl, bool user)
197 if (__get_addr(&stackdata, sp++, user)) {
206 show_backtrace(task, regs, loglvl, user);
230 static void show_code(void *pc, bool user) argument
244 if (__get_inst16(&insn16, pc16 + i, user))
251 if (__get_inst32(&insn32, (u32 *)pc + i, user))
120 show_raw_backtrace(unsigned long reg29, const char *loglvl, bool user) argument
151 show_backtrace(struct task_struct *task, const struct pt_regs *regs, const char *loglvl, bool user) argument
177 show_stacktrace(struct task_struct *task, const struct pt_regs *regs, const char *loglvl, bool user) argument
1033 bool user = user_mode(regs); local
1120 bool user = user_mode(regs); local
[all...]
/linux-master/tools/tracing/rtla/src/
H A Dtimerlat_hist.c60 int *user; member in struct:timerlat_hist_cpu
102 if (data->hist[cpu].user)
103 free(data->hist[cpu].user);
146 data->hist[cpu].user = calloc(1, sizeof(*data->hist->user) * (entries + 1));
147 if (!data->hist[cpu].user)
196 } else { /* user */
197 hist = data->hist[cpu].user;
444 total += data->hist[cpu].user[bucket];
446 data->hist[cpu].user[bucke
[all...]
/linux-master/arch/loongarch/kernel/
H A Dtraps.c83 const char *loglvl, bool user)
102 const struct pt_regs *regs, const char *loglvl, bool user)
121 if (__get_addr(&stackdata, sp++, user)) {
130 show_backtrace(task, regs, loglvl, user);
156 static void show_code(unsigned int *pc, bool user) argument
164 if (__get_inst(&insn, pc + i, user)) {
611 bool user = user_mode(regs); local
629 if (__get_inst(&insn.word, (u32 *)era, user))
700 bool user = user_mode(regs); local
708 if (__get_inst(&opcode, (u32 *)era, user))
82 show_backtrace(struct task_struct *task, const struct pt_regs *regs, const char *loglvl, bool user) argument
101 show_stacktrace(struct task_struct *task, const struct pt_regs *regs, const char *loglvl, bool user) argument
[all...]
/linux-master/net/netrom/
H A Daf_netrom.c252 * This is called from user mode and the timers. Thus it protects itself
570 ax25_uid_assoc *user; local
596 * Only the super user can set an arbitrary user callsign.
609 user = ax25_findbyuid(current_euid());
610 if (user) {
611 nr->user_addr = user->call;
612 ax25_uid_put(user);
642 ax25_uid_assoc *user; local
688 user
876 ax25_address *src, *dest, *user; local
[all...]
/linux-master/fs/
H A Dpipe.c36 * New pipe buffers will be restricted to this size while the user is exceeding
51 * The max size that a non-root user is allowed to grow the pipe. Can
56 /* Maximum allocatable pages per user. Hard limit is unset by default, soft
765 unsigned long account_pipe_buffers(struct user_struct *user, argument
768 return atomic_long_add_return(new - old, &user->pipe_bufs);
794 struct user_struct *user = get_current_user(); local
805 user_bufs = account_pipe_buffers(user, 0, pipe_bufs);
808 user_bufs = account_pipe_buffers(user, pipe_bufs, PIPE_MIN_DEF_BUFFERS);
825 pipe->user = user;
[all...]
/linux-master/arch/s390/kvm/
H A Dpci.c196 struct user_struct *user = get_uid(current_user()); local
198 if (user)
199 atomic_long_sub(nr_pages, &user->locked_vm);
206 struct user_struct *user = get_uid(current_user()); local
212 cur_pages = atomic_long_read(&user->locked_vm);
216 } while (atomic_long_cmpxchg(&user->locked_vm, cur_pages,
/linux-master/drivers/net/ethernet/ti/
H A Ddavinci_mdio.c86 } user[]; member in struct:davinci_mdio_regs
130 * In the worst case, we could be kicking off a user-access immediately
358 /* wait until hardware is ready for another user access */
366 reg = readl(&regs->user[0].access);
386 reg = readl(&regs->user[0].access);
390 dev_err(data->dev, "timed out waiting for user access\n");
431 writel(reg, &data->regs->user[0].access);
439 reg = readl(&data->regs->user[0].access);
473 writel(reg, &data->regs->user[0].access);
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_abi16.c391 ret = nvif_object_ctor(&chan->chan->user, "abi16CeWar", 0, VOLTA_DMA_COPY_A,
397 ret = nvif_object_ctor(&chan->chan->user, "abi16CeWar", 0, TURING_DMA_COPY_A,
475 args->v0.object = nvif_handle(&chan->chan->user);
525 ret = nvif_object_sclass_get(&chan->chan->user, &sclass);
585 ret = nvif_object_ctor(&chan->chan->user, "abi16EngObj", init->handle,
651 ret = nvif_object_ctor(&chan->chan->user, "abi16Ntfy", info->handle,
681 /* synchronize with the user channel and destroy the gpu object */
/linux-master/drivers/gpu/drm/nouveau/nvkm/engine/disp/
H A Dgk104.c199 .user = 5,
301 .user = 0,
318 .user = {
H A Dgv100.c336 return 0x690000 + ((chan->chid.user - 1) * 0x1000);
356 return nvkm_ramht_insert(chan->disp->ramht, object, chan->chid.user, -9, handle,
357 chan->chid.user << 25 | 0x00000040);
407 .user = gv100_disp_chan_user,
414 .user = 33,
533 .user = gv100_disp_chan_user,
541 .user = 1,
600 .user = gv100_disp_chan_user,
607 .user = 73,
782 .user
[all...]
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/core/
H A Dfalcon.h83 nvkm_printk___((f)->owner, (f)->user, NV_DBG_##l, p, "%s:"fmt, (f)->name, ##a); \
85 nvkm_printk___((f)->owner, (f)->user, NV_DBG_##l, p, fmt, ##a); \
153 int nvkm_falcon_fw_boot(struct nvkm_falcon_fw *, struct nvkm_subdev *user,
/linux-master/drivers/media/usb/pvrusb2/
H A Dpvrusb2-context.c297 cp->stream->user = NULL;
381 if (sp && sp->user) {
387 sp->user = cp;
/linux-master/arch/m68k/fpsp040/
H A Dsacos.S58 fmovel %d1,%fpcr | ...load user's rounding mode/precision
/linux-master/net/dns_resolver/
H A Ddns_query.c46 #include <keys/user-type.h>
/linux-master/sound/pci/ctxfi/
H A Dctimap.c80 entry->next = entry->addr = entry->user = entry->slot = 0;
/linux-master/arch/x86/um/os-Linux/
H A Dregisters.c11 #include <sys/user.h>
/linux-master/arch/x86/um/
H A Duser-offsets.c7 #include <sys/user.h>
/linux-master/arch/xtensa/include/asm/
H A Delf.h128 * This yields a mask that user programs can use to figure out what
129 * instruction set this CPU supports. This could be done in user space,
180 xtregs_user_t user; member in struct:__anon194
/linux-master/drivers/gpu/drm/nouveau/nvkm/falcon/
H A Dfw.c52 if (nvkm_printk_ok(falcon->owner, falcon->user, NV_DBG_TRACE)) {
74 nvkm_falcon_fw_boot(struct nvkm_falcon_fw *fw, struct nvkm_subdev *user, argument
80 ret = nvkm_falcon_get(falcon, user);
115 nvkm_falcon_put(falcon, user);

Completed in 392 milliseconds

<<11121314151617181920>>