/busybox-1.35.0/util-linux/volume_id/ |
D | unused_lvm.c | 43 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()
|
D | unused_highpoint.c | 46 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()
|
D | util.c | 179 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 …]
|
D | unused_hpfs.c | 36 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()
|
D | linux_swap.c | 42 #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()
|
D | unused_lsi_raid.c | 35 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()
|
D | unused_nvidia_raid.c | 38 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()
|
D | romfs.c | 38 #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()
|
D | unused_isw_raid.c | 40 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()
|
D | unused_promise_raid.c | 36 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()
|
D | cramfs.c | 46 #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()
|
D | btrfs.c | 94 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()
|
D | squashfs.c | 33 #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()
|
D | jfs.c | 46 #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()
|
D | unused_via_raid.c | 45 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()
|
D | iso9660.c | 58 #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()
|
D | unused_mac.c | 45 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()
|
D | ext.c | 34 #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()
|
D | xfs.c | 46 #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()
|
D | udf.c | 66 #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()
|
D | unused_silicon_raid.c | 50 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()
|
D | reiserfs.c | 59 #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()
|
D | linux_raid.c | 54 #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/ |
D | domain_codec.c | 155 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/ |
D | match.c | 118 size_t off; in main() local 122 off = strcspn(string, "#%"); in main() 123 if (!off) { in main() 127 op = string + off; in main()
|