/linux-6.1.9/arch/x86/include/asm/ |
D | div64.h | 43 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem() function 61 #define div_u64_rem div_u64_rem macro
|
/linux-6.1.9/net/ceph/ |
D | striper.c | 37 blockno = div_u64_rem(off, l->stripe_unit, &blockoff); in ceph_calc_file_object_mapping() 38 stripeno = div_u64_rem(blockno, l->stripe_count, &stripepos); in ceph_calc_file_object_mapping() 39 objsetno = div_u64_rem(stripeno, stripes_per_object, &objsetpos); in ceph_calc_file_object_mapping() 238 div_u64_rem(objoff, l->stripe_unit, &blockoff); in ceph_extent_to_file() 242 objsetno = div_u64_rem(objno, l->stripe_count, &stripepos); in ceph_extent_to_file()
|
/linux-6.1.9/fs/xfs/ |
D | xfs_iomap.h | 38 div_u64_rem(offset_fsb, extsz, &align); in xfs_aligned_fsb_count() 41 div_u64_rem(count_fsb, extsz, &align); in xfs_aligned_fsb_count()
|
/linux-6.1.9/lib/math/ |
D | div64.c | 78 quotient = div_u64_rem(-dividend, abs(divisor), (u32 *)remainder); in div_s64_rem() 83 quotient = div_u64_rem(dividend, abs(divisor), (u32 *)remainder); in div_s64_rem() 111 quot = div_u64_rem(dividend, divisor, &rem32); in div64_u64_rem()
|
/linux-6.1.9/include/linux/ |
D | math64.h | 26 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem() function 89 #ifndef div_u64_rem 90 static inline u64 div_u64_rem(u64 dividend, u32 divisor, u32 *remainder) in div_u64_rem() function 128 return div_u64_rem(dividend, divisor, &remainder); in div_u64()
|
/linux-6.1.9/fs/proc/ |
D | uptime.c | 31 idle.tv_sec = div_u64_rem(idle_nsec, NSEC_PER_SEC, &rem); in uptime_proc_show()
|
/linux-6.1.9/net/xdp/ |
D | xdp_umem.c | 185 npgs = div_u64_rem(size, PAGE_SIZE, &npgs_rem); in xdp_umem_reg() 191 chunks = (unsigned int)div_u64_rem(size, chunk_size, &chunks_rem); in xdp_umem_reg()
|
/linux-6.1.9/drivers/mtd/ubi/ |
D | upd.c | 89 vol->used_ebs = div_u64_rem(bytes, vol->usable_leb_size, in clear_update_marker() 276 lnum = div_u64_rem(vol->upd_received, vol->usable_leb_size, &offs); in ubi_more_update_data()
|
D | gluebi.c | 160 lnum = div_u64_rem(from, mtd->erasesize, &offs); in gluebi_read() 200 lnum = div_u64_rem(to, mtd->erasesize, &offs); in gluebi_write()
|
/linux-6.1.9/drivers/iio/frequency/ |
D | admv4420.c | 165 *val = div_u64_rem(st->lo_freq_hz, MICRO, val2); in admv4420_read_raw() 248 st->n_counter.int_val = div_u64_rem(st->n_counter.n_counter, 10, &st->n_counter.frac_val); in admv4420_calc_parameters()
|
/linux-6.1.9/kernel/time/ |
D | time.c | 512 ts.tv_sec = div_u64_rem(nsec, NSEC_PER_SEC, &rem); in ns_to_timespec64() 520 ts.tv_sec = -div_u64_rem(-nsec - 1, NSEC_PER_SEC, &rem) - 1; in ns_to_timespec64() 612 value->tv_sec = div_u64_rem((u64)jiffies * TICK_NSEC, in jiffies_to_timespec64()
|
/linux-6.1.9/drivers/net/wireless/ath/ath9k/ |
D | common-beacon.c | 28 div_u64_rem(tsf, divisor, &offset); in ath9k_get_next_tbtt()
|
/linux-6.1.9/sound/soc/sof/ |
D | compress.c | 307 div_u64_rem(rtd->total_bytes_available, rtd->buffer_size, &offset); in sof_compr_copy_playback() 328 div_u64_rem(rtd->total_bytes_transferred, rtd->buffer_size, &offset); in sof_compr_copy_capture()
|
/linux-6.1.9/net/netfilter/ |
D | xt_time.c | 85 div_u64_rem(time, SECONDS_PER_DAY, &v); in localtime_1()
|
/linux-6.1.9/drivers/media/pci/cobalt/ |
D | cobalt-cpld.c | 248 div_u64_rem((dco << 28) + f_xtal / 2, f_xtal, &d); in cobalt_cpld_set_freq()
|
/linux-6.1.9/drivers/nvdimm/ |
D | badrange.c | 193 end_sector = div_u64_rem(ns_offset + len, sector_size, &rem); in __add_badblock_range()
|
/linux-6.1.9/drivers/edac/ |
D | sb_edac.c | 1782 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() 1790 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() 1814 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() 1851 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() 1876 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() 1901 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() 1915 gb = div_u64_rem(tmp_mb, 1024, &mb); in get_memory_layout() 2311 gb = div_u64_rem(limit >> 20, 1024, &mb); in get_memory_error_data()
|
/linux-6.1.9/drivers/mtd/devices/ |
D | mtd_dataflash.c | 175 div_u64_rem(instr->len, priv->page_size, &rem); in dataflash_erase() 178 div_u64_rem(instr->addr, priv->page_size, &rem); in dataflash_erase()
|
D | phram.c | 316 div_u64_rem(len, (uint32_t)erasesize, &rem); in phram_setup()
|
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ptp.c | 75 quotient = div_u64_rem(delta, 1000000000ULL, &reminder); in stmmac_adjust_time()
|
/linux-6.1.9/drivers/net/ethernet/microchip/ |
D | lan743x_ptp.c | 1302 unsigned_seconds += div_u64_rem(time_step_ns, 1000000000LL, in lan743x_ptp_clock_step() 1323 unsigned_seconds -= div_u64_rem(time_step_ns, 1000000000LL, in lan743x_ptp_clock_step() 1339 seconds = (s32)div_u64_rem(abs_time_step_ns, 1000000000, in lan743x_ptp_clock_step() 1344 seconds = -((s32)div_u64_rem(abs_time_step_ns, 1000000000, in lan743x_ptp_clock_step()
|
/linux-6.1.9/drivers/iio/adc/ |
D | stm32-dfsdm-core.c | 261 divider = div_u64_rem(clk_freq, spi_freq, &rem); in stm32_dfsdm_parse_of()
|
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_taprio.c | 399 div_u64_rem(tmp, cycle_time, &rem); in lan966x_taprio_new_base_time()
|
/linux-6.1.9/arch/m68k/mac/ |
D | misc.c | 560 days = div_u64_rem(time, SECS_PER_DAY, &rem); in unmktime()
|
/linux-6.1.9/drivers/gpu/drm/msm/ |
D | msm_gpu.h | 443 rn = div_u64_rem(prio, NR_SCHED_PRIORITIES, &sp); in msm_gpu_convert_priority()
|