Searched refs:access (Results 76 - 100 of 592) sorted by relevance

1234567891011>>

/linux-master/sound/core/
H A Dcontrol.c219 * @access: the default access flags for elements in this control
224 * access permissions (@access). Each element is locked when @file is given.
229 unsigned int access, struct snd_ctl_file *file)
241 (*kctl)->vd[idx].access = access;
255 * template. When the access field of ncontrol is 0, it's assumed as
256 * READWRITE access. When the count field is 0, it's assumes as one.
265 unsigned int access; local
228 snd_ctl_new(struct snd_kcontrol **kctl, unsigned int count, unsigned int access, struct snd_ctl_file *file) argument
1641 unsigned int access; local
[all...]
/linux-master/drivers/gpu/drm/nouveau/include/nvif/
H A Dcl0002.h17 __u8 access; member in struct:nv_dma_v0
/linux-master/tools/perf/util/
H A Dfncache.c60 res = access(name, R_OK) == 0;
/linux-master/drivers/usb/gadget/function/
H A Du_uac1_legacy.h38 int access; member in struct:gaudio_snd_dev
H A Du_uac1_legacy.c104 snd->access = SNDRV_PCM_ACCESS_RW_INTERLEAVED;
115 snd->access, 0);
135 snd->access = params_access(params);
143 "Hardware params: access %x, format %x, channels %d, rate %d\n",
144 snd->access, snd->format, snd->channels, snd->rate);
/linux-master/tools/testing/selftests/timens/
H A Dtimens.h107 if (access("/proc/self/ns/time", F_OK) < 0)
/linux-master/tools/testing/selftests/powerpc/mce/
H A Dinject-ra-err.c42 SKIP_IF(access(devname, F_OK));
/linux-master/drivers/infiniband/core/
H A Dumem_dmabuf.c115 int fd, int access,
147 umem->writable = ib_access_writable(access);
190 int access)
195 umem_dmabuf = ib_umem_dmabuf_get(device, offset, size, fd, access,
113 ib_umem_dmabuf_get(struct ib_device *device, unsigned long offset, size_t size, int fd, int access, const struct dma_buf_attach_ops *ops) argument
187 ib_umem_dmabuf_get_pinned(struct ib_device *device, unsigned long offset, size_t size, int fd, int access) argument
H A Dumem.c140 * @access: IB_ACCESS_xxx flags for memory being pinned
143 size_t size, int access)
167 if (access & IB_ACCESS_ON_DEMAND)
181 umem->writable = ib_access_writable(access);
235 if (access & IB_ACCESS_RELAXED_ORDERING)
142 ib_umem_get(struct ib_device *device, unsigned long addr, size_t size, int access) argument
H A Dumem_odp.c114 * @access: ib_reg_mr access flags
117 int access)
123 if (access & IB_ACCESS_HUGETLB)
131 umem->writable = ib_access_writable(access);
216 * @access: IB_ACCESS_xxx flags for memory being pinned
219 * The driver should use when the access flags indicate ODP memory. It avoids
224 unsigned long addr, size_t size, int access,
230 if (WARN_ON_ONCE(!(access & IB_ACCESS_ON_DEMAND)))
240 umem_odp->umem.writable = ib_access_writable(access);
116 ib_umem_odp_alloc_implicit(struct ib_device *device, int access) argument
223 ib_umem_odp_get(struct ib_device *device, unsigned long addr, size_t size, int access, const struct mmu_interval_notifier_ops *ops) argument
[all...]
H A Duverbs_uapi.c147 u8 access = attr->attr.u2.objs_arr.access; local
149 if (WARN_ON(access == UVERBS_ACCESS_NEW ||
150 access == UVERBS_ACCESS_DESTROY))
383 u8 access = elm->spec.u.obj.access; local
390 if (access == UVERBS_ACCESS_NEW ||
391 access == UVERBS_ACCESS_DESTROY) {
400 if (access == UVERBS_ACCESS_DESTROY)
681 * off method access
[all...]
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtrace_printk.c38 if (access(TRACEFS_PIPE, F_OK) == 0)
H A Dtrace_vprintk.c31 if (access(TRACEFS_PIPE, F_OK) == 0)
/linux-master/tools/testing/selftests/powerpc/dscr/
H A Ddscr_sysfs_test.c55 if (access(file, F_OK))
/linux-master/drivers/crypto/ccp/
H A DMakefile14 platform-access.o \
/linux-master/drivers/infiniband/hw/usnic/
H A Dusnic_uiom.h92 int access, int dmasync);
/linux-master/samples/cgroup/
H A Dcgroup_event_listener.c70 ret = access(event_control_path, W_OK);
/linux-master/drivers/hwtracing/coresight/
H A Dcoresight-tpiu.c79 tpiu_enable_hw(&csdev->access);
110 tpiu_disable_hw(&csdev->access);
159 desc.access = CSDEV_ACCESS_IOMEM(base);
162 tpiu_disable_hw(&desc.access);
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_display_driver.c293 i915->display.access.any_task_allowed = any_task_allowed;
294 i915->display.access.allowed_task = allowed_task;
301 * intel_display_driver_enable_user_access - Enable display HW access for all threads
304 * Enable the display HW access for all threads. Examples for such accesses
318 * intel_display_driver_disable_user_access - Disable display HW access for user threads
321 * Disable the display HW access for user threads. Examples for such accesses
323 * access is still enabled, which should only perform HW init/deinit
342 * intel_display_driver_suspend_access - Suspend display HW access for all threads
345 * Disable the display HW access for all threads. Examples for such accesses
359 * intel_display_driver_resume_access - Resume display HW access fo
[all...]
/linux-master/sound/usb/6fire/
H A Dcontrol.c406 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE |
418 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE |
430 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE |
446 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
456 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
466 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
479 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
488 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
497 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
506 .access
[all...]
/linux-master/security/landlock/
H A Druleset.c193 * access rights.
197 * access rights.
242 * Extends access rights when the request comes from
249 this->layers[0].access |= (*layers)[0].access;
257 * Intersects access rights when it is a merge between a
286 .access = ~0,
290 BUILD_BUG_ON(layer.access < LANDLOCK_MASK_ACCESS_FS);
296 const access_mask_t access)
299 .access
294 landlock_insert_rule(struct landlock_ruleset *const ruleset, const struct landlock_id id, const access_mask_t access) argument
[all...]
/linux-master/drivers/misc/cxl/
H A Dfault.c135 unsigned long access, flags, inv_flags = 0; local
163 access = _PAGE_PRESENT | _PAGE_READ;
165 access |= _PAGE_WRITE;
168 access |= _PAGE_PRIVILEGED;
174 hash_page_mm(mm, dar, access, 0x300, inv_flags);
/linux-master/arch/powerpc/mm/book3s64/
H A Dhash_utils.c313 VM_WARN_ONCE(!(pteflags & _PAGE_RWX), "no-access mapping request");
322 VM_WARN_ONCE(!(pteflags & _PAGE_RWX), "no-access mapping request");
1378 * _PAGE_RWX: no access.
1410 * 2 -> no access.
1424 void hash_failure_debug(unsigned long ea, unsigned long access, argument
1430 pr_info("mm: Hashing failure ! EA=0x%lx access=0x%lx current=%s\n",
1431 ea, access, current->comm);
1457 * -2 - access not permitted by subpage protection mechanism
1460 unsigned long access, unsigned long trap,
1471 DBG_LOW("hash_page(ea=%016lx, access
1459 hash_page_mm(struct mm_struct *mm, unsigned long ea, unsigned long access, unsigned long trap, unsigned long flags) argument
1669 hash_page(unsigned long ea, unsigned long access, unsigned long trap, unsigned long dsisr) argument
1690 unsigned long access = _PAGE_PRESENT | _PAGE_READ; local
1768 unsigned long access = _PAGE_PRESENT | _PAGE_READ | (is_exec ? _PAGE_EXEC : 0); local
[all...]
/linux-master/sound/usb/
H A Dmixer_us16x08.c765 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
775 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
785 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
795 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
805 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
815 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
825 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
835 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
846 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
857 .access
[all...]
/linux-master/drivers/iio/
H A Dindustrialio-buffer.c10 * - Alternative access techniques?
43 return buf->access->data_available(buf);
94 * iio_buffer_read() - chrdev read for buffer access
120 if (!rb || !rb->access->read)
158 ret = rb->access->read(rb, n, buf);
169 if (buf->access->space_available)
170 return buf->access->space_available(buf);
188 if (!rb || !rb->access->write)
217 ret = rb->access->write(rb, n - written, buf + written);
231 * @filp: File structure pointer for device access
[all...]

Completed in 241 milliseconds

1234567891011>>