Home
last modified time | relevance | path

Searched refs:remain (Results 1 – 25 of 749) sorted by relevance

12345678910>>...30

/openbmc/linux/virt/kvm/
H A Dbinary_stats.c59 ssize_t remain = size; in kvm_stats_read() local
70 len = min(len, remain); in kvm_stats_read()
73 remain = len; in kvm_stats_read()
84 copylen = min(copylen, remain); in kvm_stats_read()
89 remain -= copylen; in kvm_stats_read()
104 copylen = min(copylen, remain); in kvm_stats_read()
109 remain -= copylen; in kvm_stats_read()
122 copylen = min(copylen, remain); in kvm_stats_read()
127 remain -= copylen; in kvm_stats_read()
134 copylen = min(copylen, remain); in kvm_stats_read()
/openbmc/linux/arch/um/kernel/skas/
H A Duaccess.c98 long size, remain, n; in buffer_op() local
101 remain = len; in buffer_op()
105 remain = (n < 0 ? remain : 0); in buffer_op()
110 remain -= size; in buffer_op()
111 if (remain == 0) in buffer_op()
114 while (addr < ((addr + remain) & PAGE_MASK)) { in buffer_op()
117 remain = (n < 0 ? remain : 0); in buffer_op()
122 remain -= PAGE_SIZE; in buffer_op()
124 if (remain == 0) in buffer_op()
129 remain = (n < 0 ? remain : 0); in buffer_op()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/llvm/llvm/
H A Dllvm-config16 remain=""
42 remain="${remain} ${arg}"
47 if [ "${remain}" != "" ]; then
48 output="${output} "$("$NEXT_LLVM_CONFIG" ${remain})
/openbmc/linux/drivers/staging/fbtft/
H A Dfbtft-bus.c125 size_t remain; in fbtft_write_vmem16_bus8() local
135 remain = len / 2; in fbtft_write_vmem16_bus8()
154 while (remain) { in fbtft_write_vmem16_bus8()
155 to_copy = min(tx_array_size, remain); in fbtft_write_vmem16_bus8()
157 to_copy, remain - to_copy); in fbtft_write_vmem16_bus8()
167 remain -= to_copy; in fbtft_write_vmem16_bus8()
179 size_t remain; in fbtft_write_vmem16_bus9() local
193 remain = len; in fbtft_write_vmem16_bus9()
198 while (remain) { in fbtft_write_vmem16_bus9()
201 to_copy, remain - to_copy); in fbtft_write_vmem16_bus9()
[all …]
/openbmc/linux/arch/um/drivers/
H A Dumcast_kern.c73 char *port_str = NULL, *ttl_str = NULL, *remain; in mcast_setup() local
81 remain = split_if_spec(str, mac_out, &init->addr, &port_str, &ttl_str, in mcast_setup()
83 if (remain != NULL) { in mcast_setup()
85 "specification : '%s'\n", remain); in mcast_setup()
119 char *lport_str = NULL, *rport_str = NULL, *remain; in ucast_setup() local
127 remain = split_if_spec(str, mac_out, &init->addr, in ucast_setup()
129 if (remain != NULL) { in ucast_setup()
131 "specification : '%s'\n", remain); in ucast_setup()
H A Dnet_user.c52 int remain, ret, expected; in read_output() local
62 ret = read(fd, &remain, sizeof(remain)); in read_output()
64 if (ret != sizeof(remain)) { in read_output()
67 expected = sizeof(remain); in read_output()
72 while (remain != 0) { in read_output()
73 expected = (remain < len) ? remain : len; in read_output()
81 remain -= ret; in read_output()
H A Dpcap_kern.c56 char *remain, *host_if = NULL, *options[2] = { NULL, NULL }; in pcap_setup() local
65 remain = split_if_spec(str, &host_if, &init->filter, in pcap_setup()
67 if (remain != NULL) { in pcap_setup()
69 "specification : '%s'\n", remain); in pcap_setup()
H A Dvde_kern.c73 char *remain, *port_str = NULL, *mode_str = NULL, *last; in vde_setup() local
82 remain = split_if_spec(str, &init->vde_switch, mac_out, &port_str, in vde_setup()
85 if (remain != NULL) in vde_setup()
87 "'%s'\n", remain); in vde_setup()
H A Ddaemon_kern.c64 char *remain; in daemon_setup() local
70 remain = split_if_spec(str, mac_out, &init->sock_type, &init->ctl_sock, in daemon_setup()
72 if (remain != NULL) in daemon_setup()
/openbmc/linux/drivers/gpu/drm/qxl/
H A Dqxl_image.c136 int remain; in qxl_image_init_helper() local
141 remain = linesize * height; in qxl_image_init_helper()
145 while (remain > 0) { in qxl_image_init_helper()
156 size = min(size, remain); in qxl_image_init_helper()
162 remain -= size; in qxl_image_init_helper()
170 remain = linesize; in qxl_image_init_helper()
173 while (remain > 0) { in qxl_image_init_helper()
176 size = min((int)(PAGE_SIZE - page_offset), remain); in qxl_image_init_helper()
182 remain -= size; in qxl_image_init_helper()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_print.c84 if (!iterator->remain) in __drm_puts_coredump()
99 if (copy > iterator->remain) in __drm_puts_coredump()
100 copy = iterator->remain; in __drm_puts_coredump()
107 iterator->remain -= copy; in __drm_puts_coredump()
111 len = min_t(ssize_t, strlen(str), iterator->remain); in __drm_puts_coredump()
116 iterator->remain -= len; in __drm_puts_coredump()
127 if (!iterator->remain) in __drm_printfn_coredump()
140 if ((iterator->offset >= iterator->start) && (len < iterator->remain)) { in __drm_printfn_coredump()
144 iterator->remain, "%pV", vaf); in __drm_printfn_coredump()
147 iterator->remain -= len; in __drm_printfn_coredump()
/openbmc/linux/drivers/remoteproc/
H A Dmtk_scp_ipi.c90 unsigned int i = 0, remain; in scp_memcpy_aligned() local
101 remain = (len - i) % 4; in scp_memcpy_aligned()
103 if (remain > 0) { in scp_memcpy_aligned()
104 val = readl_relaxed(dst + len - remain); in scp_memcpy_aligned()
105 memcpy(&val, src + len - remain, remain); in scp_memcpy_aligned()
106 writel_relaxed(val, dst + len - remain); in scp_memcpy_aligned()
/openbmc/linux/fs/adfs/
H A Ddir.c21 unsigned int index, remain; in adfs_dir_copyfrom() local
25 remain = sb->s_blocksize - offset; in adfs_dir_copyfrom()
26 if (index + (remain < len) >= dir->nr_buffers) in adfs_dir_copyfrom()
29 if (remain < len) { in adfs_dir_copyfrom()
31 dst += remain; in adfs_dir_copyfrom()
32 len -= remain; in adfs_dir_copyfrom()
46 unsigned int index, remain; in adfs_dir_copyto() local
50 remain = sb->s_blocksize - offset; in adfs_dir_copyto()
54 if (remain < len) { in adfs_dir_copyto()
56 src += remain; in adfs_dir_copyto()
[all …]
/openbmc/linux/drivers/media/usb/stk1160/
H A Dstk1160-video.c106 int remain; in stk1160_copy_video() local
121 remain = len; in stk1160_copy_video()
134 lencopy = remain; in stk1160_copy_video()
149 remain = lencopy; in stk1160_copy_video()
153 if (lencopy == 0 || remain == 0) in stk1160_copy_video()
172 remain -= lencopy; in stk1160_copy_video()
175 while (remain > 0) { in stk1160_copy_video()
181 if (remain < bytesperline) in stk1160_copy_video()
182 lencopy = remain; in stk1160_copy_video()
197 remain = lencopy; in stk1160_copy_video()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A Di915_ioctl.c49 int remain; in i915_reg_read_ioctl() local
53 remain = ARRAY_SIZE(reg_read_whitelist); in i915_reg_read_ioctl()
54 while (remain) { in i915_reg_read_ioctl()
65 remain--; in i915_reg_read_ioctl()
68 if (!remain) in i915_reg_read_ioctl()
H A Di915_gem.c235 u64 remain; in i915_gem_shmem_pread() local
253 remain = args->size; in i915_gem_shmem_pread()
265 remain -= length; in i915_gem_shmem_pread()
407 remain = args->size; in i915_gem_gtt_pread()
410 while (remain > 0) { in i915_gem_gtt_pread()
420 page_length = remain < page_length ? remain : page_length; in i915_gem_gtt_pread()
588 remain = args->size; in i915_gem_gtt_pwrite_fast()
589 while (remain) { in i915_gem_gtt_pwrite_fast()
599 page_length = remain < page_length ? remain : page_length; in i915_gem_gtt_pwrite_fast()
675 u64 remain; in i915_gem_shmem_pwrite() local
[all …]
/openbmc/qemu/tests/bench/
H A Dbenchmark-crypto-cipher.c29 size_t remain; in test_cipher_speed() local
62 remain = total; in test_cipher_speed()
63 while (remain) { in test_cipher_speed()
69 remain -= chunk_size; in test_cipher_speed()
79 remain = total; in test_cipher_speed()
80 while (remain) { in test_cipher_speed()
86 remain -= chunk_size; in test_cipher_speed()
H A Dbenchmark-crypto-hash.c29 size_t remain; in test_hash_speed() local
40 remain = total; in test_hash_speed()
41 while (remain) { in test_hash_speed()
47 remain -= opts->chunk_size; in test_hash_speed()
/openbmc/openbmc/poky/meta/lib/oe/
H A Dprservice.py54 (remain, sep, checksum) = v.rpartition('$')
55 (remain, sep, pkgarch) = remain.rpartition('$')
56 (remain, sep, version) = remain.rpartition('$')
57 if (remain + '$' != prefix) or \
63 value = int(d.getVar(remain + '$' + version + '$' + pkgarch + '$' + checksum))
/openbmc/linux/drivers/gpu/drm/panel/
H A Dpanel-samsung-s6e63m0-dsi.c43 int remain; in s6e63m0_dsi_dcs_write() local
53 remain = len - 1; in s6e63m0_dsi_dcs_write()
54 chunk = remain; in s6e63m0_dsi_dcs_write()
67 while (cmdwritten < remain) { in s6e63m0_dsi_dcs_write()
68 chunk = remain - cmdwritten; in s6e63m0_dsi_dcs_write()
/openbmc/linux/drivers/spi/
H A Dspi-sh.c154 int remain = t->len; in spi_sh_send() local
163 while (remain > 0) { in spi_sh_send()
164 cur_len = min(SPI_SH_FIFO_SIZE, remain); in spi_sh_send()
181 remain -= cur_len; in spi_sh_send()
184 if (remain > 0) { in spi_sh_send()
219 int remain = t->len; in spi_sh_receive() local
235 while (remain > 0) { in spi_sh_receive()
236 if (remain >= SPI_SH_FIFO_SIZE) { in spi_sh_receive()
249 cur_len = min(SPI_SH_FIFO_SIZE, remain); in spi_sh_receive()
256 remain -= cur_len; in spi_sh_receive()
/openbmc/linux/drivers/acpi/apei/
H A Dbert.c51 int remain = region_len; in bert_print_all() local
55 while (remain >= sizeof(struct acpi_bert_region)) { in bert_print_all()
57 if (remain < estatus_len) { in bert_print_all()
89 remain -= estatus_len; in bert_print_all()
/openbmc/u-boot/drivers/spi/
H A Dsh_spi.c137 int remain = (int)len; in sh_spi_send() local
142 while (remain > 0) { in sh_spi_send()
143 cur_len = (remain < SH_SPI_FIFO_SIZE) ? in sh_spi_send()
144 remain : SH_SPI_FIFO_SIZE; in sh_spi_send()
161 remain -= cur_len; in sh_spi_send()
164 if (remain > 0) in sh_spi_send()
/openbmc/linux/drivers/mmc/host/
H A Dmoxart-mmc.c164 int remain; in moxart_next_sg() local
172 remain = host->data_len - data->bytes_xfered; in moxart_next_sg()
173 if (remain > 0 && remain < host->data_remain) in moxart_next_sg()
174 host->data_remain = remain; in moxart_next_sg()
308 u32 *sgp, len = 0, remain, status; in moxart_transfer_pio() local
314 remain = host->data_remain; in moxart_transfer_pio()
317 while (remain > 0) { in moxart_transfer_pio()
329 remain -= len; in moxart_transfer_pio()
333 while (remain > 0) { in moxart_transfer_pio()
345 remain -= len; in moxart_transfer_pio()
[all …]
/openbmc/phosphor-ipmi-blobs/example/
H A Dexample.cpp86 uint32_t remain = sizeof(sess->buffer) - offset; in read() local
87 uint32_t numBytes = std::min(remain, requestedSize); in read()
108 uint32_t remain = sizeof(sess->buffer) - offset; in write() local
109 if (data.size() > remain) in write()

12345678910>>...30