Home
last modified time | relevance | path

Searched refs:stab (Results 1 – 7 of 7) sorted by relevance

/xen/tools/misc/
A Dxen-detect.c125 struct stat stab; in check_dir() local
131 res = !fstat(fileno(f), &stab) && S_ISDIR(stab.st_mode); in check_dir()
140 struct stat stab; in read_file_content() local
148 if ( fstat(fileno(f), &stab) || !S_ISREG(stab.st_mode) || in read_file_content()
149 stab.st_size > INT_MAX || !stab.st_size ) in read_file_content()
152 content = malloc(stab.st_size + 1); in read_file_content()
160 datalen = fread(content, 1, stab.st_size, f); in read_file_content()
/xen/xen/arch/arm/
A Dxen.lds.S236 .stab 0 : { *(.stab) }
238 .stab.excl 0 : { *(.stab.excl) }
239 .stab.exclstr 0 : { *(.stab.exclstr) }
240 .stab.index 0 : { *(.stab.index) }
241 .stab.indexstr 0 : { *(.stab.indexstr) }
/xen/xen/arch/x86/
A Dxen.lds.S351 .stab 0 : { *(.stab) }
353 .stab.excl 0 : { *(.stab.excl) }
354 .stab.exclstr 0 : { *(.stab.exclstr) }
355 .stab.index 0 : { *(.stab.index) }
356 .stab.indexstr 0 : { *(.stab.indexstr) }
/xen/tools/libxl/
A Dlibxl_utils.c335 struct stat stab; in libxl_read_file_contents() local
345 if (fstat(fileno(f), &stab)) { in libxl_read_file_contents()
350 if (!S_ISREG(stab.st_mode)) { in libxl_read_file_contents()
356 if (stab.st_size > INT_MAX) { in libxl_read_file_contents()
362 datalen = stab.st_size; in libxl_read_file_contents()
364 if (stab.st_size && data_r) { in libxl_read_file_contents()
409 struct stat stab; in libxl__read_sysfs_file_contents() local
424 if (!S_ISREG(stab.st_mode)) { in libxl__read_sysfs_file_contents()
430 if (stab.st_size > INT_MAX) { in libxl__read_sysfs_file_contents()
436 datalen = stab.st_size; in libxl__read_sysfs_file_contents()
[all …]
A Dlibxl_internal.c407 struct stat stab, fstab; in libxl__lock_file() local
444 if (stat(lockfile, &stab)) { in libxl__lock_file()
450 if (stab.st_dev == fstab.st_dev && stab.st_ino == fstab.st_ino) in libxl__lock_file()
715 struct stat stab, fstab; in ev_lock_child_callback() local
733 if (stat(lockfile, &stab)) { in ev_lock_child_callback()
739 if (stab.st_dev == fstab.st_dev && stab.st_ino == fstab.st_ino) { in ev_lock_child_callback()
A Dlibxl_device.c285 struct stat stab; member
316 if (libxl__try_phy_backend(a->stab.st_mode)) in disk_try_backend()
393 memset(&a.stab, 0, sizeof(a.stab)); in libxl__device_disk_set_backend()
398 if (stat(disk->pdev_path, &a.stab)) { in libxl__device_disk_set_backend()
/xen/tools/console/client/
A Dmain.c283 struct stat stab, fstab; in console_lock() local
301 if (stat(lockfile, &stab)) { in console_lock()
305 if (stab.st_dev == fstab.st_dev && stab.st_ino == fstab.st_ino) in console_lock()

Completed in 14 milliseconds