Searched refs:range (Results 1 - 11 of 11) sorted by path

/system/core/fastbootd/
H A Dutils.c129 uint64_t range[2]; local
132 range[0] = 0;
133 range[1] = len;
134 ret = ioctl(fd, BLKSECDISCARD, &range);
136 range[0] = 0;
137 range[1] = len;
138 ret = ioctl(fd, BLKDISCARD, &range);
/system/extras/ext4_utils/
H A Dwipe.c37 u64 range[2]; local
45 range[0] = 0;
46 range[1] = len;
47 ret = ioctl(fd, BLKSECDISCARD, &range);
49 range[0] = 0;
50 range[1] = len;
51 ret = ioctl(fd, BLKDISCARD, &range);
/system/extras/libpagemap/
H A Dpm_process.c108 uint64_t *range; local
124 range = malloc(numpages * sizeof(uint64_t));
125 if (!range)
131 free(range);
134 error = read(proc->pagemap_fd, (char*)range, numpages * sizeof(uint64_t));
136 /* EOF, mapping is not in userspace mapping range (probably vectors) */
138 free(range);
143 free(range);
147 *range_out = range;
/system/extras/tests/storage/
H A Dwipe_blkdev.c52 u64 range[2]; local
56 range[0] = 0;
57 range[1] = len;
64 ret = ioctl(fd, req, &range);
/system/media/camera/docs/
H A Dhtml.mako317 % if prop.range is not None:
318 ${prop.range | md_html, linkify_tags(metadata), wbr}
H A Dmetadata_helpers.py666 range.
677 if entry.range:
682 text += '%s\n' % (dedent(entry.range))
H A Dmetadata_model.py1049 range: A string range, or None.
1087 range: A string with the range of the values of the entry, e.g. '>= 0'
1181 def range(self): member in class:Entry
1247 self._range = kwargs.get('range')
1394 range: A string with the range of the values of the entry, e.g. '>= 0'
1450 props_distinct = ['description', 'units', 'range', 'details',
H A Dmetadata_template.mako163 % if prop.range is not None:
164 <range>${prop.range | x}</range>
/system/netd/server/
H A DRouteController.cpp253 // range (inclusive). Otherwise, the rule matches packets from all UIDs.
709 for (const UidRanges::Range& range : uidRanges.getRanges()) {
710 if (int ret = modifyVpnUidRangeRule(table, range.first, range.second, secure, add)) {
713 if (int ret = modifyExplicitNetworkRule(netId, table, PERMISSION_NONE, range.first,
714 range.second, add)) {
717 if (int ret = modifyOutputInterfaceRule(interface, table, PERMISSION_NONE, range.first,
718 range.second, add)) {
/system/vold/
H A DFat.cpp233 unsigned long long range[2]; local
245 range[0] = 0;
246 range[1] = (unsigned long long)numSectors * 512;
247 if (ioctl(fd, BLKDISCARD, &range) < 0) {
H A Dfstrim.c63 struct fstrim_range range = { 0 }; local
105 memset(&range, 0, sizeof(range));
106 range.len = ULLONG_MAX;
109 ret = ioctl(fd, deep_trim ? FIDTRIM : FITRIM, &range);
114 SLOGI("Trimmed %llu bytes on %s\n", range.len, fstab->recs[i].mount_point);

Completed in 203 milliseconds