Home
last modified time | relevance | path

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

12345678910>>...90

/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dlinkat.c40 EXPECT_EQ("linkat_0100", access("/etc/linkat.txt", F_OK), 0); in linkat_0100()
53 if (access("/etc/linkat.txt", F_OK) != 0) { in linkat_0200()
80 if (access("/etc/test.txt", F_OK) == 0) { in linkat_0300()
84 if (access("/etc/linkat.txt", F_OK) == 0) { in linkat_0300()
/kernel/linux/linux-6.6/arch/x86/kvm/mmu/
H A Dpaging_tmpl.h19 * The MMU needs to be able to access/walk 32-bit and 64-bit guest page tables,
109 static inline void FNAME(protect_clean_gpte)(struct kvm_mmu *mmu, unsigned *access, in protect_clean_gpte() argument
121 /* Allow write access to dirty gptes */ in protect_clean_gpte()
124 *access &= mask; in protect_clean_gpte()
181 unsigned access; in gpte_access() local
183 access = ((gpte & VMX_EPT_WRITABLE_MASK) ? ACC_WRITE_MASK : 0) | in gpte_access()
189 access = gpte & (PT_WRITABLE_MASK | PT_USER_MASK | PT_PRESENT_MASK); in gpte_access()
191 access ^= (gpte >> PT64_NX_SHIFT); in gpte_access()
194 return access; in gpte_access()
304 gpa_t addr, u64 access) in walk_addr_generic()
302 walk_addr_generic(struct guest_walker *walker, struct kvm_vcpu *vcpu, struct kvm_mmu *mmu, gpa_t addr, u64 access) walk_addr_generic() argument
525 walk_addr(struct guest_walker *walker, struct kvm_vcpu *vcpu, gpa_t addr, u64 access) walk_addr() argument
632 unsigned int direct_access, access; fetch() local
868 gva_to_gpa(struct kvm_vcpu *vcpu, struct kvm_mmu *mmu, gpa_t addr, u64 access, struct x86_exception *exception) gva_to_gpa() argument
[all...]
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/
H A Dhash_64k.c36 int __hash_page_4K(unsigned long ea, unsigned long access, unsigned long vsid, in __hash_page_4K() argument
55 /* If PTE busy, retry the access */ in __hash_page_4K()
59 if (unlikely(!check_pte_access(access, old_pte))) in __hash_page_4K()
63 * a write access. Since this is 4K insert of 64K page size in __hash_page_4K()
67 if (access & _PAGE_WRITE) in __hash_page_4K()
211 hash_failure_debug(ea, access, vsid, trap, ssize, in __hash_page_4K()
223 int __hash_page_64K(unsigned long ea, unsigned long access, in __hash_page_64K() argument
241 /* If PTE busy, retry the access */ in __hash_page_64K()
245 if (unlikely(!check_pte_access(access, old_pte))) in __hash_page_64K()
256 * a write access in __hash_page_64K()
[all...]
/third_party/alsa-utils/axfer/
H A Dmapper-multiple.c93 if (mapper->access == SND_PCM_ACCESS_RW_INTERLEAVED || in multiple_pre_process()
94 mapper->access == SND_PCM_ACCESS_MMAP_INTERLEAVED) in multiple_pre_process()
96 else if (mapper->access == SND_PCM_ACCESS_RW_NONINTERLEAVED || in multiple_pre_process()
97 mapper->access == SND_PCM_ACCESS_MMAP_NONINTERLEAVED) in multiple_pre_process()
102 if (mapper->access == SND_PCM_ACCESS_RW_INTERLEAVED || in multiple_pre_process()
103 mapper->access == SND_PCM_ACCESS_MMAP_INTERLEAVED) in multiple_pre_process()
105 else if (mapper->access == SND_PCM_ACCESS_RW_NONINTERLEAVED || in multiple_pre_process()
106 mapper->access == SND_PCM_ACCESS_MMAP_NONINTERLEAVED) in multiple_pre_process()
/third_party/mesa3d/src/gallium/drivers/iris/
H A Diris_pipe_control.c158 * memory operations performed from the caching domain \p access.
167 * previous access was performed from the same batch or a different one, but
185 enum iris_domain access) in iris_emit_buffer_barrier_for()
190 const bool access_via_l3 = iris_domain_is_l3_coherent(devinfo, access); in iris_emit_buffer_barrier_for()
229 * the previous access and invalidating the specified domain. in iris_emit_buffer_barrier_for()
235 if (i != access) { in iris_emit_buffer_barrier_for()
238 /* Invalidate unless the most recent read/write access from in iris_emit_buffer_barrier_for()
240 * specified domain. Flush if the most recent access from in iris_emit_buffer_barrier_for()
243 if (seqno > batch->coherent_seqnos[access][i]) { in iris_emit_buffer_barrier_for()
244 bits |= invalidate_bits[access]; in iris_emit_buffer_barrier_for()
183 iris_emit_buffer_barrier_for(struct iris_batch *batch, struct iris_bo *bo, enum iris_domain access) iris_emit_buffer_barrier_for() argument
[all...]
/third_party/musl/libc-test/src/functional/
H A Drenameat2_test.c83 if (access(g_oldPath, F_OK) == 0) { in RemoveFile()
88 if (access(g_newPath, F_OK) == 0) { in RemoveFile()
102 if (access(g_oldPath, F_OK) == 0) { in RenameNoReplaceTest()
124 if (access(g_oldPath, F_OK) == 0) { in RenameNoReplaceTest()
149 if (access(g_oldPath, F_OK) == 0) { in ZeroTest()
162 if (access(g_oldPath, F_OK) == 0) { in ZeroTest()
174 if (access(g_oldPath, F_OK) == 0) { in ZeroTest()
187 if (access(g_oldPath, F_OK) == 0) { in ZeroTest()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A Dvk_format_utils.h85 const angle::Format &getActualImageFormat(ImageAccess access) const in getActualImageFormat()
87 return angle::Format::Get(getActualImageFormatID(access)); in getActualImageFormat()
103 angle::FormatID getActualImageFormatID(ImageAccess access) const in getActualImageFormatID()
105 return ImageAccess::Renderable == access ? mActualRenderableImageFormatID in getActualImageFormatID()
108 VkFormat getActualImageVkFormat(ImageAccess access) const in getActualImageVkFormat()
110 return GetVkFormatFromFormatID(getActualImageFormatID(access)); in getActualImageVkFormat()
113 LoadImageFunctionInfo getTextureLoadFunction(ImageAccess access, GLenum type) const in getTextureLoadFunction() argument
115 return ImageAccess::Renderable == access ? mRenderableTextureLoadFunctions(type) in getTextureLoadFunction()
/third_party/protobuf/src/google/protobuf/io/
H A Dio_win32_unittest.cc35 // Unit tests for long-path-aware open/mkdir/access/etc. on Windows, as well as
301 EXPECT_EQ(access(test_tmpdir.c_str(), F_OK), 0); in TEST_F()
302 EXPECT_EQ(access(path.c_str(), F_OK), 0); in TEST_F()
303 EXPECT_EQ(access(path.c_str(), W_OK), 0); in TEST_F()
304 EXPECT_EQ(access(file.c_str(), F_OK | W_OK), 0); in TEST_F()
305 EXPECT_NE(access((file + ".blah").c_str(), F_OK), 0); in TEST_F()
306 EXPECT_NE(access((file + ".blah").c_str(), W_OK), 0); in TEST_F()
308 EXPECT_EQ(access(".", F_OK), 0); in TEST_F()
309 EXPECT_EQ(access(".", W_OK), 0); in TEST_F()
310 EXPECT_EQ(access((test_tmpdi in TEST_F()
[all...]
/kernel/linux/linux-6.6/fs/nfsd/
H A Dlockd.c32 int access; in nlm_fopen() local
41 access = (mode == O_WRONLY) ? NFSD_MAY_WRITE : NFSD_MAY_READ; in nlm_fopen()
42 access |= NFSD_MAY_LOCK; in nlm_fopen()
43 nfserr = nfsd_open(rqstp, &fh, S_IFREG, access, filp); in nlm_fopen()
/kernel/liteos_a/testsuites/unittest/container/smoke/
H A DIt_mnt_container_002.cpp42 ret = access(ACCESS_FILE_NAME, F_OK); in ChildFunc()
52 ret = access(ACCESS_FILE_NAME, F_OK); in ChildFunc()
83 ret = access(ACCESS_FILE_NAME, F_OK); in ItMntContainer002()
98 ret = access(ACCESS_FILE_NAME, F_OK); in ItMntContainer002()
/third_party/ltp/testcases/kernel/containers/mountns/
H A Dmountns02.c43 if ((access(DIRA "/A", F_OK) != 0) || (access(DIRA "/B", F_OK) == 0)) in child_func()
86 if ((access(DIRA "/A", F_OK) != 0) || (access(DIRA "/B", F_OK) == 0)) in run()
/third_party/skia/third_party/externals/tint/src/ast/
H A Dpointer.cc29 : Base(pid, src), type(subtype), storage_class(sc), access(ac) {} in Pointer()
38 if (access != ast::Access::kUndefined) { in FriendlyName()
39 out << ", " << access; in FriendlyName() local
53 return ctx->dst->create<Pointer>(src, ty, storage_class, access); in Clone()
/third_party/skia/docs/examples/
H A DCanvas_accessTopLayerPixels_b.cpp17 uint32_t* access = (uint32_t*) canvas->accessTopLayerPixels(&imageInfo, &rowBytes, &origin); in REG_FIDDLE() local
18 if (access) { in REG_FIDDLE()
32 if (access[y * rowWords + x] == SK_ColorBLACK) { in REG_FIDDLE()
33 access[newY * rowWords + newX] = SK_ColorGRAY; in REG_FIDDLE()
/third_party/node/deps/v8/src/compiler/
H A Dload-elimination.cc7 #include "src/compiler/access-builder.h"
648 // If not, a partially overlapping access has invalidated part of the value. in LookupField()
907 FieldAccess const& access) { in ReduceLoadField()
913 if (access.offset == HeapObject::kMapOffset && in ReduceLoadField()
914 access.base_is_tagged == kTaggedBase) { in ReduceLoadField()
915 DCHECK(IsAnyTagged(access.machine_type.representation())); in ReduceLoadField()
924 IndexRange field_index = FieldIndexOf(access); in ReduceLoadField()
927 access.machine_type.representation(); in ReduceLoadField()
929 state->LookupField(object, field_index, access.const_field_info); in ReduceLoadField()
930 if (!lookup_result && access in ReduceLoadField()
906 ReduceLoadField(Node* node, FieldAccess const& access) ReduceLoadField() argument
970 ReduceStoreField(Node* node, FieldAccess const& access) ReduceStoreField() argument
1062 ElementAccess const& access = ElementAccessOf(node->op()); ReduceLoadElement() local
1104 ElementAccess const& access = ElementAccessOf(node->op()); ReduceStoreElement() local
1335 FieldAccess access = FieldAccessOf(current->op()); ComputeLoopState() local
1413 FieldIndexOf( FieldAccess const& access) FieldIndexOf() argument
[all...]
/kernel/linux/linux-6.6/drivers/clocksource/
H A Darm_arch_timer.c126 void arch_timer_reg_write(int access, enum arch_timer_reg reg, u64 val, in arch_timer_reg_write() argument
129 if (access == ARCH_TIMER_MEM_PHYS_ACCESS) { in arch_timer_reg_write()
145 } else if (access == ARCH_TIMER_MEM_VIRT_ACCESS) { in arch_timer_reg_write()
159 arch_timer_reg_write_cp15(access, reg, val); in arch_timer_reg_write()
164 u32 arch_timer_reg_read(int access, enum arch_timer_reg reg, in arch_timer_reg_read() argument
169 if (access == ARCH_TIMER_MEM_PHYS_ACCESS) { in arch_timer_reg_read()
178 } else if (access == ARCH_TIMER_MEM_VIRT_ACCESS) { in arch_timer_reg_read()
188 val = arch_timer_reg_read_cp15(access, reg); in arch_timer_reg_read()
233 * Default to cp15 based access because arm64 uses this function for
421 void erratum_set_next_event_generic(const int access, unsigne argument
665 timer_handler(const int access, struct clock_event_device *evt) timer_handler() argument
709 arch_timer_shutdown(const int access, struct clock_event_device *clk) arch_timer_shutdown() argument
741 set_next_event(const int access, unsigned long evt, struct clock_event_device *clk) set_next_event() argument
787 set_next_event_mem(const int access, unsigned long evt, struct clock_event_device *clk) set_next_event_mem() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/
H A DvktDrawImageObjectUtil.cpp526 void Image::uploadVolume(const tcu::ConstPixelBufferAccess& access, in uploadVolume() argument
537 upload(queue, allocator, layout, offset, access.getWidth(), in uploadVolume()
538 access.getHeight(), access.getDepth(), mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_3D, in uploadVolume()
539 access.getDataPtr()); in uploadVolume()
543 uploadUsingBuffer(queue, allocator, layout, offset, access.getWidth(), in uploadVolume()
544 access.getHeight(), access.getDepth(), mipLevel, arrayElement, aspect, access.getDataPtr()); in uploadVolume()
548 void Image::uploadSurface (const tcu::ConstPixelBufferAccess& access, in uploadSurface() argument
570 uploadSurface1D(const tcu::ConstPixelBufferAccess& access, vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurface1D() argument
592 uploadSurfaceLinear(const tcu::ConstPixelBufferAccess& access, vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurfaceLinear() argument
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawImageObjectUtil.cpp526 void Image::uploadVolume(const tcu::ConstPixelBufferAccess& access, in uploadVolume() argument
537 upload(queue, allocator, layout, offset, access.getWidth(), in uploadVolume()
538 access.getHeight(), access.getDepth(), mipLevel, arrayElement, aspect, vk::VK_IMAGE_TYPE_3D, in uploadVolume()
539 access.getDataPtr()); in uploadVolume()
543 uploadUsingBuffer(queue, allocator, layout, offset, access.getWidth(), in uploadVolume()
544 access.getHeight(), access.getDepth(), mipLevel, arrayElement, aspect, access.getDataPtr()); in uploadVolume()
548 void Image::uploadSurface (const tcu::ConstPixelBufferAccess& access, in uploadSurface() argument
570 uploadSurface1D(const tcu::ConstPixelBufferAccess& access, vk::VkQueue queue, vk::Allocator& allocator, vk::VkImageLayout layout, vk::VkOffset3D offset, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurface1D() argument
592 uploadSurfaceLinear(const tcu::ConstPixelBufferAccess& access, vk::VkOffset3D offset, int width, int height, int depth, vk::VkImageAspectFlagBits aspect, unsigned int mipLevel, unsigned int arrayElement) uploadSurfaceLinear() argument
[all...]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dtrace.h169 TP_PROTO(unsigned long addr, unsigned long access, unsigned long trap),
170 TP_ARGS(addr, access, trap),
173 __field(unsigned long, access)
179 __entry->access = access;
183 TP_printk("hash fault with addr 0x%lx and access = 0x%lx trap = 0x%lx",
184 __entry->addr, __entry->access, __entry->trap)
/kernel/linux/linux-6.6/include/rdma/
H A Dib_umem.h107 size_t size, int access);
147 int fd, int access,
152 int access);
163 int access) in ib_umem_get()
188 int access, in ib_umem_dmabuf_get()
195 size_t size, int fd, int access) in ib_umem_dmabuf_get_pinned()
161 ib_umem_get(struct ib_device *device, unsigned long addr, size_t size, int access) ib_umem_get() argument
185 ib_umem_dmabuf_get(struct ib_device *device, unsigned long offset, size_t size, int fd, int access, struct dma_buf_attach_ops *ops) ib_umem_dmabuf_get() argument
194 ib_umem_dmabuf_get_pinned(struct ib_device *device, unsigned long offset, size_t size, int fd, int access) ib_umem_dmabuf_get_pinned() argument
/kernel/linux/linux-6.6/drivers/hwmon/pmbus/
H A Dmax15301.c34 ktime_t access; /* Chip access time */ member
62 s64 delta = ktime_us_delta(ktime_get(), data->access); in max15301_wait()
84 data->access = ktime_get(); in max15301_read_word_data()
100 data->access = ktime_get(); in max15301_read_byte_data()
120 data->access = ktime_get(); in max15301_write_word_data()
136 data->access = ktime_get(); in max15301_write_byte()
/third_party/node/deps/v8/src/base/
H A Dpage-allocator.cc47 PageAllocator::Permission access) { in AllocatePages()
52 if (access == PageAllocator::kNoAccessWillJitLater) { in AllocatePages()
53 access = PageAllocator::kNoAccess; in AllocatePages()
57 static_cast<base::OS::MemoryPermission>(access)); in AllocatePages()
147 PageAllocator::Permission access) { in SetPermissions()
149 address, size, static_cast<base::OS::MemoryPermission>(access)); in SetPermissions()
46 AllocatePages(void* hint, size_t size, size_t alignment, PageAllocator::Permission access) AllocatePages() argument
146 SetPermissions(void* address, size_t size, PageAllocator::Permission access) SetPermissions() argument
/kernel/linux/linux-5.10/sound/core/
H A Dcontrol.c189 * @access: the default access flags for elements in this control
194 * access permissions (@access). Each element is locked when @file is given.
199 unsigned int access, struct snd_ctl_file *file) in snd_ctl_new()
211 (*kctl)->vd[idx].access = access; in snd_ctl_new()
225 * template. When the access field of ncontrol is 0, it's assumed as
226 * READWRITE access. When the count field is 0, it's assumes as one.
235 unsigned int access; in snd_ctl_new1() local
198 snd_ctl_new(struct snd_kcontrol **kctl, unsigned int count, unsigned int access, struct snd_ctl_file *file) snd_ctl_new() argument
1420 unsigned int access; snd_ctl_elem_add() local
[all...]
/kernel/linux/linux-6.6/drivers/iommu/iommufd/
H A Dselftest.c604 struct iommufd_access *access; member
650 iommufd_access_unpin_pages(staccess->access, item->iova, in iommufd_test_access_unmap()
672 iommufd_access_unpin_pages(staccess->access, item->iova, in iommufd_test_access_item_destroy()
690 if (staccess->access) { in iommufd_test_staccess_release()
692 iommufd_access_destroy(staccess->access); in iommufd_test_staccess_release()
739 struct iommufd_access *access; in iommufd_test_create_access() local
757 access = iommufd_access_create( in iommufd_test_create_access()
763 if (IS_ERR(access)) { in iommufd_test_create_access()
764 rc = PTR_ERR(access); in iommufd_test_create_access()
767 rc = iommufd_access_attach(access, ioas_i in iommufd_test_create_access()
[all...]
/third_party/cups-filters/filter/foomatic-rip/
H A Dspooler.c113 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile()
117 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile()
120 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile()
123 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile()
126 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile()
129 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile()
132 if (access(job->ppdfile, R_OK) == 0) in find_ppdfile()
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
H A Dpaging_tmpl.h19 * We need the mmu code to access both 32-bit and 64-bit guest ptes,
105 static inline void FNAME(protect_clean_gpte)(struct kvm_mmu *mmu, unsigned *access, in protect_clean_gpte() argument
117 /* Allow write access to dirty gptes */ in protect_clean_gpte()
120 *access &= mask; in protect_clean_gpte()
216 unsigned access; in gpte_access() local
218 access = ((gpte & VMX_EPT_WRITABLE_MASK) ? ACC_WRITE_MASK : 0) | in gpte_access()
224 access = gpte & (PT_WRITABLE_MASK | PT_USER_MASK | PT_PRESENT_MASK); in gpte_access()
226 access ^= (gpte >> PT64_NX_SHIFT); in gpte_access()
229 return access; in gpte_access()
310 gpa_t addr, u32 access) in walk_addr_generic()
308 walk_addr_generic(struct guest_walker *walker, struct kvm_vcpu *vcpu, struct kvm_mmu *mmu, gpa_t addr, u32 access) walk_addr_generic() argument
510 walk_addr(struct guest_walker *walker, struct kvm_vcpu *vcpu, gpa_t addr, u32 access) walk_addr() argument
518 walk_addr_nested(struct guest_walker *walker, struct kvm_vcpu *vcpu, gva_t addr, u32 access) walk_addr_nested() argument
637 unsigned int direct_access, access; fetch() local
961 gva_to_gpa(struct kvm_vcpu *vcpu, gpa_t addr, u32 access, struct x86_exception *exception) gva_to_gpa() argument
981 gva_to_gpa_nested(struct kvm_vcpu *vcpu, gpa_t vaddr, u32 access, struct x86_exception *exception) gva_to_gpa_nested() argument
[all...]

Completed in 22 milliseconds

12345678910>>...90