Home
last modified time | relevance | path

Searched refs:uname (Results 1 - 25 of 504) sorted by relevance

12345678910>>...21

/kernel/linux/linux-5.10/include/linux/
H A Dpage-flags.h274 #define TESTPAGEFLAG(uname, lname, policy) \
275 static __always_inline int Page##uname(struct page *page) \
278 #define SETPAGEFLAG(uname, lname, policy) \
279 static __always_inline void SetPage##uname(struct page *page) \
282 #define CLEARPAGEFLAG(uname, lname, policy) \
283 static __always_inline void ClearPage##uname(struct page *page) \
286 #define __SETPAGEFLAG(uname, lname, policy) \
287 static __always_inline void __SetPage##uname(struct page *page) \
290 #define __CLEARPAGEFLAG(uname, lname, policy) \
291 static __always_inline void __ClearPage##uname(struc
[all...]
H A Dof_fdt.h45 extern int of_scan_flat_dt(int (*it)(unsigned long node, const char *uname,
50 const char *uname,
54 const char *uname);
61 extern int early_init_dt_scan_chosen(unsigned long node, const char *uname,
63 extern int early_init_dt_scan_memory(unsigned long node, const char *uname,
76 extern int early_init_dt_scan_root(unsigned long node, const char *uname,
/kernel/linux/linux-6.6/include/linux/
H A Dpage-flags.h380 #define TESTPAGEFLAG(uname, lname, policy) \
383 static __always_inline int Page##uname(struct page *page) \
386 #define SETPAGEFLAG(uname, lname, policy) \
390 static __always_inline void SetPage##uname(struct page *page) \
393 #define CLEARPAGEFLAG(uname, lname, policy) \
397 static __always_inline void ClearPage##uname(struct page *page) \
400 #define __SETPAGEFLAG(uname, lname, policy) \
404 static __always_inline void __SetPage##uname(struct page *page) \
407 #define __CLEARPAGEFLAG(uname, lname, policy) \
411 static __always_inline void __ClearPage##uname(struc
[all...]
/third_party/python/Lib/test/
H A Dtest_platform.py216 res = platform.uname()
233 res = platform.uname()
241 res = platform.uname()
254 uname = platform.uname()
255 self.assertEqual(copy.copy(uname), uname)
256 self.assertEqual(copy.deepcopy(uname), uname)
259 orig = platform.uname()
[all...]
/third_party/skia/third_party/externals/microhttpd/
H A Dconfig.guess124 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
126 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
130 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
131 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
132 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
133 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
288 # 1.2 uses "1.2" for uname -r.
296 # Should we change UNAME_MACHINE based on the output of uname instead
345 case `/usr/bin/uname -p` in
385 UNAME_RELEASE=`uname
[all...]
/kernel/liteos_a/testsuites/unittest/libc/misc/full/
H A Dmisc_test_006.cpp43 ret = uname((struct utsname *)NULL); in TestCase()
47 ret = uname(INVALID_ADDR_FIRST_PAGE); in TestCase()
51 ret = uname(INVALID_ADDR_USER_ADDR); in TestCase()
55 ret = uname(INVALID_ADDR_KERNEL_READONLY_ADDR); in TestCase()
59 ret = uname(&name); in TestCase()
/third_party/rust/crates/nix/test/common/
H A Dmod.rs122 let uname = nix::sys::utsname::uname().unwrap();
123 println!("{}", uname.sysname().to_str().unwrap());
124 println!("{}", uname.nodename().to_str().unwrap());
125 println!("{}", uname.release().to_str().unwrap());
126 println!("{}", uname.version().to_str().unwrap());
127 println!("{}", uname.machine().to_str().unwrap());
130 let fixed_release = &uname.release().to_str().unwrap().to_string()
/third_party/python/Lib/distutils/tests/
H A Dtest_util.py34 # patching os.uname
35 if hasattr(os, 'uname'):
36 self.uname = os.uname
37 self._uname = os.uname()
39 self.uname = None
42 os.uname = self._get_uname
53 if self.uname is not None:
54 os.uname = self.uname
[all...]
/third_party/rust/crates/nix/src/sys/
H A Dutsname.rs8 /// Describes the running system. Return type of [`uname`].
47 pub fn uname() -> Result<UtsName> { in uname() functions
50 Errno::result(libc::uname(ret.as_mut_ptr()))?; in uname()
71 assert_eq!(super::uname().unwrap().sysname(), "Linux"); in test_uname_linux()
77 assert_eq!(super::uname().unwrap().sysname(), "Darwin"); in test_uname_darwin()
83 assert_eq!(super::uname().unwrap().sysname(), "FreeBSD"); in test_uname_freebsd()
/third_party/lame/
H A Dconfig.guess127 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
129 if test -f /.attbin/uname ; then
133 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
134 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
135 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
136 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
181 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
331 # 1.2 uses "1.2" for uname -r.
379 case `/usr/bin/uname -p` in
414 UNAME_RELEASE=`uname
[all...]
/kernel/linux/linux-5.10/drivers/of/
H A Dfdt.c476 const char *uname) in __reserved_mem_reserve_reg()
491 uname); in __reserved_mem_reserve_reg()
504 uname, &base, (unsigned long)(size / SZ_1M)); in __reserved_mem_reserve_reg()
507 uname, &base, (unsigned long)(size / SZ_1M)); in __reserved_mem_reserve_reg()
511 fdt_reserved_mem_save_node(node, uname, base, size); in __reserved_mem_reserve_reg()
544 static int __init __fdt_scan_reserved_mem(unsigned long node, const char *uname, in __fdt_scan_reserved_mem() argument
550 if (!found && depth == 1 && strcmp(uname, "reserved-memory") == 0) { in __fdt_scan_reserved_mem()
570 err = __reserved_mem_reserve_reg(node, uname); in __fdt_scan_reserved_mem()
572 fdt_reserved_mem_save_node(node, uname, 0, 0); in __fdt_scan_reserved_mem()
629 const char *uname, in in of_scan_flat_dt()
475 __reserved_mem_reserve_reg(unsigned long node, const char *uname) __reserved_mem_reserve_reg() argument
628 of_scan_flat_dt(int (*it)(unsigned long node, const char *uname, int depth, void *data), void *data) of_scan_flat_dt() argument
657 of_scan_flat_dt_subnodes(unsigned long parent, int (*it)(unsigned long node, const char *uname, void *data), void *data) of_scan_flat_dt_subnodes() argument
686 of_get_flat_dt_subnode_by_name(unsigned long node, const char *uname) of_get_flat_dt_subnode_by_name() argument
955 early_init_dt_scan_root(unsigned long node, const char *uname, int depth, void *data) early_init_dt_scan_root() argument
991 early_init_dt_scan_memory(unsigned long node, const char *uname, int depth, void *data) early_init_dt_scan_memory() argument
1038 early_init_dt_scan_chosen(unsigned long node, const char *uname, int depth, void *data) early_init_dt_scan_chosen() argument
[all...]
H A Dof_reserved_mem.c63 void __init fdt_reserved_mem_save_node(unsigned long node, const char *uname, in fdt_reserved_mem_save_node() argument
74 rmem->name = uname; in fdt_reserved_mem_save_node()
80 cma_reserved_mem_array[cma_reserved_mem_count] = uname; in fdt_reserved_mem_save_node()
94 const char *uname, phys_addr_t *res_base, phys_addr_t *res_size) in __reserved_mem_alloc_size()
109 pr_err("invalid size property in '%s' node.\n", uname); in __reserved_mem_alloc_size()
118 uname); in __reserved_mem_alloc_size()
142 uname); in __reserved_mem_alloc_size()
157 uname, &base, in __reserved_mem_alloc_size()
169 uname, &base, (unsigned long)(size / SZ_1M)); in __reserved_mem_alloc_size()
173 pr_info("failed to allocate memory for node '%s'\n", uname); in __reserved_mem_alloc_size()
93 __reserved_mem_alloc_size(unsigned long node, const char *uname, phys_addr_t *res_base, phys_addr_t *res_size) __reserved_mem_alloc_size() argument
[all...]
/kernel/liteos_a/testsuites/unittest/container/smoke/
H A DIt_uts_container_002.cpp43 ret = uname(&newName); in ChildFunc()
55 ret = uname(&newName1); in ChildFunc()
76 ret = uname(&oldName); in ItUtsContainer002()
92 ret = uname(&oldName1); in ItUtsContainer002()
H A DIt_uts_container_004.cpp44 ret = uname(&newName); in ChildFunc()
56 ret = uname(&newName1); in ChildFunc()
77 ret = uname(&oldName); in ItUtsContainer004()
92 ret = uname(&oldName1); in ItUtsContainer004()
/third_party/eudev/
H A Dconfig.guess124 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
126 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
130 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
131 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
132 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
133 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
171 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
321 # 1.2 uses "1.2" for uname -r.
369 case `/usr/bin/uname -p` in
409 UNAME_RELEASE=`uname
[all...]
/third_party/skia/third_party/externals/libpng/
H A Dconfig.guess124 # This is needed to find uname on a Pyramid OSx when run in the BSD universe.
126 if (test -f /.attbin/uname) >/dev/null 2>&1 ; then
130 UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
131 UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
132 UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
133 UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
178 UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
328 # 1.2 uses "1.2" for uname -r.
376 case `/usr/bin/uname -p` in
416 UNAME_RELEASE=`uname
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/digests/
H A Dsha3_prov.c192 # define SHA3_SET_MD(uname, typ) \
193 if (S390_SHA3_CAPABLE(uname)) { \
194 ctx->pad = S390X_##uname; \
200 # define SHA3_SET_MD(uname, typ) ctx->meth = sha3_generic_md;
203 #define SHA3_newctx(typ, uname, name, bitlen, pad) \
213 SHA3_SET_MD(uname, typ) \
217 #define KMAC_newctx(uname, bitlen, pad) \
218 static OSSL_FUNC_digest_newctx_fn uname##_newctx; \
219 static void *uname##_newctx(void *provctx) \
/third_party/openssl/providers/implementations/digests/
H A Dsha3_prov.c192 # define SHA3_SET_MD(uname, typ) \
193 if (S390_SHA3_CAPABLE(uname)) { \
194 ctx->pad = S390X_##uname; \
200 # define SHA3_SET_MD(uname, typ) ctx->meth = sha3_generic_md;
203 #define SHA3_newctx(typ, uname, name, bitlen, pad) \
213 SHA3_SET_MD(uname, typ) \
217 #define KMAC_newctx(uname, bitlen, pad) \
218 static OSSL_FUNC_digest_newctx_fn uname##_newctx; \
219 static void *uname##_newctx(void *provctx) \
/kernel/linux/linux-6.6/tools/perf/tests/shell/
H A Dtest_intel_pt.sh113 perf_record_no_decode -o "${perfdatafile}" -e intel_pt//u -C 0 -- taskset --cpu-list 1 uname
438 perf_record_no_decode -o "${perfdatafile}" -e intel_pt/mtc=0,tsc=0/u uname
459 perf_record_no_decode -o "${perfdatafile}" -e intel_pt/branch=0/u uname
482 perf_record_no_decode -o "${perfdatafile}" -e intel_pt/cyc/u uname
490 perf_record_no_decode -o "${perfdatafile}" -e intel_pt//u uname
505 if ! perf_record_no_decode -o "${perfdatafile}" --aux-sample=8192 -e '{intel_pt//u,branch-misses:u}' uname ; then
510 if perf_record_no_decode -o "${perfdatafile}" -e br_misp_retired.all_branches:u uname ; then
511 if ! perf_record_no_decode -o "${perfdatafile}" -e '{intel_pt//,br_misp_retired.all_branches/aux-sample-size=8192/}:u' uname ; then
525 if ! perf_record_no_decode -o "${perfdatafile}" -e intel_pt//k -m1,128 uname ; then
562 perf_record_no_bpf -o "${perfdatafile}" --aux-sample -e '{intel_pt//,cycles}:u' uname
[all...]
/kernel/linux/linux-5.10/fs/fat/
H A Dnamei_vfat.c328 wchar_t *uname, int ulen, in vfat_create_shortname()
345 ext_start = end = &uname[ulen]; in vfat_create_shortname()
346 while (--ext_start >= uname) { in vfat_create_shortname()
356 if (ext_start == uname - 1) { in vfat_create_shortname()
365 name_start = &uname[0]; in vfat_create_shortname()
372 sz = ext_start - uname; in vfat_create_shortname()
382 for (baselen = i = 0, p = base, ip = uname; i < sz; i++, ip++) { in vfat_create_shortname()
399 if ((chi < chl - 1) || (ip + 1) - uname < sz) in vfat_create_shortname()
590 wchar_t *uname; in vfat_build_slots() local
598 uname in vfat_build_slots()
327 vfat_create_shortname(struct inode *dir, struct nls_table *nls, wchar_t *uname, int ulen, unsigned char *name_res, unsigned char *lcase) vfat_create_shortname() argument
[all...]
/third_party/libuv/test/
H A Dtest-platform-output.c39 uv_utsname_t uname; in TEST_IMPL() local
192 err = uv_os_uname(&uname); in TEST_IMPL()
195 printf(" sysname: %s\n", uname.sysname); in TEST_IMPL()
196 printf(" release: %s\n", uname.release); in TEST_IMPL()
197 printf(" version: %s\n", uname.version); in TEST_IMPL()
198 printf(" machine: %s\n", uname.machine); in TEST_IMPL()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Ddt_cpu_ftrs.c858 static int __init fdt_find_cpu_features(unsigned long node, const char *uname, in fdt_find_cpu_features() argument
897 const char *uname, int i) in process_cpufeatures_node()
907 f->name = uname; in process_cpufeatures_node()
911 pr_warn("%s: missing isa property\n", uname); in process_cpufeatures_node()
918 pr_warn("%s: missing usable-privilege property", uname); in process_cpufeatures_node()
953 pr_warn("%s: HV feature passed to guest\n", uname); in process_cpufeatures_node()
958 pr_warn("%s: unwanted hfscr_bit_nr\n", uname); in process_cpufeatures_node()
964 pr_warn("%s: missing hfscr_bit_nr\n", uname); in process_cpufeatures_node()
970 pr_warn("%s: unwanted hv_support/hfscr_bit_nr\n", uname); in process_cpufeatures_node()
977 pr_warn("%s: unwanted fscr_bit_nr\n", uname); in process_cpufeatures_node()
896 process_cpufeatures_node(unsigned long node, const char *uname, int i) process_cpufeatures_node() argument
1053 scan_cpufeatures_subnodes(unsigned long node, const char *uname, void *data) scan_cpufeatures_subnodes() argument
1066 count_cpufeatures_subnodes(unsigned long node, const char *uname, void *data) count_cpufeatures_subnodes() argument
1077 dt_cpu_ftrs_scan_callback(unsigned long node, const char *uname, int depth, void *data) dt_cpu_ftrs_scan_callback() argument
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Ddt_cpu_ftrs.c840 static int __init fdt_find_cpu_features(unsigned long node, const char *uname, in fdt_find_cpu_features() argument
879 const char *uname, int i) in process_cpufeatures_node()
889 f->name = uname; in process_cpufeatures_node()
893 pr_warn("%s: missing isa property\n", uname); in process_cpufeatures_node()
900 pr_warn("%s: missing usable-privilege property", uname); in process_cpufeatures_node()
935 pr_warn("%s: HV feature passed to guest\n", uname); in process_cpufeatures_node()
940 pr_warn("%s: unwanted hfscr_bit_nr\n", uname); in process_cpufeatures_node()
946 pr_warn("%s: missing hfscr_bit_nr\n", uname); in process_cpufeatures_node()
952 pr_warn("%s: unwanted hv_support/hfscr_bit_nr\n", uname); in process_cpufeatures_node()
959 pr_warn("%s: unwanted fscr_bit_nr\n", uname); in process_cpufeatures_node()
878 process_cpufeatures_node(unsigned long node, const char *uname, int i) process_cpufeatures_node() argument
1035 scan_cpufeatures_subnodes(unsigned long node, const char *uname, void *data) scan_cpufeatures_subnodes() argument
1048 count_cpufeatures_subnodes(unsigned long node, const char *uname, void *data) count_cpufeatures_subnodes() argument
1059 dt_cpu_ftrs_scan_callback(unsigned long node, const char *uname, int depth, void *data) dt_cpu_ftrs_scan_callback() argument
[all...]
/third_party/zlib/
H A Dconfigure35 uname=${CHOST}
39 mname=`(uname -a || echo unknown) 2>/dev/null`
127 -u*=* | --uname=*) uname=`echo $1 | sed 's/.*=//'`;shift ;;
169 # check for gcc vs. cc and set compile and link flags based on the system identified by uname
226 if test -z "$uname"; then
227 uname=`(uname -s || echo unknown) 2>/dev/null`
229 case "$uname" in
252 case `(uname
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/misc/
H A Dgetdomainname.c28 int ret = uname(&u); in getdomainname_0100()
45 int ret = uname(&u); in getdomainname_0200()
61 int ret = uname(&u); in getdomainname_0300()

Completed in 14 milliseconds

12345678910>>...21