Searched refs:SEEK_SET (Results 1 - 25 of 100) sorted by path

1234

/linux-master/arch/alpha/boot/tools/
H A Dmkbb.c142 lseek(dev, 0L, SEEK_SET);
H A Dobjstrip.c170 lseek(fd, elf->e_phoff, SEEK_SET);
228 if (lseek(fd, offset, SEEK_SET) != offset) {
/linux-master/arch/powerpc/boot/
H A Daddnote.c222 i = lseek(fd, (long) 0, SEEK_SET);
H A Dmktree.c110 if (lseek(in_fd, (64 * 1024), SEEK_SET) < 0) {
141 if (lseek(out_fd, 0, SEEK_SET) < 0) {
/linux-master/drivers/char/
H A Dadi.c193 case SEEK_SET:
H A Dmem.c586 case SEEK_SET:
/linux-master/drivers/gpu/drm/radeon/
H A Dmkregtable.c216 fseek(file, 0, SEEK_SET);
/linux-master/scripts/
H A Dextract-sys-certs.pl7 use Fcntl "SEEK_SET";
125 die $vmlinux if (!defined(sysseek(FD, $size_off, SEEK_SET)));
147 die $vmlinux if (!defined(sysseek(FD, $foff, SEEK_SET)));
H A Dextract_xc3028.pl49 sysseek(INFILE, $offset, SEEK_SET);
H A Dget_dvb_firmware540 sysseek(INFILE, $fwoffset, SEEK_SET);
874 sysseek(INFILE, $offset, SEEK_SET);
H A Dinsert-sys-cert.c102 if (fseek(f, 0, SEEK_SET) != 0) {
/linux-master/tools/leds/
H A Dled_hw_brightness_mon.c73 ret = lseek(pollfd.fd, 0, SEEK_SET);
/linux-master/tools/power/acpi/tools/ec/
H A Dec_access.c151 lseek(fd, 0, SEEK_SET);
180 error = lseek(fd, byte_offset, SEEK_SET);
196 error = lseek(fd, byte_offset, SEEK_SET);
/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/arch/mips/boot/tools/
H A Drelocs.c269 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0)
309 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0)
333 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0)
377 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0)
418 if (fseek(fp, sec->shdr_offset, SEEK_SET) < 0)
432 if (fseek(fp, sec->shdr_offset, SEEK_SET) < 0)
607 if (fseek(outf, sec_reloc->shdr.sh_offset, SEEK_SET) < 0) {
/linux-master/arch/s390/tools/
H A Drelocs.c165 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0)
191 if (fseek(fp, ehdr.e_shoff, SEEK_SET) < 0)
233 if (fseek(fp, sec->shdr.sh_offset, SEEK_SET) < 0)
/linux-master/arch/sparc/boot/
H A Dpiggyback.c141 if (lseek(kernelfd, 0, SEEK_SET) < 0)
161 if (lseek(kernelfd, offset, SEEK_SET) < 0)
/linux-master/arch/um/os-Linux/
H A Dfile.c258 actual = lseek64(fd, offset, SEEK_SET);
581 .l_whence = SEEK_SET,
H A Dmem.c182 if (lseek64(fd, len - 1, SEEK_SET) < 0) {
/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/arch/xtensa/platforms/iss/
H A Dsimdisk.c86 simc_lseek(dev->fd, offset, SEEK_SET);
/linux-master/drivers/char/xillybus/
H A Dxillybus_core.c1685 case SEEK_SET:
H A Dxillyusb.c1805 case SEEK_SET:
/linux-master/drivers/dma-buf/
H A Ddma-buf.c163 but also allow SEEK_SET to maintain the idiomatic
167 else if (whence == SEEK_SET)
/linux-master/drivers/fsi/
H A Dfsi-core.c738 case SEEK_SET:

Completed in 335 milliseconds

1234