Home
last modified time | relevance | path

Searched refs:rem (Results 1 – 25 of 410) sorted by relevance

12345678910>>...17

/openbmc/linux/net/rds/
H A Dpage.c95 if (rem->r_page && bytes > (PAGE_SIZE - rem->r_offset)) { in rds_page_remainder_alloc()
98 rem->r_page = NULL; in rds_page_remainder_alloc()
102 if (rem->r_page && bytes <= (PAGE_SIZE - rem->r_offset)) { in rds_page_remainder_alloc()
103 sg_set_page(scat, rem->r_page, bytes, rem->r_offset); in rds_page_remainder_alloc()
106 if (rem->r_offset != 0) in rds_page_remainder_alloc()
112 rem->r_page = NULL; in rds_page_remainder_alloc()
133 if (rem->r_page) { in rds_page_remainder_alloc()
139 rem->r_page = page; in rds_page_remainder_alloc()
140 rem->r_offset = 0; in rds_page_remainder_alloc()
163 if (rem->r_page) in rds_page_exit()
[all …]
/openbmc/linux/lib/crypto/mpi/
H A Dmpi-div.c29 if (rem == divisor) { in mpi_fdiv_r()
37 mpi_add(rem, rem, divisor); in mpi_fdiv_r()
64 mpi_add(rem, rem, divisor); in mpi_fdiv_qr()
102 mpi_resize(rem, rsize); in mpi_tdiv_qr()
106 if (num != rem) { in mpi_tdiv_qr()
107 rem->nlimbs = num->nlimbs; in mpi_tdiv_qr()
108 rem->sign = num->sign; in mpi_tdiv_qr()
127 rp = rem->d; in mpi_tdiv_qr()
142 rem->nlimbs = rsize; in mpi_tdiv_qr()
228 rem->nlimbs = rsize; in mpi_tdiv_qr()
[all …]
/openbmc/linux/kernel/time/
H A Dtimeconv.c52 long days, rem; in time64_to_tm() local
56 rem = remainder; in time64_to_tm()
57 rem += offset; in time64_to_tm()
58 while (rem < 0) { in time64_to_tm()
59 rem += SECS_PER_DAY; in time64_to_tm()
62 while (rem >= SECS_PER_DAY) { in time64_to_tm()
63 rem -= SECS_PER_DAY; in time64_to_tm()
67 result->tm_hour = rem / SECS_PER_HOUR; in time64_to_tm()
68 rem %= SECS_PER_HOUR; in time64_to_tm()
69 result->tm_min = rem / 60; in time64_to_tm()
[all …]
/openbmc/libmctp/
H A Dcrc32.c12 uint32_t rem = 0xffffffff; in crc32() local
17 rem = rem ^ *buf8; in crc32()
19 rem = (rem >> 1) ^ ((rem & 1) * 0xEDB88320); in crc32()
24 return rem ^ 0xffffffff; in crc32()
/openbmc/phosphor-webui/app/common/styles/base/
H A Dtypography.scss10 line-height: 1.5rem;
25 font-size: 2.25rem;
27 padding-top: 0.5rem;
28 margin-bottom: 3rem;
33 font-size: 1.25rem;
39 font-size: 1rem;
45 font-size: 0.875rem;
51 font-size: 0.875rem;
68 font-size: 2rem;
/openbmc/phosphor-webui/app/server-health/styles/
H A Dsensors.scss23 margin-bottom: 1rem;
33 padding: 1rem;
61 margin-bottom: 1rem;
73 padding: 0.5rem 1rem;
81 margin-top: 0.5rem;
82 margin-bottom: 0.5rem;
89 padding: 0.5rem 1rem;
99 margin-top: 0.5rem;
100 margin-bottom: 0.5rem;
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/falcon/
H A Dv1.c32 u8 rem = size % 4; in nvkm_falcon_v1_load_imem() local
36 size -= rem; in nvkm_falcon_v1_load_imem()
51 if (rem) { in nvkm_falcon_v1_load_imem()
58 extra & (BIT(rem * 8) - 1)); in nvkm_falcon_v1_load_imem()
71 u8 rem = size % 4; in nvkm_falcon_v1_load_dmem() local
74 size -= rem; in nvkm_falcon_v1_load_dmem()
84 if (rem) { in nvkm_falcon_v1_load_dmem()
88 extra & (BIT(rem * 8) - 1)); in nvkm_falcon_v1_load_dmem()
/openbmc/webui-vue/src/assets/styles/bmc/custom/
H A D_base.scss12 font-size: 2.625rem;
19 font-size: 2.25rem;
26 font-size: 1.75rem;
33 font-size: 1.25rem;
40 font-size: 1rem;
47 font-size: 0.875rem;
/openbmc/linux/lib/math/
H A Ddiv64.c33 uint64_t rem = *n; in __div64_32() local
36 uint32_t high = rem >> 32; in __div64_32()
43 rem -= (uint64_t) (high*base) << 32; in __div64_32()
46 while ((int64_t)b > 0 && b < rem) { in __div64_32()
52 if (rem >= b) { in __div64_32()
53 rem -= b; in __div64_32()
61 return rem; in __div64_32()
188 u64 res = 0, div, rem; in mul_u64_u64_div_u64() local
208 div = div64_u64_rem(b, c, &rem); in mul_u64_u64_div_u64()
210 b = rem; in mul_u64_u64_div_u64()
/openbmc/linux/tools/testing/selftests/timens/
H A Dclock_nanosleep.c26 struct timespec *now, *rem; member
36 clock_nanosleep(args->clockid, args->abs ? TIMER_ABSTIME : 0, args->now, args->rem); in call_nanosleep()
43 struct timespec now = {}, rem; in run_test() local
44 struct thread_args args = { .now = &now, .rem = &rem, .clockid = clockid}; in run_test()
104 if (rem.tv_sec < 3300 || rem.tv_sec > 3900) { in run_test()
106 clockid, abs, rem.tv_sec); in run_test()
/openbmc/linux/arch/s390/lib/
H A Duaccess.c36 unsigned long rem; in raw_copy_from_user_key() local
66 : [size] "+&a" (size), [from] "+&a" (from), [to] "+&a" (to), [rem] "=&a" (rem) in raw_copy_from_user_key()
98 unsigned long rem; in raw_copy_to_user_key() local
128 : [size] "+&a" (size), [to] "+&a" (to), [from] "+&a" (from), [rem] "=&a" (rem) in raw_copy_to_user_key()
153 unsigned long rem; in __clear_user() local
180 : [size] "+&a" (size), [to] "+&a" (to), [rem] "=&a" (rem) in __clear_user()
/openbmc/u-boot/include/linux/
H A Dtime.h84 long days, rem; member
90 rem = ((long) *tim_p) % SECSPERDAY;
91 while (rem < 0)
93 rem += SECSPERDAY;
98 res->tm_hour = (int) (rem / SECSPERHOUR);
99 rem %= SECSPERHOUR;
100 res->tm_min = (int) (rem / SECSPERMIN);
101 res->tm_sec = (int) (rem % SECSPERMIN);
/openbmc/qemu/util/
H A Dhost-utils.c99 uint64_t rem, dhighest; in divu128() local
149 return rem >> sh; in divu128()
162 uint64_t rem; in divs128() local
198 return -rem; in divs128()
200 return rem; in divs128()
342 Int128 rem, dhighest; in divu256() local
394 rem = int128_urshift(rem, sh); in divu256()
395 return rem; in divu256()
408 Int128 rem; in divs256() local
444 return int128_neg(rem); in divs256()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_perf.c63 int rem = sizeof(perf->buf); in refill_buf() local
68 n = snprintf(ptr, rem, "%%BUSY"); in refill_buf()
70 rem -= n; in refill_buf()
74 n = snprintf(ptr, rem, "\t%s", perfcntr->name); in refill_buf()
76 rem -= n; in refill_buf()
96 n = snprintf(ptr, rem, "%3d.%d%%", val / 10, val % 10); in refill_buf()
98 rem -= n; in refill_buf()
103 n = snprintf(ptr, rem, "\t%5d.%02d", in refill_buf()
106 rem -= n; in refill_buf()
110 n = snprintf(ptr, rem, "\n"); in refill_buf()
[all …]
/openbmc/qemu/tests/unit/
H A Dtest-div128.c162 uint64_t rem; in test_divu128() local
168 rem = divu128(&tmp.low, &tmp.high, tmp.divisor); in test_divu128()
171 g_assert_cmpuint(rem, ==, tmp.remainder); in test_divu128()
178 int64_t rem; in test_divs128() local
184 rem = divs128(&tmp.low, &tmp.high, tmp.divisor); in test_divs128()
187 g_assert_cmpuint(rem, ==, tmp.remainder); in test_divs128()
/openbmc/u-boot/disk/
H A Dpart_mac.c27 long int rem; /* Remainder */ member
87 mb.rem *= 10 * ddesc->blk_size; in part_print_mac()
88 mb.rem += 512 * 1024; in part_print_mac()
89 mb.rem /= 1024 * 1024; in part_print_mac()
91 gb = ldiv(10 * mb.quot + mb.rem, 10240); in part_print_mac()
92 gb.rem += 512; in part_print_mac()
93 gb.rem /= 1024; in part_print_mac()
103 mb.quot, mb.rem, gb.quot, gb.rem, in part_print_mac()
/openbmc/phosphor-webui/app/common/styles/elements/
H A Dfile-upload.scss12 outline: 0.2rem solid $base-02--04;
20 padding-right: 0.5rem;
34 height: 2.5rem;
35 margin-bottom: 0.5rem;
36 padding: 0.5rem;
H A Dtoast.scss3 margin-top: 9rem;
7 font-size: 1.2rem;
17 padding-left: 1rem;
25 font-size: 1rem;
53 margin-right: 0.8rem;
/openbmc/u-boot/lib/
H A Dldiv.c8 long rem; member
17 result.rem = numer % denom; in ldiv()
35 if (numer >= 0 && result.rem < 0) in ldiv()
38 result.rem -= denom; in ldiv()
H A Ddiv64.c30 uint64_t rem = *n; in __div64_32() local
33 uint32_t high = rem >> 32; in __div64_32()
40 rem -= (uint64_t) (high*base) << 32; in __div64_32()
43 while ((int64_t)b > 0 && b < rem) { in __div64_32()
49 if (rem >= b) { in __div64_32()
50 rem -= b; in __div64_32()
58 return rem; in __div64_32()
/openbmc/phosphor-webui/app/common/styles/components/
H A Dalert-banner.scss2 padding: 1rem 1rem 0.75rem;
7 margin-right: 1rem;
11 width: 1.2rem;
H A Dtable.scss235 width: 1rem;
236 height: 1rem;
243 width: 1rem;
244 height: 1rem;
252 width: 1rem;
253 height: 1rem;
256 top: 0.15rem;
265 left: 0.2rem;
266 top: 0.15rem;
267 width: 0.6rem;
[all …]
/openbmc/linux/drivers/platform/surface/aggregator/
H A Dssh_parser.c69 bool sshp_find_syn(const struct ssam_span *src, struct ssam_span *rem) in sshp_find_syn() argument
75 rem->ptr = src->ptr + i; in sshp_find_syn()
76 rem->len = src->len - i; in sshp_find_syn()
82 rem->ptr = src->ptr + src->len - 1; in sshp_find_syn()
83 rem->len = 1; in sshp_find_syn()
87 rem->ptr = src->ptr + src->len; in sshp_find_syn()
88 rem->len = 0; in sshp_find_syn()
/openbmc/phosphor-webui/app/configuration/styles/
H A Dcard.scss9 padding: 1rem 1.5rem;
24 padding: 1rem 1.5rem;
/openbmc/linux/drivers/misc/mei/
H A Ddma-ring.c171 u32 rd_idx, rem, slots; in mei_dma_ring_read() local
191 rem = slots - (dbuf_depth - rd_idx); in mei_dma_ring_read()
194 rem = slots; in mei_dma_ring_read()
197 mei_dma_copy_from(dev, buf, rd_idx, rem); in mei_dma_ring_read()
248 u32 wr_idx, rem, slots; in mei_dma_ring_write() local
260 rem = slots - (hbuf_depth - wr_idx); in mei_dma_ring_write()
263 rem = slots; in mei_dma_ring_write()
266 mei_dma_copy_to(dev, buf, wr_idx, rem); in mei_dma_ring_write()

12345678910>>...17