Home
last modified time | relevance | path

Searched refs:range (Results 1 – 15 of 15) sorted by relevance

/system/extras/ext4_utils/
Dwipe.c37 u64 range[2]; in wipe_block_device() local
45 range[0] = 0; in wipe_block_device()
46 range[1] = len; in wipe_block_device()
47 ret = ioctl(fd, BLKSECDISCARD, &range); in wipe_block_device()
49 range[0] = 0; in wipe_block_device()
50 range[1] = len; in wipe_block_device()
51 ret = ioctl(fd, BLKDISCARD, &range); in wipe_block_device()
/system/vold/
Dfstrim.c63 struct fstrim_range range = { 0 }; in do_fstrim_filesystems() local
105 memset(&range, 0, sizeof(range)); in do_fstrim_filesystems()
106 range.len = ULLONG_MAX; in do_fstrim_filesystems()
109 ret = ioctl(fd, deep_trim ? FIDTRIM : FITRIM, &range); in do_fstrim_filesystems()
114 SLOGI("Trimmed %llu bytes on %s\n", range.len, fstab->recs[i].mount_point); in do_fstrim_filesystems()
DFat.cpp233 unsigned long long range[2]; in wipe() local
245 range[0] = 0; in wipe()
246 range[1] = (unsigned long long)numSectors * 512; in wipe()
247 if (ioctl(fd, BLKDISCARD, &range) < 0) { in wipe()
/system/core/fastbootd/
Dutils.c129 uint64_t range[2]; in wipe_block_device() local
132 range[0] = 0; in wipe_block_device()
133 range[1] = len; in wipe_block_device()
134 ret = ioctl(fd, BLKSECDISCARD, &range); in wipe_block_device()
136 range[0] = 0; in wipe_block_device()
137 range[1] = len; in wipe_block_device()
138 ret = ioctl(fd, BLKDISCARD, &range); in wipe_block_device()
/system/extras/tests/storage/
Dwipe_blkdev.c52 u64 range[2]; in wipe_block_device() local
56 range[0] = 0; in wipe_block_device()
57 range[1] = len; in wipe_block_device()
64 ret = ioctl(fd, req, &range); in wipe_block_device()
/system/extras/libpagemap/
Dpm_process.c108 uint64_t *range; in pm_process_pagemap_range() local
124 range = malloc(numpages * sizeof(uint64_t)); in pm_process_pagemap_range()
125 if (!range) in pm_process_pagemap_range()
131 free(range); in pm_process_pagemap_range()
134 error = read(proc->pagemap_fd, (char*)range, numpages * sizeof(uint64_t)); in pm_process_pagemap_range()
138 free(range); in pm_process_pagemap_range()
143 free(range); in pm_process_pagemap_range()
147 *range_out = range; in pm_process_pagemap_range()
/system/media/camera/docs/
Dmetadata_template.mako163 % if prop.range is not None:
164 <range>${prop.range | x}</range>
Dcamera_metadata_tag_info.mako84 msg = "error: enum value out of range";
Dmetadata_helpers.py677 if entry.range:
682 text += '%s\n' % (dedent(entry.range))
Dhtml.mako317 % if prop.range is not None:
318 ${prop.range | md_html, linkify_tags(metadata), wbr}
Dmetadata_model.py1181 def range(self): member in Entry
/system/netd/server/
DRouteController.cpp709 for (const UidRanges::Range& range : uidRanges.getRanges()) { in modifyVirtualNetwork() local
710 if (int ret = modifyVpnUidRangeRule(table, range.first, range.second, secure, add)) { in modifyVirtualNetwork()
713 if (int ret = modifyExplicitNetworkRule(netId, table, PERMISSION_NONE, range.first, in modifyVirtualNetwork()
714 range.second, add)) { in modifyVirtualNetwork()
717 if (int ret = modifyOutputInterfaceRule(interface, table, PERMISSION_NONE, range.first, in modifyVirtualNetwork()
718 range.second, add)) { in modifyVirtualNetwork()
/system/core/logcat/
Devent.logtags139 # NOTE - the range 1000000-2000000 is reserved for partners and others who
/system/core/fastboot/
Dfastboot_protocol.txt7 allow it to be used across a wide range of devices and from hosts running
/system/core/libutils/
DREADME117 (inclusive); values outside this range are invalid.