Searched refs:SEEK_SET (Results 26 - 50 of 100) sorted by relevance

1234

/linux-master/arch/um/os-Linux/
H A Dmem.c182 if (lseek64(fd, len - 1, SEEK_SET) < 0) {
H A Dfile.c258 actual = lseek64(fd, offset, SEEK_SET);
581 .l_whence = SEEK_SET,
/linux-master/drivers/fsi/
H A Di2cr-scom.c25 case SEEK_SET:
/linux-master/tools/include/nolibc/
H A Dtypes.h94 #define SEEK_SET 0 macro
/linux-master/scripts/
H A Drecordmcount.c92 case SEEK_SET:
249 if (ulseek(offset - 1, SEEK_SET) < 0)
300 if (ulseek(off, SEEK_SET) < 0)
322 if (ulseek(offset, SEEK_SET) < 0)
H A Dget_dvb_firmware540 sysseek(INFILE, $fwoffset, SEEK_SET);
874 sysseek(INFILE, $offset, SEEK_SET);
/linux-master/tools/testing/selftests/net/
H A Dtcp_fastopen_backup_key.c59 lseek(proc_fd, 0, SEEK_SET);
84 lseek(proc_fd, 0, SEEK_SET);
/linux-master/tools/testing/selftests/arm64/mte/
H A Dmte_common_util.c190 lseek(fd, 0, SEEK_SET);
217 lseek(fd, 0, SEEK_SET);
/linux-master/arch/x86/tools/
H A Drelocs.c419 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0)
446 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0) {
484 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) {
511 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) {
531 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) {
571 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0) {
/linux-master/tools/perf/ui/
H A Dbrowser.c112 case SEEK_SET:
144 case SEEK_SET:
259 browser->seek(browser, 0, SEEK_SET);
365 * that is why we do a SEEK_SET. Think about 'perf top' in the hists browser
383 browser->seek(browser, browser->top_idx, SEEK_SET);
611 case SEEK_SET:
/linux-master/tools/power/acpi/os_specific/service_layers/
H A Doslinuxtbl.c409 fseek(file, 0, SEEK_SET);
1215 fseek(table_file, file_offset, SEEK_SET);
1266 fseek(table_file, file_offset, SEEK_SET);
/linux-master/tools/testing/selftests/x86/
H A Dtest_shadow_stack.c297 lseek(fd, (unsigned long)ptr, SEEK_SET);
308 lseek(fd, (unsigned long)ptr, SEEK_SET);
/linux-master/tools/hv/
H A Dhv_kvp_daemon.c134 struct flock fl = {F_WRLCK, SEEK_SET, 0, 0, 0};
146 struct flock fl = {F_UNLCK, SEEK_SET, 0, 0, 0};
/linux-master/drivers/gpu/drm/radeon/
H A Dmkregtable.c216 fseek(file, 0, SEEK_SET);
/linux-master/arch/powerpc/boot/
H A Daddnote.c222 i = lseek(fd, (long) 0, SEEK_SET);
/linux-master/drivers/s390/char/
H A Dhmcdrv_dev.c167 case SEEK_SET: /* absolute (relative to beginning of file) */
168 break; /* SEEK_SET */
170 /* We use SEEK_END as a special indicator for a SEEK_SET
/linux-master/tools/testing/selftests/mm/
H A Dhugetlb-read-hwpoison.c81 if (lseek(fd, offset, SEEK_SET) < 0) {
/linux-master/include/uapi/linux/
H A Dfs.h43 #define SEEK_SET 0 /* seek relative to beginning of file */ macro
/linux-master/tools/include/uapi/linux/
H A Dfs.h43 #define SEEK_SET 0 /* seek relative to beginning of file */ macro
/linux-master/tools/perf/util/
H A Dheader.c2415 if (lseek(input, orig_offset, SEEK_SET) == (off_t)-1)
3482 if (lseek(fd, section->offset, SEEK_SET) == (off_t)-1) {
3598 lseek(ff->fd, (*p)->offset, SEEK_SET);
3634 lseek(fd, sec_start + sec_size, SEEK_SET);
3641 lseek(fd, sec_start, SEEK_SET);
3691 lseek(fd, sizeof(f_header), SEEK_SET);
3758 lseek(fd, 0, SEEK_SET);
3765 lseek(fd, header->data_offset + header->data_size, SEEK_SET);
3833 lseek(fd, header->feat_offset, SEEK_SET);
3972 lseek(fd, 0, SEEK_SET);
[all...]
/linux-master/arch/mips/boot/
H A Delf2ecoff.c74 if (lseek(in, offset, SEEK_SET) < 0) {
138 if ((off = lseek(file, offset, SEEK_SET)) < 0) {
/linux-master/tools/bootconfig/
H A Dmain.c219 SEEK_SET) < 0)
/linux-master/scripts/dtc/
H A Ddtc-parser.y327 if (fseek(f, $6, SEEK_SET) != 0)
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dunpriv_bpf_disabled.c49 fseek(fp, 0, SEEK_SET);
/linux-master/arch/xtensa/platforms/iss/
H A Dsimdisk.c86 simc_lseek(dev->fd, offset, SEEK_SET);

Completed in 281 milliseconds

1234