Home
last modified time | relevance | path

Searched refs:access (Results 676 - 700 of 2256) sorted by relevance

1...<<21222324252627282930>>...91

/third_party/toybox/porting/liteos_a/toys/posix/
H A Dtouch.c18 Update the access and modification times of each FILE to the current time.
70 if (access(s, F_OK) && (-1!=(fd = open(s, O_CREAT, 0666)))) { in touch_main()
/third_party/toybox/toys/posix/
H A Dtouch.c18 Update the access and modification times of each FILE to the current time.
20 -a Change access time
77 if (access(s, F_OK) && (-1!=(fd = open(s, O_CREAT, 0666)))) { in touch_main()
/kernel/linux/linux-6.6/fs/nfsd/
H A Dnfs4state.c405 * st_{access,deny}_bmap field of the stateid, in order to track not
415 * track of access/deny bit combinations; so, e.g., we allow:
431 unsigned int access = 0; in bmap_to_share_mode() local
435 access |= i; in bmap_to_share_mode()
437 return access; in bmap_to_share_mode()
440 /* set share access for a given stateid */
442 set_access(u32 access, struct nfs4_ol_stateid *stp) in set_access() argument
444 unsigned char mask = 1 << access; in set_access()
446 WARN_ON_ONCE(access > NFS4_SHARE_ACCESS_BOTH); in set_access()
450 /* clear share access fo
452 clear_access(u32 access, struct nfs4_ol_stateid *stp) clear_access() argument
462 test_access(u32 access, struct nfs4_ol_stateid *stp) test_access() argument
498 nfs4_access_to_omode(u32 access) nfs4_access_to_omode() argument
747 nfs4_resolve_deny_conflicts_locked(struct nfs4_file *fp, bool new_stp, struct nfs4_ol_stateid *stp, u32 access, bool share_access) nfs4_resolve_deny_conflicts_locked() argument
782 __nfs4_file_get_access(struct nfs4_file *fp, u32 access) __nfs4_file_get_access() argument
793 nfs4_file_get_access(struct nfs4_file *fp, u32 access) nfs4_file_get_access() argument
847 nfs4_file_put_access(struct nfs4_file *fp, u32 access) nfs4_file_put_access() argument
2619 unsigned int access, deny; nfs4_show_open() local
5201 int access = nfs4_access_to_access(open->op_share_access); nfs4_get_vfs_file() local
6922 nfs4_stateid_downgrade_bit(struct nfs4_ol_stateid *stp, u32 access) nfs4_stateid_downgrade_bit() argument
7418 get_lock_access(struct nfs4_ol_stateid *lock_stp, u32 access) get_lock_access() argument
[all...]
/kernel/linux/linux-5.10/arch/arm/mm/
H A Dproc-xsc3.S417 mrc p15, 0, r5, c15, c1, 0 @ CP access reg
435 mcr p15, 0, r5, c15, c1, 0 @ CP access reg
457 mov r0, #1 << 6 @ cp6 access for early sched_clock
458 mcr p15, 0, r0, c15, c1, 0 @ write CP access register
/kernel/linux/linux-6.6/arch/arm/mm/
H A Dproc-xsc3.S417 mrc p15, 0, r5, c15, c1, 0 @ CP access reg
435 mcr p15, 0, r5, c15, c1, 0 @ CP access reg
457 mov r0, #1 << 6 @ cp6 access for early sched_clock
458 mcr p15, 0, r0, c15, c1, 0 @ write CP access register
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Drdma_core.c65 * When a shared access is required, we use a positive counter. Each in uverbs_try_lock_object()
66 * shared access request checks that the value != -1 and increment it. in uverbs_try_lock_object()
67 * Exclusive access is required for operations like write or destroy. in uverbs_try_lock_object()
68 * In exclusive access mode, we check that the counter is zero (nobody in uverbs_try_lock_object()
69 * claimed this object) and we set it to -1. Releasing a shared access in uverbs_try_lock_object()
71 * access locks, since only a single one of them is is allowed in uverbs_try_lock_object()
711 * read access or zero it in case of exclusive access. See in rdma_lookup_put_uobject()
925 uverbs_get_uobject_from_file(u16 object_id, enum uverbs_obj_access access, in uverbs_get_uobject_from_file() argument
931 switch (access) { in uverbs_get_uobject_from_file()
950 uverbs_finalize_object(struct ib_uobject *uobj, enum uverbs_obj_access access, bool hw_obj_valid, bool commit, struct uverbs_attr_bundle *attrs) uverbs_finalize_object() argument
[all...]
/kernel/linux/linux-5.10/sound/pci/au88x0/
H A Dau88x0_pcm.c118 kctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in vortex_notify_pcm_vol_change()
120 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in vortex_notify_pcm_vol_change()
509 .access = SNDRV_CTL_ELEM_ACCESS_READ,
585 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE |
/kernel/linux/linux-5.10/sound/firewire/bebob/
H A Dbebob_maudio.c402 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
435 .access = SNDRV_CTL_ELEM_ACCESS_READ,
527 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
583 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
/kernel/linux/linux-5.10/sound/core/
H A Dinfo.c113 mutex_lock(&entry->access); in snd_info_entry_llseek()
143 mutex_unlock(&entry->access); in snd_info_entry_llseek()
321 mutex_lock(&entry->access); in snd_info_text_entry_write()
346 mutex_unlock(&entry->access); in snd_info_text_entry_write()
701 mutex_init(&entry->access); in snd_info_create_entry()
707 mutex_lock(&parent->access); in snd_info_create_entry()
709 mutex_unlock(&parent->access); in snd_info_create_entry()
790 mutex_lock(&p->access); in snd_info_free_entry()
792 mutex_unlock(&p->access); in snd_info_free_entry()
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Drdma_core.c65 * When a shared access is required, we use a positive counter. Each in uverbs_try_lock_object()
66 * shared access request checks that the value != -1 and increment it. in uverbs_try_lock_object()
67 * Exclusive access is required for operations like write or destroy. in uverbs_try_lock_object()
68 * In exclusive access mode, we check that the counter is zero (nobody in uverbs_try_lock_object()
69 * claimed this object) and we set it to -1. Releasing a shared access in uverbs_try_lock_object()
71 * access locks, since only a single one of them is allowed in uverbs_try_lock_object()
747 * read access or zero it in case of exclusive access. See in rdma_lookup_put_uobject()
960 uverbs_get_uobject_from_file(u16 object_id, enum uverbs_obj_access access, in uverbs_get_uobject_from_file() argument
966 switch (access) { in uverbs_get_uobject_from_file()
985 uverbs_finalize_object(struct ib_uobject *uobj, enum uverbs_obj_access access, bool hw_obj_valid, bool commit, struct uverbs_attr_bundle *attrs) uverbs_finalize_object() argument
[all...]
/kernel/linux/linux-6.6/sound/core/
H A Dinfo.c112 mutex_lock(&entry->access); in snd_info_entry_llseek()
142 mutex_unlock(&entry->access); in snd_info_entry_llseek()
320 mutex_lock(&entry->access); in snd_info_text_entry_write()
345 mutex_unlock(&entry->access); in snd_info_text_entry_write()
700 mutex_init(&entry->access); in snd_info_create_entry()
706 mutex_lock(&parent->access); in snd_info_create_entry()
708 mutex_unlock(&parent->access); in snd_info_create_entry()
789 mutex_lock(&p->access); in snd_info_free_entry()
791 mutex_unlock(&p->access); in snd_info_free_entry()
/kernel/linux/linux-6.6/sound/firewire/bebob/
H A Dbebob_maudio.c402 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
435 .access = SNDRV_CTL_ELEM_ACCESS_READ,
527 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
583 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
/kernel/linux/linux-6.6/sound/pci/au88x0/
H A Dau88x0_pcm.c118 kctl->vd[0].access &= ~SNDRV_CTL_ELEM_ACCESS_INACTIVE; in vortex_notify_pcm_vol_change()
120 kctl->vd[0].access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE; in vortex_notify_pcm_vol_change()
509 .access = SNDRV_CTL_ELEM_ACCESS_READ,
585 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE |
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dhda_local.h35 .access = SNDRV_CTL_ELEM_ACCESS_READWRITE | \
134 unsigned int access, struct snd_kcontrol **ctl_ret);
135 #define snd_hda_add_vmaster(codec, name, tlv, followers, suffix, access) \
136 __snd_hda_add_vmaster(codec, name, tlv, followers, suffix, true, access, NULL)
/third_party/alsa-lib/src/pcm/
H A Dpcm_plugin.c530 pcm->access != SND_PCM_ACCESS_RW_INTERLEAVED && in snd_pcm_plugin_sync_hw_ptr()
531 pcm->access != SND_PCM_ACCESS_RW_NONINTERLEAVED) in snd_pcm_plugin_sync_hw_ptr()
583 pcm->access != SND_PCM_ACCESS_RW_INTERLEAVED && in snd_pcm_plugin_may_wait_for_avail_min_conv()
584 pcm->access != SND_PCM_ACCESS_RW_NONINTERLEAVED) { in snd_pcm_plugin_may_wait_for_avail_min_conv()
585 /* mmap access on capture device already consumes data from in snd_pcm_plugin_may_wait_for_avail_min_conv()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_nir_apply_pipeline_layout.c148 nir_ssa_def *desc = nir_build_load_global(b, 1, 64, addr, .access = ACCESS_NON_WRITEABLE); in visit_load_vulkan_descriptor()
181 unsigned access) in load_buffer_descriptor()
197 if (access & ACCESS_NON_UNIFORM) in load_buffer_descriptor()
215 nir_build_load_global(b, 4, 32, ptr, .access = ACCESS_NON_WRITEABLE | ACCESS_CAN_REORDER, in visit_get_ssbo_size()
180 load_buffer_descriptor(nir_builder *b, apply_layout_state *state, nir_ssa_def *rsrc, unsigned access) load_buffer_descriptor() argument
/third_party/ltp/testcases/kernel/mem/lib/
H A Dmem.c229 if (access(PATH_KSM, F_OK) == -1 || lite == 1) { in testoom()
329 if (access(PATH_HUGEPAGES, F_OK)) in check_hugepage()
496 if (access(PATH_KSM "max_page_sharing", F_OK) == 0) { in create_same_memory()
638 return access(pathbuf, F_OK) == 0; in path_exist()
/third_party/mesa3d/src/gallium/drivers/d3d12/
H A Dd3d12_query.cpp209 unsigned access = PIPE_MAP_READ;
213 access |= PIPE_MAP_WRITE;
215 access |= PIPE_MAP_DONTBLOCK;
218 access, &transfer);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/descriptor_indexing/
H A DvktDescriptorSetsIndexingTestsUtils.cpp457 VkAccessFlags access[2]; in pipelineAccessFromStage() local
458 VkAccessFlags& readAccess = access[1]; in pipelineAccessFromStage()
459 VkAccessFlags& writeAccess = access[0]; in pipelineAccessFromStage()
518 return access[readORwrite ? 1 : 0]; in pipelineAccessFromStage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/descriptor_indexing/
H A DvktDescriptorSetsIndexingTestsUtils.cpp457 VkAccessFlags access[2]; in pipelineAccessFromStage() local
458 VkAccessFlags& readAccess = access[1]; in pipelineAccessFromStage()
459 VkAccessFlags& writeAccess = access[0]; in pipelineAccessFromStage()
518 return access[readORwrite ? 1 : 0]; in pipelineAccessFromStage()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/
H A DvktDrawNegativeViewportHeightTests.cpp326 const tcu::PixelBufferAccess access (image->getAccess()); in generateReferenceImage()
331 tcu::clear(access, blue); in generateReferenceImage()
351 access.setPixel(color, x, y); in generateReferenceImage()
361 access.setPixel(color, x, y); in generateReferenceImage()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
H A DvktMeshShaderMiscTestsEXT.cpp202 const auto access = output->getAccess(); in generateSolidRefLevel() local
205 tcu::clear(access, color); in generateSolidRefLevel()
435 const auto access = m_referenceLevel->getAccess(); in generateReferenceLevel() local
444 access.setPixel(refColor, x, y); in generateReferenceLevel()
697 const auto access = m_referenceLevel->getAccess(); in generateReferenceLevel() local
699 access.setPixel(tcu::Vec4(0.0f, 1.0f, 1.0f, 1.0f), halfWidth, halfHeight); in generateReferenceLevel()
766 const auto access = m_referenceLevel->getAccess(); in generateReferenceLevel() local
770 access.setPixel(tcu::Vec4(0.0f, 1.0f, 1.0f, 1.0f), x, halfHeight); in generateReferenceLevel()
841 const auto access = m_referenceLevel->getAccess(); in generateReferenceLevel() local
844 access in generateReferenceLevel()
930 const auto access = m_referenceLevel->getAccess(); generateReferenceLevel() local
1026 const auto access = m_referenceLevel->getAccess(); generateReferenceLevel() local
2297 const auto access = m_referenceLevel->getAccess(); generateReferenceLevel() local
3304 const auto access = m_referenceLevel->getAccess(); generateReferenceLevel() local
3567 const auto access = m_referenceLevel->getAccess(); generateReferenceLevel() local
4631 const auto access = m_referenceLevel->getAccess(); generateReferenceLevel() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
H A DvktMeshShaderMiscTestsEXT.cpp202 const auto access = output->getAccess(); in generateSolidRefLevel() local
205 tcu::clear(access, color); in generateSolidRefLevel()
435 const auto access = m_referenceLevel->getAccess(); in generateReferenceLevel() local
444 access.setPixel(refColor, x, y); in generateReferenceLevel()
679 const auto access = m_referenceLevel->getAccess(); in generateReferenceLevel() local
681 access.setPixel(tcu::Vec4(0.0f, 1.0f, 1.0f, 1.0f), halfWidth, halfHeight); in generateReferenceLevel()
748 const auto access = m_referenceLevel->getAccess(); in generateReferenceLevel() local
752 access.setPixel(tcu::Vec4(0.0f, 1.0f, 1.0f, 1.0f), x, halfHeight); in generateReferenceLevel()
823 const auto access = m_referenceLevel->getAccess(); in generateReferenceLevel() local
826 access in generateReferenceLevel()
912 const auto access = m_referenceLevel->getAccess(); generateReferenceLevel() local
1008 const auto access = m_referenceLevel->getAccess(); generateReferenceLevel() local
2279 const auto access = m_referenceLevel->getAccess(); generateReferenceLevel() local
3286 const auto access = m_referenceLevel->getAccess(); generateReferenceLevel() local
3549 const auto access = m_referenceLevel->getAccess(); generateReferenceLevel() local
4628 const auto access = m_referenceLevel->getAccess(); generateReferenceLevel() local
[all...]
/kernel/linux/linux-5.10/sound/drivers/vx/
H A Dvx_mixer.c34 * Data type used to access the Codec
447 .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
709 .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
727 .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
796 .access = SNDRV_CTL_ELEM_ACCESS_READ,
870 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
878 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
887 .access = SNDRV_CTL_ELEM_ACCESS_READ | SNDRV_CTL_ELEM_ACCESS_VOLATILE,
/kernel/linux/linux-5.10/sound/pci/pcxhr/
H A Dpcxhr_mixer.c177 .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
402 .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
501 .access = (SNDRV_CTL_ELEM_ACCESS_READWRITE |
833 .access = SNDRV_CTL_ELEM_ACCESS_READ,
1008 .access = SNDRV_CTL_ELEM_ACCESS_READ,
1024 .access = SNDRV_CTL_ELEM_ACCESS_READ,
1031 .access = SNDRV_CTL_ELEM_ACCESS_READ,

Completed in 47 milliseconds

1...<<21222324252627282930>>...91