Home
last modified time | relevance | path

Searched refs:access (Results 1 – 25 of 1396) sorted by relevance

12345678910>>...56

/freebsd/sys/sys/
H A Dsysctl.h336 CTASSERT(((access) & CTLTYPE) == 0 || \
346 SYSCTL_ENFORCE_FLAGS(access); \
358 SYSCTL_ENFORCE_FLAGS(access); \
367 SYSCTL_ENFORCE_FLAGS(access); \
369 CTLTYPE_NODE|(access), \
396 CTASSERT(!(access & CTLFLAG_WR)); \
403 CTASSERT(!(access & CTLFLAG_WR)); \
417 CTASSERT(((access) & CTLTYPE) == 0 && \
718 ((access) & CTLTYPE) == 0); \
816 CTASSERT(((access) & CTLTYPE) != 0)
[all …]
/freebsd/tests/sys/cddl/zfs/tests/acl/nontrivial/
H A Dzfs_acl_chmod_rwx_004_pos.ksh61 typeset access=$4
64 if [[ $rflag == "allow" && $access == execute ]]; then
65 rwx_node $user $node $access
72 log_note "SUCCESS: rwx_node $user $node $access"
74 log_fail "FAIL: rwx_node $user $node $access"
77 $log rwx_node $user $node $access
85 typeset access=$2
115 $log rwx_node $ZFS_ACL_OTHER1 $node $access
116 $rlog rwx_node $ZFS_ACL_OTHER2 $node $access
139 for access in ${a_access[@]}; do
[all …]
/freebsd/contrib/kyua/utils/fs/
H A Dauto_cleaners_test.cpp54 ATF_REQUIRE(::access("root", X_OK) == 0); in ATF_TEST_CASE_BODY()
60 ATF_REQUIRE(::access("root", X_OK) == 0); in ATF_TEST_CASE_BODY()
62 ATF_REQUIRE(::access("root", X_OK) == -1); in ATF_TEST_CASE_BODY()
75 ATF_REQUIRE(::access("root", X_OK) == 0); in ATF_TEST_CASE_BODY()
78 ATF_REQUIRE(::access("root", X_OK) == -1); in ATF_TEST_CASE_BODY()
111 ATF_REQUIRE(::access(file.c_str(), R_OK) == 0); in ATF_TEST_CASE_BODY()
117 ATF_REQUIRE(::access(file.c_str(), R_OK) == 0); in ATF_TEST_CASE_BODY()
119 ATF_REQUIRE(::access(file.c_str(), R_OK) == -1); in ATF_TEST_CASE_BODY()
132 ATF_REQUIRE(::access(file.c_str(), R_OK) == 0); in ATF_TEST_CASE_BODY()
135 ATF_REQUIRE(::access(file.c_str(), R_OK) == -1); in ATF_TEST_CASE_BODY()
[all …]
/freebsd/sys/x86/x86/
H A Ddbreg.c55 int access, struct dbreg *d) in dbreg_set_watchreg() argument
62 if (access == DBREG_DR7_EXEC) in dbreg_set_watchreg()
94 d->dr[7] |= DBREG_DR7_SET(watchnum, len, access, in dbreg_set_watchreg()
133 dbreg_set_watchpoint(vm_offset_t addr, vm_size_t size, int access) in dbreg_set_watchpoint() argument
147 if (access != DBREG_DR7_EXEC && access != DBREG_DR7_WRONLY && in dbreg_set_watchpoint()
148 access != DBREG_DR7_RDWR) in dbreg_set_watchpoint()
175 dbreg_set_watchreg(i, addr, wsize, access, d); in dbreg_set_watchpoint()
282 switch (access) { in kdb_cpu_set_watchpoint()
284 access = DBREG_DR7_WRONLY; in kdb_cpu_set_watchpoint()
287 access = DBREG_DR7_RDWR; in kdb_cpu_set_watchpoint()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.h88 lldb::AccessType access; member
97 access(lldb::eAccessPublic), bitfield_width(0), base_offset(0) {} in Member()
99 clang::QualType qt, lldb::AccessType access, uint32_t bitfield_width) in Member()
101 qt(qt), access(access), bitfield_width(bitfield_width), in Member()
107 access, bitfield_width)); in ConvertToStruct()
110 access = lldb::eAccessPublic; in ConvertToStruct()
122 lldb::AccessType access, uint64_t bitfield_width);
130 llvm::codeview::TypeIndex ti, llvm::codeview::MemberAccess access,
133 llvm::codeview::MemberAccess access,
/freebsd/lib/libsys/x86/
H A Dpkru.c47 x86_pkru_get_perm_unsup(u_int keyidx, int *access, int *modify) in x86_pkru_get_perm_unsup() argument
55 x86_pkru_get_perm_hw(u_int keyidx, int *access, int *modify) in x86_pkru_get_perm_hw() argument
65 *access = (pkru & (1 << keyidx)) == 0; in x86_pkru_get_perm_hw()
78 x86_pkru_set_perm_unsup(u_int keyidx, int access, int modify) in x86_pkru_set_perm_unsup() argument
86 x86_pkru_set_perm_hw(u_int keyidx, int access, int modify) in x86_pkru_set_perm_hw() argument
97 if (!access) in x86_pkru_set_perm_hw()
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_access.c76 ATF_REQUIRE(access(path, mode[i]) != 0); in ATF_TC_BODY()
102 ATF_REQUIRE(access(NULL, mode[i]) != 0); in ATF_TC_BODY()
107 ATF_REQUIRE(access((char *)-1, mode[i]) != 0); in ATF_TC_BODY()
127 ATF_REQUIRE(access("/usr", -1) != 0); in ATF_TC_BODY()
155 ATF_REQUIRE(access("/etc/passwd//", mode[i]) != 0); in ATF_TC_BODY()
174 ATF_REQUIRE(access("", mode[i]) != 0); in ATF_TC_BODY()
202 ATF_REQUIRE(access(buf, mode[i]) != 0); in ATF_TC_BODY()
/freebsd/sys/contrib/openzfs/lib/libzfs_core/
H A Dlibzfs_core.abi1522 <data-member access='public'>
1525 <data-member access='public'>
1528 <data-member access='public'>
1531 <data-member access='public'>
1534 <data-member access='public'>
1537 <data-member access='public'>
1540 <data-member access='public'>
1543 <data-member access='public'>
1546 <data-member access='public'>
1549 <data-member access='public'>
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_access.cpp206 if (LIKELY(!(cur.access() & old.access()))) in CheckRaces()
210 LIKELY(cur.access() == old.access() && old.IsRWWeakerOrEqual(typ))) { in CheckRaces()
240 m128 access, AccessType typ) { in ContainsSameAccess() argument
248 const m128 same = _mm_cmpeq_epi32(shadow, access); in ContainsSameAccess()
263 m128 same = _mm_cmpeq_epi32(masked_shadow, access); in ContainsSameAccess()
312 const m128 access_and = _mm_and_si128(access, shadow); in CheckRaces()
313 const m128 access_xor = _mm_xor_si128(access, shadow); in CheckRaces()
399 s.access(), static_cast<u32>(typ)); in DumpShadow()
442 CheckRaces(thr, shadow_mem, cur, shadow, access, typ); in MemoryAccess()
480 CheckRaces(thr, shadow_mem, cur, shadow, access, typ); in MemoryAccess16()
[all …]
/freebsd/tests/sys/fs/fusefs/
H A Dlookup.cc148 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
174 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
195 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
296 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
308 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
325 ASSERT_EQ(-1, access(FULLPATH, F_OK)); in TEST_F()
345 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
347 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
379 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
385 EXPECT_NE(0, access(FULLPATH, F_OK)); in TEST_F()
[all …]
H A Dforget.cc86 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
87 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
139 ASSERT_EQ(0, access(FULLFPATH, F_OK)) << strerror(errno); in TEST_F()
145 ASSERT_EQ(0, access(FULLFPATH, F_OK)) << strerror(errno); in TEST_F()
171 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
177 ASSERT_EQ(0, access(FULLPATH, F_OK)) << strerror(errno); in TEST_F()
/freebsd/usr.sbin/bhyve/amd64/
H A Dtask_switch.c130 seg_desc.access |= usd->sd_xx << 12; in usd_to_seg_desc()
132 seg_desc.access |= usd->sd_gran << 15; in usd_to_seg_desc()
176 uint32_t limit, access; in desc_table_limit_check() local
184 if (SEG_DESC_UNUSABLE(access) || !SEG_DESC_PRESENT(access)) in desc_table_limit_check()
209 uint32_t limit, access; in desc_table_rw() local
715 uint32_t eip, ot_lim, access; in vmexit_task_switch() local
751 nt_type = SEG_DESC_TYPE(nt.access); in vmexit_task_switch()
759 if (!SEG_DESC_PRESENT(nt.access)) { in vmexit_task_switch()
817 &access); in vmexit_task_switch()
819 assert(!SEG_DESC_UNUSABLE(access) && SEG_DESC_PRESENT(access)); in vmexit_task_switch()
[all …]
/freebsd/sys/amd64/vmm/intel/
H A Dvmcs.c256 uint32_t base, limit, access; in vmcs_setdesc() local
258 error = vmcs_seg_desc_encoding(seg, &base, &limit, &access); in vmcs_setdesc()
270 if (access != VMCS_INVALID_ENCODING) { in vmcs_setdesc()
271 if ((error = vmwrite(access, desc->access)) != 0) in vmcs_setdesc()
284 uint32_t base, limit, access; in vmcs_getdesc() local
287 error = vmcs_seg_desc_encoding(seg, &base, &limit, &access); in vmcs_getdesc()
301 if (access != VMCS_INVALID_ENCODING) { in vmcs_getdesc()
302 if ((error = vmread(access, &u64)) != 0) in vmcs_getdesc()
304 desc->access = u64; in vmcs_getdesc()
508 SNAPSHOT_VAR_OR_LEAVE(desc.access, meta, ret, done); in vmcs_snapshot_desc()
[all …]
/freebsd/sys/kern/
H A Dsubr_pctrie.c93 enum pctrie_access access);
146 switch (access) { in pctrie_node_load()
158 pctrie_node_store(smr_pctnode_t *p, void *v, enum pctrie_access access) in pctrie_node_store() argument
160 switch (access) { in pctrie_node_store()
190 enum pctrie_access access) in pctrie_root_store() argument
192 pctrie_node_store((smr_pctnode_t *)&ptree->pt_root, node, access); in pctrie_root_store()
229 struct pctrie_node *child, enum pctrie_access access) in pctrie_addnode() argument
234 pctrie_node_store(&node->pn_child[slot], child, access); in pctrie_addnode()
371 enum pctrie_access access) in _pctrie_lookup() argument
377 node = pctrie_root_load(ptree, smr, access); in _pctrie_lookup()
[all …]
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs.abi1271 <data-member access='public'>
1274 <data-member access='public'>
1295 <data-member access='public'>
1298 <data-member access='public'>
1304 <data-member access='public'>
1307 <data-member access='public'>
1310 <data-member access='public'>
1921 <data-member access='public'>
1924 <data-member access='public'>
1927 <data-member access='public'>
[all …]
/freebsd/sys/dev/cxgbe/firmware/
H A Dt4fw_cfg_uwire.txt177 # NVI_NIC = 4 # NIC access to NPORTS
316 cmask = all # access to all channels
328 cmask = all # access to all channels
340 cmask = all # access to all channels
352 cmask = all # access to all channels
369 cmask = all # access to all channels
397 cmask = all # access to all channels
419 cmask = all # access to all channels
437 cmask = all # access to all channels
456 cmask = all # access to all channels
[all …]
H A Dt5fw_cfg_uwire.txt212 # NVI_NIC = 4 # NIC access to NPORTS
352 cmask = all # access to all channels
365 cmask = all # access to all channels
378 cmask = all # access to all channels
391 cmask = all # access to all channels
410 cmask = all # access to all channels
439 cmask = all # access to all channels
462 cmask = all # access to all channels
481 cmask = all # access to all channels
501 cmask = all # access to all channels
[all …]
/freebsd/tools/regression/security/access/
H A Dtestaccess.c217 error = access("test1", R_OK); in main()
246 error = access("test2", R_OK); in main()
262 error = access("test3", R_OK); in main()
300 error = access("test4", R_OK); in main()
314 error = access("test5", R_OK); in main()
330 error = access("test6", R_OK); in main()
/freebsd/sys/contrib/device-tree/Bindings/bus/
H A Dintel,ixp4xx-expansion-bus-controller.yaml10 The IXP4xx expansion bus controller handles access to devices on the
37 description: The IXP4xx has a peculiar MMIO access scheme, as it changes
38 the access pattern for words (swizzling) on the bus depending on whether
92 intel,ixp4xx-eb-byte-access-on-halfword:
93 description: Allow byte read access on half word devices.
117 intel,ixp4xx-eb-byte-access:
153 intel,ixp4xx-eb-byte-access-on-halfword = <1>;
155 intel,ixp4xx-eb-byte-access = <0>;
166 intel,ixp4xx-eb-byte-access = <1>;
/freebsd/sys/amd64/vmm/amd/
H A Dvmcb.c402 attrib = ((desc->access & 0xF000) >> 4) | (desc->access & 0xFF); in vmcb_setdesc()
403 if (SEG_DESC_UNUSABLE(desc->access)) { in vmcb_setdesc()
443 desc->access = 0; in vmcb_getdesc()
447 desc->access = ((seg->attrib & 0xF00) << 4) | in vmcb_getdesc()
461 if ((desc->access & 0x80) == 0) in vmcb_getdesc()
462 desc->access |= 0x10000; /* Unusable segment */ in vmcb_getdesc()
516 SNAPSHOT_VAR_OR_LEAVE(desc.access, meta, ret, done); in vmcb_snapshot_desc()
520 SNAPSHOT_VAR_OR_LEAVE(desc.access, meta, ret, done); in vmcb_snapshot_desc()
/freebsd/tools/test/stress2/misc/
H A Dpkru.sh53 int x86_pkru_get_perm(unsigned int keyidx, int *access, int *modify);
54 int x86_pkru_set_perm(unsigned int keyidx, int access, int modify);
112 int x86_pkru_get_perm(unsigned int keyidx, int *access, int *modify);
113 int x86_pkru_set_perm(unsigned int keyidx, int access, int modify);
176 int x86_pkru_get_perm(unsigned int keyidx, int *access, int *modify);
177 int x86_pkru_set_perm(unsigned int keyidx, int access, int modify);
265 int x86_pkru_get_perm(unsigned int keyidx, int *access, int *modify);
266 int x86_pkru_set_perm(unsigned int keyidx, int access, int modify);
404 int access, error, modify, orig_access, orig_modify;
409 access = check_access ? 0 : 1;
[all …]
/freebsd/lib/libsys/i386/
H A Di386_set_watch.c36 int access, struct dbreg * d) in i386_set_watch() argument
51 switch (access) { in i386_set_watch()
71 mask |= access; in i386_set_watch()
/freebsd/sys/contrib/device-tree/Bindings/spi/
H A Dsprd,spi-adi.yaml15 ADI is the abbreviation of Anolog-Digital interface, which is used to access
21 48 hardware channels to access analog chip. For 2 software read/write channels,
22 users should set ADI registers to access analog chip. For hardware channels,
25 then users can access the mapped analog chip address by this hardware channel
31 the analog chip address where user want to access by hardware components.
33 Since we have multi-subsystems will use unique ADI to access analog chip, when
76 - description: The analog chip address where user want to access by
/freebsd/sys/contrib/device-tree/Bindings/memory-controllers/
H A Dintel,ixp4xx-expansion-bus-controller.yaml10 The IXP4xx expansion bus controller handles access to devices on the
37 description: The IXP4xx has a peculiar MMIO access scheme, as it changes
38 the access pattern for words (swizzling) on the bus depending on whether
92 intel,ixp4xx-eb-byte-access-on-halfword = <1>;
94 intel,ixp4xx-eb-byte-access = <0>;
105 intel,ixp4xx-eb-byte-access = <1>;
/freebsd/sys/dev/ocs_fc/
H A Docs_mgmt.h96 extern void ocs_mgmt_emit_property_name(ocs_textbuf_t *textbuf, int access, const char *name);
97 extern void ocs_mgmt_emit_string(ocs_textbuf_t *textbuf, int access, const char *name, const char *…
99 extern void ocs_mgmt_emit_int(ocs_textbuf_t *textbuf, int access, const char *name, const char *fmt…
100 extern void ocs_mgmt_emit_boolean(ocs_textbuf_t *textbuf, int access, const char *name, const int v…

12345678910>>...56