Home
last modified time | relevance | path

Searched refs:off (Results 1 – 25 of 71) sorted by relevance

123

/busybox-1.35.0/util-linux/volume_id/
Dunused_lvm.c43 int FAST_FUNC volume_id_probe_lvm1(struct volume_id *id, uint64_t off) in volume_id_probe_lvm1() argument
47 dbg("probing at offset 0x%llx", (unsigned long long) off); in volume_id_probe_lvm1()
49 lvm = volume_id_get_buffer(id, off + LVM1_SB_OFF, 0x800); in volume_id_probe_lvm1()
65 int FAST_FUNC volume_id_probe_lvm2(struct volume_id *id, uint64_t off) in volume_id_probe_lvm2() argument
71 dbg("probing at offset 0x%llx", (unsigned long long) off); in volume_id_probe_lvm2()
73 buf = volume_id_get_buffer(id, off, LVM2LABEL_SCAN_SECTORS * 0x200); in volume_id_probe_lvm2()
Dunused_highpoint.c46 int FAST_FUNC volume_id_probe_highpoint_37x_raid(struct volume_id *id, uint64_t off) in volume_id_probe_highpoint_37x_raid() argument
51 dbg("probing at offset 0x%llx", (unsigned long long) off); in volume_id_probe_highpoint_37x_raid()
53 hpt = volume_id_get_buffer(id, off + HPT37X_CONFIG_OFF, 0x200); in volume_id_probe_highpoint_37x_raid()
67 int FAST_FUNC volume_id_probe_highpoint_45x_raid(struct volume_id *id, uint64_t off, uint64_t size) in volume_id_probe_highpoint_45x_raid() argument
74 (unsigned long long) off, (unsigned long long) size); in volume_id_probe_highpoint_45x_raid()
80 hpt = volume_id_get_buffer(id, off + meta_off, 0x200); in volume_id_probe_highpoint_45x_raid()
Dutil.c179 void *volume_id_get_buffer(struct volume_id *id, uint64_t off, size_t len) in volume_id_get_buffer() argument
186 (unsigned long long) off, (unsigned long long) off, len); in volume_id_get_buffer()
189 if (off + len <= SB_BUFFER_SIZE in volume_id_get_buffer()
195 small_off = off; in volume_id_get_buffer()
199 len += off; in volume_id_get_buffer()
205 off = 0; in volume_id_get_buffer()
216 if ((off >= id->seekbuf_off) in volume_id_get_buffer()
217 && ((off + len) <= (id->seekbuf_off + id->seekbuf_len)) in volume_id_get_buffer()
219 small_off = off - id->seekbuf_off; /* can't overflow */ in volume_id_get_buffer()
223 id->seekbuf_off = off; in volume_id_get_buffer()
[all …]
Dunused_hpfs.c36 int FAST_FUNC volume_id_probe_hpfs(struct volume_id *id, uint64_t off) in volume_id_probe_hpfs() argument
40 dbg("probing at offset 0x%llx", (unsigned long long) off); in volume_id_probe_hpfs()
42 hs = volume_id_get_buffer(id, off + HPFS_SUPERBLOCK_OFFSET, 0x200); in volume_id_probe_hpfs()
Dlinux_swap.c42 #define off ((uint64_t)0) in volume_id_probe_linux_swap() macro
47 dbg("probing at offset 0x%llx", (unsigned long long) off); in volume_id_probe_linux_swap()
51 buf = volume_id_get_buffer(id, off + page-10, 10); in volume_id_probe_linux_swap()
66 sw = volume_id_get_buffer(id, off, sizeof(struct swap_header_v1_2)); in volume_id_probe_linux_swap()
Dunused_lsi_raid.c35 int FAST_FUNC volume_id_probe_lsi_mega_raid(struct volume_id *id, uint64_t off, uint64_t size) in volume_id_probe_lsi_mega_raid() argument
41 (unsigned long long) off, (unsigned long long) size); in volume_id_probe_lsi_mega_raid()
47 lsi = volume_id_get_buffer(id, off + meta_off, 0x200); in volume_id_probe_lsi_mega_raid()
Dunused_nvidia_raid.c38 int FAST_FUNC volume_id_probe_nvidia_raid(struct volume_id *id, uint64_t off, uint64_t size) in volume_id_probe_nvidia_raid() argument
44 (unsigned long long) off, (unsigned long long) size); in volume_id_probe_nvidia_raid()
50 nv = volume_id_get_buffer(id, off + meta_off, 0x200); in volume_id_probe_nvidia_raid()
Dromfs.c38 #define off ((uint64_t)0) in volume_id_probe_romfs() macro
41 dbg("probing at offset 0x%llx", (unsigned long long) off); in volume_id_probe_romfs()
43 rfs = volume_id_get_buffer(id, off, 0x200); in volume_id_probe_romfs()
Dunused_isw_raid.c40 int FAST_FUNC volume_id_probe_intel_software_raid(struct volume_id *id, uint64_t off, uint64_t size) in volume_id_probe_intel_software_raid() argument
46 (unsigned long long) off, (unsigned long long) size); in volume_id_probe_intel_software_raid()
52 isw = volume_id_get_buffer(id, off + meta_off, 0x200); in volume_id_probe_intel_software_raid()
Dunused_promise_raid.c36 int FAST_FUNC volume_id_probe_promise_fasttrack_raid(struct volume_id *id, uint64_t off, uint64_t s… in volume_id_probe_promise_fasttrack_raid() argument
46 (unsigned long long) off, (unsigned long long) size); in volume_id_probe_promise_fasttrack_raid()
55 pdc = volume_id_get_buffer(id, off + meta_off, 0x200); in volume_id_probe_promise_fasttrack_raid()
Dcramfs.c46 #define off ((uint64_t)0) in volume_id_probe_cramfs() macro
49 dbg("probing at offset 0x%llx", (unsigned long long) off); in volume_id_probe_cramfs()
51 cs = volume_id_get_buffer(id, off, 0x200); in volume_id_probe_cramfs()
Dbtrfs.c94 unsigned off = 64; in volume_id_probe_btrfs() local
96 while (off < 64*1024*1024) { in volume_id_probe_btrfs()
97 off *= 1024; in volume_id_probe_btrfs()
98 dbg("btrfs: probing at offset 0x%x", off); in volume_id_probe_btrfs()
100 sb = volume_id_get_buffer(id, off, sizeof(*sb)); in volume_id_probe_btrfs()
Dsquashfs.c33 #define off ((uint64_t)0) in volume_id_probe_squashfs() macro
36 dbg("SquashFS: probing at offset 0x%llx", (unsigned long long) off); in volume_id_probe_squashfs()
37 sb = volume_id_get_buffer(id, off, 0x200); in volume_id_probe_squashfs()
Djfs.c46 #define off ((uint64_t)0) in volume_id_probe_jfs() macro
49 dbg("probing at offset 0x%llx", (unsigned long long) off); in volume_id_probe_jfs()
51 js = volume_id_get_buffer(id, off + JFS_SUPERBLOCK_OFFSET, 0x200); in volume_id_probe_jfs()
Dunused_via_raid.c45 int FAST_FUNC volume_id_probe_via_raid(struct volume_id *id, uint64_t off, uint64_t size) in volume_id_probe_via_raid() argument
51 (unsigned long long) off, (unsigned long long) size); in volume_id_probe_via_raid()
58 via = volume_id_get_buffer(id, off + meta_off, 0x200); in volume_id_probe_via_raid()
Diso9660.c58 #define off ((uint64_t)0) in volume_id_probe_iso9660() macro
63 dbg("probing at offset 0x%llx", (unsigned long long) off); in volume_id_probe_iso9660()
65 buf = volume_id_get_buffer(id, off + ISO_SUPERBLOCK_OFFSET, 0x200); in volume_id_probe_iso9660()
84 is = volume_id_get_buffer(id, off + vd_offset, 0x200); in volume_id_probe_iso9660()
90 dbg("found SVD at offset 0x%llx", (unsigned long long) (off + vd_offset)); in volume_id_probe_iso9660()
Dunused_mac.c45 int FAST_FUNC volume_id_probe_mac_partition_map(struct volume_id *id, uint64_t off) in volume_id_probe_mac_partition_map() argument
51 dbg("probing at offset 0x%llx", (unsigned long long) off); in volume_id_probe_mac_partition_map()
53 buf = volume_id_get_buffer(id, off, 0x200); in volume_id_probe_mac_partition_map()
77 buf = volume_id_get_buffer(id, off + bsize, 0x200); in volume_id_probe_mac_partition_map()
98 buf = volume_id_get_buffer(id, off + ((i+1) * bsize), 0x200); in volume_id_probe_mac_partition_map()
Dext.c34 #define off ((uint64_t)0) in volume_id_probe_ext() macro
37 dbg("ext: probing at offset 0x%llx", (unsigned long long) off); in volume_id_probe_ext()
39 es = volume_id_get_buffer(id, off + EXT_SUPERBLOCK_OFFSET, 0x200); in volume_id_probe_ext()
Dxfs.c46 #define off ((uint64_t)0) in volume_id_probe_xfs() macro
49 dbg("probing at offset 0x%llx", (unsigned long long) off); in volume_id_probe_xfs()
51 xs = volume_id_get_buffer(id, off, 0x200); in volume_id_probe_xfs()
Dudf.c66 #define off ((uint64_t)0) in volume_id_probe_udf() macro
76 dbg("probing at offset 0x%llx", (unsigned long long) off); in volume_id_probe_udf()
78 vsd = volume_id_get_buffer(id, off + UDF_VSD_OFFSET, 0x200); in volume_id_probe_udf()
101 vsd = volume_id_get_buffer(id, off + UDF_VSD_OFFSET + bs, 0x800); in volume_id_probe_udf()
113 vsd = volume_id_get_buffer(id, off + UDF_VSD_OFFSET + (b * bs), 0x800); in volume_id_probe_udf()
131 vd = volume_id_get_buffer(id, off + (256 * bs), 0x200); in volume_id_probe_udf()
146 vd = volume_id_get_buffer(id, off + ((loc + b) * bs), 0x200); in volume_id_probe_udf()
Dunused_silicon_raid.c50 int FAST_FUNC volume_id_probe_silicon_medley_raid(struct volume_id *id, uint64_t off, uint64_t size) in volume_id_probe_silicon_medley_raid() argument
56 (unsigned long long) off, (unsigned long long) size); in volume_id_probe_silicon_medley_raid()
62 sil = volume_id_get_buffer(id, off + meta_off, 0x200); in volume_id_probe_silicon_medley_raid()
Dreiserfs.c59 #define off ((uint64_t)0) in volume_id_probe_reiserfs() macro
63 dbg("reiserfs: probing at offset 0x%llx", (unsigned long long) off); in volume_id_probe_reiserfs()
65 rs = volume_id_get_buffer(id, off + REISERFS_SUPERBLOCK_OFFSET, 0x200); in volume_id_probe_reiserfs()
95 rs = volume_id_get_buffer(id, off + REISERFS1_SUPERBLOCK_OFFSET, 0x200); in volume_id_probe_reiserfs()
Dlinux_raid.c54 #define off ((uint64_t)0) in volume_id_probe_linux_raid() macro
60 (unsigned long long) off, (unsigned long long) size); in volume_id_probe_linux_raid()
66 mdp = volume_id_get_buffer(id, off + sboff, 0x800); in volume_id_probe_linux_raid()
/busybox-1.35.0/networking/udhcp/
Ddomain_codec.c155 int off;
158 off = 0;
159 while (off < clen) {
160 c = cstr + off;
163 off += 2;
173 return off;
179 off += cstr[off] + 1;
183 off++;
208 int off = find_offset(cstr, clen, d); in dname_enc()
209 if (off >= 0) { /* found a match, add pointer and return */ in dname_enc()
[all …]
/busybox-1.35.0/shell/
Dmatch.c118 size_t off; in main() local
122 off = strcspn(string, "#%"); in main()
123 if (!off) { in main()
127 op = string + off; in main()

123