units 257 arch/arm/mm/dump.c static const char units[] = "KMGTPE"; units 268 arch/arm/mm/dump.c const char *unit = units; units 246 arch/arm64/mm/dump.c static const char units[] = "KMGTPE"; units 256 arch/arm64/mm/dump.c const char *unit = units; units 130 arch/ia64/kernel/palinfo.c static const char *units[]={ "", "K", "M", "G", "T" }; units 134 arch/ia64/kernel/palinfo.c seq_printf(m, "%d%s ", 1 << (i-j*10), units[j]); units 144 arch/powerpc/mm/ptdump/hashpagetable.c static const char units[] = "BKMGTPE"; units 145 arch/powerpc/mm/ptdump/hashpagetable.c const char *unit = units; units 148 arch/powerpc/mm/ptdump/ptdump.c static const char units[] = "KMGTPE"; units 149 arch/powerpc/mm/ptdump/ptdump.c const char *unit = units; units 70 arch/s390/mm/dump_pagetables.c static const char units[] = "KMGTPE"; units 72 arch/s390/mm/dump_pagetables.c const char *unit = units; units 46 arch/sh/boards/mach-hp6xx/hp6xx_apm.c info->units = 0; units 1646 arch/x86/kernel/apm_32.c char *units = "?"; units 1658 arch/x86/kernel/apm_32.c units = (dx & 0x8000) ? "min" : "sec"; units 1711 arch/x86/kernel/apm_32.c units); units 272 arch/x86/mm/dump_pagetables.c static const char units[] = "BKMGTPE"; units 294 arch/x86/mm/dump_pagetables.c const char *unit = units; units 1238 drivers/acpi/osl.c acpi_status acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 timeout) units 1248 drivers/acpi/osl.c if (!sem || (units < 1)) units 1251 drivers/acpi/osl.c if (units > 1) units 1255 drivers/acpi/osl.c handle, units, timeout)); units 1269 drivers/acpi/osl.c handle, units, timeout, units 1274 drivers/acpi/osl.c units, timeout)); units 1283 drivers/acpi/osl.c acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units) units 1290 drivers/acpi/osl.c if (!sem || (units < 1)) units 1293 drivers/acpi/osl.c if (units > 1) units 1297 drivers/acpi/osl.c units)); units 873 drivers/block/drbd/drbd_nl.c static char units[] = { 'K', 'M', 'G', 'T', 'P', 'E' }; units 875 drivers/block/drbd/drbd_nl.c while (size >= 10000 && base < sizeof(units)-1) { units 880 drivers/block/drbd/drbd_nl.c sprintf(buf, "%u %cB", (unsigned)size, units[base]); units 246 drivers/block/paride/pf.c static struct pf_unit units[PF_UNITS]; units 293 drivers/block/paride/pf.c for (unit = 0, pf = units; unit < PF_UNITS; unit++, pf++) { units 724 drivers/block/paride/pf.c struct pf_unit *pf = units; units 765 drivers/block/paride/pf.c for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) { units 812 drivers/block/paride/pf.c pf = &units[pf_queue]; units 1035 drivers/block/paride/pf.c for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) { units 1045 drivers/block/paride/pf.c for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) { units 1061 drivers/block/paride/pf.c for (pf = units, unit = 0; unit < PF_UNITS; pf++, unit++) { units 439 drivers/char/apm-emulation.c char *units; units 446 drivers/char/apm-emulation.c info.units = -1; units 451 drivers/char/apm-emulation.c switch (info.units) { units 452 drivers/char/apm-emulation.c default: units = "?"; break; units 453 drivers/char/apm-emulation.c case 0: units = "min"; break; units 454 drivers/char/apm-emulation.c case 1: units = "sec"; break; units 461 drivers/char/apm-emulation.c info.time, units); units 369 drivers/char/hw_random/n2-drv.c struct n2rng_unit *up = &np->units[i]; units 591 drivers/char/hw_random/n2-drv.c &np->units[unit].control[0], units 620 drivers/char/hw_random/n2-drv.c struct n2rng_unit *up = &np->units[unit]; units 752 drivers/char/hw_random/n2-drv.c np->units = devm_kcalloc(&op->dev, np->num_units, sizeof(*np->units), units 755 drivers/char/hw_random/n2-drv.c if (!np->units) units 110 drivers/char/hw_random/n2rng.h struct n2rng_unit *units; units 4910 drivers/crypto/caam/caamalg_qi2.c cong_notif_cfg.units = DPSECI_CONGESTION_UNIT_BYTES; units 379 drivers/crypto/caam/dpseci.c dpseci_set_field(cmd_params->options, CGN_UNITS, cfg->units); units 419 drivers/crypto/caam/dpseci.c cfg->units = dpseci_get_field(rsp_params->options, CGN_UNITS); units 318 drivers/crypto/caam/dpseci.h enum dpseci_congestion_unit units; units 471 drivers/firewire/core-device.c __ATTR_RO(units), units 2293 drivers/gpu/drm/i915/i915_debugfs.c u32 units; units 2301 drivers/gpu/drm/i915/i915_debugfs.c units = (power & 0x1f00) >> 8; units 2305 drivers/gpu/drm/i915/i915_debugfs.c power = (1000000 * power) >> units; /* convert to uJ */ units 75 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c if (gr->func->units) units 76 drivers/gpu/drm/nouveau/nvkm/engine/gr/base.c return gr->func->units(gr); units 302 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c u32 units = nvkm_rd32(device, 0x1540); units 499 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1<<(i+16))) { units 583 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1<<i)) { units 598 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (!(units & (1 << (j+24)))) continue; units 1195 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c u32 units = nvkm_rd32(device, 0x1540); units 1235 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << (i + 16))) units 1243 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << (2 * i))) units 1245 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << (2 * i + 1))) units 1294 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1<<(i+16))) units 1304 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 0)) units 1306 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 1)) units 1308 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 2)) units 1310 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 3)) units 1318 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 4)) units 1320 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 5)) units 1322 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 6)) units 1324 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 7)) units 1326 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 8)) units 1328 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 9)) units 3278 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c u32 units = nvkm_rd32(device, 0x1540); units 3290 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << i)) units 3301 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 0)) units 3303 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 1)) units 3310 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 2)) units 3312 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 3)) units 3319 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 4)) units 3321 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 5)) units 3323 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 6)) units 3330 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 7)) units 3332 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 8)) units 3334 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxnv50.c if (units & (1 << 9)) units 96 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c const struct nvkm_bitfield *units, u32 status) units 104 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c for (i = 0; units[i].name && status; i++) { units 110 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c nvkm_snprintbf(msg, sizeof(msg), units, mask); units 183 drivers/gpu/drm/nouveau/nvkm/engine/gr/g84.c .units = nv50_gr_units, units 2087 drivers/gpu/drm/nouveau/nvkm/engine/gr/gf100.c .units = gf100_gr_units, units 34 drivers/gpu/drm/nouveau/nvkm/engine/gr/gt200.c .units = nv50_gr_units, units 34 drivers/gpu/drm/nouveau/nvkm/engine/gr/gt215.c .units = nv50_gr_units, units 33 drivers/gpu/drm/nouveau/nvkm/engine/gr/mcp79.c .units = nv50_gr_units, units 34 drivers/gpu/drm/nouveau/nvkm/engine/gr/mcp89.c .units = nv50_gr_units, units 449 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv40.c .units = nv40_gr_units, units 81 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv44.c .units = nv40_gr_units, units 286 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c u32 units = nvkm_rd32(device, 0x1540); units 292 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c if (!(units & 1 << (i+24))) units 330 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c u32 units = nvkm_rd32(device, 0x1540); units 336 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c if (!(units & (1 << i))) units 683 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c int ret, units, i; units 696 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c units = nvkm_rd32(device, 0x001540); units 698 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c if (!(units & (1 << i))) units 781 drivers/gpu/drm/nouveau/nvkm/engine/gr/nv50.c .units = nv50_gr_units, units 28 drivers/gpu/drm/nouveau/nvkm/engine/gr/priv.h u64 (*units)(struct nvkm_gr *); units 2447 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct vmw_display_unit *units[VMWGFX_NUM_DISPLAY_UNITS]; units 2456 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c units[num_units++] = vmw_crtc_to_du(dirty->crtc); units 2463 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c units[num_units++] = vmw_crtc_to_du(crtc); units 2468 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct vmw_display_unit *unit = units[k]; units 557 drivers/hid/hid-debug.c static const char *units[5][8] = { units 587 drivers/hid/hid-debug.c seq_printf(f, "%s", units[sys][i]); units 352 drivers/hid/hid-sensor-custom.c value = sensor_inst->fields[field_index].attribute.units; units 495 drivers/hid/hid-sensor-custom.c sensor_field->attribute.units = field->unit; units 91 drivers/hid/hid-sensor-hub.c info->units = field->unit; units 388 drivers/hid/hid-sensor-hub.c info->units = -1; units 63 drivers/hwmon/acpi_power_meter.c u64 units; units 768 drivers/hwmon/acpi_power_meter.c if (resource->caps.units) { units 771 drivers/hwmon/acpi_power_meter.c resource->caps.units); units 171 drivers/iio/common/hid-sensors/hid-sensor-attributes.c if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) units 192 drivers/iio/common/hid-sensors/hid-sensor-attributes.c if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) units 194 drivers/iio/common/hid-sensors/hid-sensor-attributes.c else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) units 217 drivers/iio/common/hid-sensors/hid-sensor-attributes.c if (st->poll.units == HID_USAGE_SENSOR_UNITS_MILLISECOND) units 219 drivers/iio/common/hid-sensors/hid-sensor-attributes.c else if (st->poll.units == HID_USAGE_SENSOR_UNITS_SECOND) units 365 drivers/iio/common/hid-sensors/hid-sensor-attributes.c unit_conversion[i].unit == attr_info->units) { units 396 drivers/iio/common/hid-sensors/hid-sensor-attributes.c if (st->poll.units == 0) units 397 drivers/iio/common/hid-sensors/hid-sensor-attributes.c st->poll.units = HID_USAGE_SENSOR_UNITS_MILLISECOND; units 98 drivers/iio/light/hid-sensor-prox.c *val = prox_state->prox_attr.units; units 292 drivers/infiniband/hw/hfi1/trace_tx.h u16 comp_idx, u32 tidoffset, u32 units, u8 shift), units 293 drivers/infiniband/hw/hfi1/trace_tx.h TP_ARGS(dd, ctxt, subctxt, comp_idx, tidoffset, units, shift), units 299 drivers/infiniband/hw/hfi1/trace_tx.h __field(u32, units) units 307 drivers/infiniband/hw/hfi1/trace_tx.h __entry->units = units; units 316 drivers/infiniband/hw/hfi1/trace_tx.h __entry->units, units 31 drivers/macintosh/apm_emu.c info->units = APM_UNITS_MINS; units 94 drivers/md/bcache/util.c static const char units[] = "?kMGTPEZY"; units 119 drivers/md/bcache/util.c return sprintf(buf, "-%llu.%i%c", q, t * 10 / 1024, units[u]); units 121 drivers/md/bcache/util.c return sprintf(buf, "%llu.%i%c", q, t * 10 / 1024, units[u]); units 391 drivers/md/bcache/util.h #define __print_time_stat(stats, name, stat, units) \ units 392 drivers/md/bcache/util.h sysfs_print(name ## _ ## stat ## _ ## units, \ units 393 drivers/md/bcache/util.h div_u64((stats)->stat >> 8, NSEC_PER_ ## units)) units 1071 drivers/media/rc/mceusb.c unsigned int units; units 1073 drivers/media/rc/mceusb.c units = DIV_ROUND_CLOSEST(timeout, US_TO_NS(MCE_TIME_UNIT)); units 1075 drivers/media/rc/mceusb.c cmdbuf[2] = units >> 8; units 1076 drivers/media/rc/mceusb.c cmdbuf[3] = units; units 493 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h u8 units; units 512 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h u8 units; units 1546 drivers/net/ethernet/freescale/dpaa2/dpni.c cmd_params->units = taildrop->units; units 1600 drivers/net/ethernet/freescale/dpaa2/dpni.c taildrop->units = rsp_params->units; units 872 drivers/net/ethernet/freescale/dpaa2/dpni.h enum dpni_congestion_unit units; units 217 drivers/net/ethernet/pensando/ionic/ionic_lif.h static inline u32 ionic_coal_hw_to_usec(struct ionic *ionic, u32 units) units 227 drivers/net/ethernet/pensando/ionic/ionic_lif.h return (units * div) / mult; units 1993 drivers/net/ethernet/realtek/r8169_main.c u32 units; units 2011 drivers/net/ethernet/realtek/r8169_main.c units = p->usecs * 1000 / scale->nsecs[i]; units 2016 drivers/net/ethernet/realtek/r8169_main.c w |= units; units 1209 drivers/platform/x86/dell-laptop.c u8 units; units 1221 drivers/platform/x86/dell-laptop.c units = (buffer.output[2] >> 8) & 0xFF; units 1227 drivers/platform/x86/dell-laptop.c if (units & BIT(0)) units 1229 drivers/platform/x86/dell-laptop.c if (units & BIT(1)) units 1231 drivers/platform/x86/dell-laptop.c if (units & BIT(2)) units 1233 drivers/platform/x86/dell-laptop.c if (units & BIT(3)) units 339 drivers/power/supply/apm_power.c info->units = APM_UNITS_MINS; units 240 drivers/power/supply/wm831x_power.c const char *units) units 249 drivers/power/supply/wm831x_power.c name, val, units); units 252 drivers/power/supply/wm831x_power.c dev_dbg(wm831x->dev, "Set %s of %d%s\n", name, val, units); units 553 drivers/powercap/intel_rapl_common.c u64 units = 1; units 559 drivers/powercap/intel_rapl_common.c units = rp->power_unit; units 565 drivers/powercap/intel_rapl_common.c units = rd->domain_energy_unit; units 567 drivers/powercap/intel_rapl_common.c units = rp->energy_unit; units 577 drivers/powercap/intel_rapl_common.c return div64_u64(value, units) * scale; units 579 drivers/powercap/intel_rapl_common.c value *= units; units 167 drivers/rtc/rtc-hid-sensor-time.c if (time_state->info[i].units != units 172 drivers/rtc/rtc-hid-sensor-time.c time_state->info[i].units == units 402 drivers/s390/char/raw3270.c char units; /* 0x00:in; 0x01:mm */ units 500 drivers/s390/scsi/zfcp_aux.c atomic_set(&port->units, 0); units 209 drivers/s390/scsi/zfcp_def.h atomic_t units; /* zfcp_unit count */ units 241 drivers/s390/scsi/zfcp_sysfs.c atomic_set(&port->units, -1); units 247 drivers/s390/scsi/zfcp_sysfs.c return atomic_read(&port->units) == -1; units 258 drivers/s390/scsi/zfcp_sysfs.c if (atomic_read(&port->units) > 0) units 109 drivers/s390/scsi/zfcp_unit.c atomic_dec(&unit->port->units); units 166 drivers/s390/scsi/zfcp_unit.c atomic_inc(&port->units); /* under zfcp_sysfs_port_units_mutex ! */ units 3508 drivers/scsi/BusLogic.c seq_printf(m, " %9u%09u", tgt_stats[tgt].bytesread.billions, tgt_stats[tgt].bytesread.units); units 3510 drivers/scsi/BusLogic.c seq_printf(m, " %9u", tgt_stats[tgt].bytesread.units); units 3512 drivers/scsi/BusLogic.c seq_printf(m, " %9u%09u\n", tgt_stats[tgt].byteswritten.billions, tgt_stats[tgt].byteswritten.units); units 3514 drivers/scsi/BusLogic.c seq_printf(m, " %9u\n", tgt_stats[tgt].byteswritten.units); units 214 drivers/scsi/BusLogic.h unsigned int units; units 1236 drivers/scsi/BusLogic.h bytecount->units += amount; units 1237 drivers/scsi/BusLogic.h if (bytecount->units > 999999999) { units 1238 drivers/scsi/BusLogic.h bytecount->units -= 1000000000; units 2675 drivers/scsi/st.c static void deb_space_print(struct scsi_tape *STp, int direction, char *units, unsigned char *cmd) units 2687 drivers/scsi/st.c direction ? "backward" : "forward", sc, units); units 2692 drivers/scsi/st.c static void deb_space_print(struct scsi_tape *STp, int direction, char *units, unsigned char *cmd) {} units 3383 drivers/scsi/st.c int psum = PP_MSK_PSUM_MB, units = 0; units 3425 drivers/scsi/st.c units = 9; /* GB */ units 3432 drivers/scsi/st.c units = 9; /* GB */ units 3473 drivers/scsi/st.c target_partition, units > 0 ? size * 1000 : size); units 3477 drivers/scsi/st.c if (size != 1 || units != 0) { units 3480 drivers/scsi/st.c bp[pgo + PP_OFF_PART_UNITS] = units; units 681 drivers/staging/comedi/drivers/jr3_pci.h u32 units; /* offset 0x00fc */ units 1792 drivers/staging/media/ipu3/include/intel-ipu3.h struct ipu3_uapi_yuvp1_iefd_cfg_units units; units 9401 drivers/staging/media/ipu3/ipu3-tables.c .units = { units 442 drivers/usb/dwc2/hcd_queue.c const char *units, units 482 drivers/usb/dwc2/hcd_queue.c units, start + count - 1, units); units 152 drivers/watchdog/it8712f_wdt.c int units = margin; units 157 drivers/watchdog/it8712f_wdt.c if (units <= max_units) { units 159 drivers/watchdog/it8712f_wdt.c pr_info("timer margin %d seconds\n", units); units 161 drivers/watchdog/it8712f_wdt.c units /= 60; units 162 drivers/watchdog/it8712f_wdt.c pr_info("timer margin %d minutes\n", units); units 167 drivers/watchdog/it8712f_wdt.c superio_outb(units >> 8, WDT_TIMEOUT + 1); units 168 drivers/watchdog/it8712f_wdt.c superio_outb(units, WDT_TIMEOUT); units 379 fs/reiserfs/fix_node.c int units; units 514 fs/reiserfs/fix_node.c units = units 521 fs/reiserfs/fix_node.c if (units == -1) { units 528 fs/reiserfs/fix_node.c start_bytes += units; units 529 fs/reiserfs/fix_node.c snum012[needed_nodes - 1 + 3] = units; units 314 fs/reiserfs/item_ops.c static int indirect_part_size(struct virtual_item *vi, int first, int units) units 317 fs/reiserfs/item_ops.c return units; units 136 include/acpi/acpiosxf.h acpi_os_wait_semaphore(acpi_semaphore handle, u32 units, u16 timeout); units 140 include/acpi/acpiosxf.h acpi_status acpi_os_signal_semaphore(acpi_semaphore handle, u32 units); units 653 include/acpi/actbl3.h u8 units; units 44 include/linux/apm-emulation.h int units; units 31 include/linux/hid-sensor-hub.h s32 units; units 194 include/linux/mm_types.h int units; /* SLOB */ units 17 include/linux/string_helpers.h void string_get_size(u64 size, u64 blk_size, enum string_size_units units, units 48 include/sound/util_mem.h unsigned int units, units 34 lib/string_helpers.c void string_get_size(u64 size, u64 blk_size, const enum string_size_units units, units 76 lib/string_helpers.c do_div(blk_size, divisor[units]); units 81 lib/string_helpers.c do_div(size, divisor[units]); units 90 lib/string_helpers.c while (size >= divisor[units]) { units 91 lib/string_helpers.c remainder = do_div(size, divisor[units]); units 101 lib/string_helpers.c if (units == STRING_UNITS_2) { units 126 lib/string_helpers.c unit = units_str[units][i]; units 339 lib/test-string_helpers.c static __init void test_string_get_size_check(const char *units, units 352 lib/test-string_helpers.c size, blk_size, units); units 1228 mm/slab_common.c static const char units[3] = "\0kM"; units 1236 mm/slab_common.c return kasprintf(GFP_NOWAIT, "%s-%u%c", prefix, size, units[idx]); units 92 mm/slob.c slobidx_t units; units 152 mm/slob.c s[0].units = size; units 153 mm/slob.c s[1].units = offset; units 155 mm/slob.c s[0].units = -offset; units 163 mm/slob.c if (s->units > 0) units 164 mm/slob.c return s->units; units 176 mm/slob.c if (s[0].units < 0) units 177 mm/slob.c next = -s[0].units; units 179 mm/slob.c next = s[1].units; units 241 mm/slob.c int delta = 0, units = SLOB_UNITS(size); units 260 mm/slob.c if (avail >= units + delta) { /* room enough? */ units 273 mm/slob.c if (avail == units) { /* exact fit? unlink. */ units 280 mm/slob.c set_slob(prev, slob_units(prev), cur + units); units 282 mm/slob.c sp->freelist = cur + units; units 283 mm/slob.c set_slob(cur + units, avail - units, next); units 286 mm/slob.c sp->units -= units; units 287 mm/slob.c if (!sp->units) { units 330 mm/slob.c if (sp->units < SLOB_UNITS(size)) units 365 mm/slob.c sp->units = SLOB_UNITS(PAGE_SIZE); units 386 mm/slob.c slobidx_t units; units 395 mm/slob.c units = SLOB_UNITS(size); units 399 mm/slob.c if (sp->units + units == SLOB_UNITS(PAGE_SIZE)) { units 412 mm/slob.c sp->units = units; units 414 mm/slob.c set_slob(b, units, units 431 mm/slob.c sp->units += units; units 434 mm/slob.c if (b + units == sp->freelist) { units 435 mm/slob.c units += slob_units(sp->freelist); units 438 mm/slob.c set_slob(b, units, sp->freelist); units 448 mm/slob.c if (!slob_last(prev) && b + units == next) { units 449 mm/slob.c units += slob_units(next); units 450 mm/slob.c set_slob(b, units, slob_next(next)); units 452 mm/slob.c set_slob(b, units, next); units 455 mm/slob.c units = slob_units(b) + slob_units(prev); units 456 mm/slob.c set_slob(prev, units, slob_next(b)); units 496 mm/zsmalloc.c return page->units; units 501 mm/zsmalloc.c page->units = offset; units 63 sound/synth/util_mem.c unsigned int units, prev_offset; units 70 sound/synth/util_mem.c units = size; units 71 sound/synth/util_mem.c if (units & 1) units 72 sound/synth/util_mem.c units++; units 73 sound/synth/util_mem.c if (units > hdr->size) units 80 sound/synth/util_mem.c if (blk->offset - prev_offset >= units) units 84 sound/synth/util_mem.c if (hdr->size - prev_offset < units) units 88 sound/synth/util_mem.c return __snd_util_memblk_new(hdr, units, p->prev); units 97 sound/synth/util_mem.c __snd_util_memblk_new(struct snd_util_memhdr *hdr, unsigned int units, units 113 sound/synth/util_mem.c blk->size = units; units 116 sound/synth/util_mem.c hdr->used += units; units 602 tools/power/acpi/os_specific/service_layers/osunixxf.c acpi_status acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 timeout) units 607 tools/power/acpi/os_specific/service_layers/osunixxf.c acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units) units 715 tools/power/acpi/os_specific/service_layers/osunixxf.c acpi_os_wait_semaphore(acpi_handle handle, u32 units, u16 msec_timeout) units 833 tools/power/acpi/os_specific/service_layers/osunixxf.c acpi_status acpi_os_signal_semaphore(acpi_handle handle, u32 units) units 59 tools/power/x86/turbostat/turbostat.c unsigned int units = 1000000; /* MHz etc */ units 978 tools/power/x86/turbostat/turbostat.c 1.0 / units * t->aperf / interval_float); units 985 tools/power/x86/turbostat/turbostat.c outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), base_hz / units * t->aperf / t->mperf); units 988 tools/power/x86/turbostat/turbostat.c tsc / units * t->aperf / t->mperf / interval_float); units 992 tools/power/x86/turbostat/turbostat.c outp += sprintf(outp, "%s%.0f", (printed++ ? delim : ""), 1.0 * t->tsc/units/interval_float); units 68 tools/testing/selftests/size/get_size.c static int print_k_value(const char *s, unsigned long num, unsigned long units) units 76 tools/testing/selftests/size/get_size.c temp = (temp * units)/1024;