Searched refs:remaining (Results 1 - 200 of 1178) sorted by relevance

123456

/linux-4.1.27/arch/alpha/lib/
H A Dsrm_puts.c11 long remaining, written; srm_puts() local
16 for (remaining = len; remaining > 0; remaining -= written) srm_puts()
18 written = callback_puts(0, str, remaining); srm_puts()
/linux-4.1.27/include/net/
H A Dnexthop.h7 static inline int rtnh_ok(const struct rtnexthop *rtnh, int remaining) rtnh_ok() argument
9 return remaining >= sizeof(*rtnh) && rtnh_ok()
11 rtnh->rtnh_len <= remaining; rtnh_ok()
15 int *remaining) rtnh_next()
19 *remaining -= totlen; rtnh_next()
14 rtnh_next(const struct rtnexthop *rtnh, int *remaining) rtnh_next() argument
H A Dnetlink.h62 * nlmsg_ok(nlh, remaining) does nlh fit into remaining bytes?
63 * nlmsg_next(nlh, remaining) get next netlink message
145 * nla_ok(nla, remaining) does nla fit into remaining bytes?
146 * nla_next(nla, remaining) get next netlink attribute
329 * nlmsg_ok - check if the netlink message fits into the remaining bytes
331 * @remaining: number of bytes remaining in message stream
333 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) nlmsg_ok() argument
335 return (remaining >= (int) sizeof(struct nlmsghdr) && nlmsg_ok()
337 nlh->nlmsg_len <= remaining); nlmsg_ok()
343 * @remaining: number of bytes remaining in message stream
346 * decrements remaining by the size of the current message.
349 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) nlmsg_next() argument
353 *remaining -= totlen; nlmsg_next()
428 * @rem: initialized to len, holds bytes currently remaining in stream
594 * @rem: initialized to len, holds bytes currently remaining in stream
684 * nla_ok - check if the netlink attribute fits into the remaining bytes
686 * @remaining: number of bytes remaining in attribute stream
688 static inline int nla_ok(const struct nlattr *nla, int remaining) nla_ok() argument
690 return remaining >= (int) sizeof(*nla) && nla_ok()
692 nla->nla_len <= remaining; nla_ok()
698 * @remaining: number of bytes remaining in attribute stream
701 * decrements remaining by the size of the current attribute.
703 static inline struct nlattr *nla_next(const struct nlattr *nla, int *remaining) nla_next() argument
707 *remaining -= totlen; nla_next()
1220 * @rem: initialized to len, holds bytes currently remaining in stream
1231 * @rem: initialized to len, holds bytes currently remaining in stream
1239 * @rem: bytes remaining in stream
/linux-4.1.27/arch/ia64/hp/sim/boot/
H A Dboot_head.S122 st8 [r18]=r0,16 /* clear remaining bits */
124 st8 [r29]=r0,16 /* clear remaining bits */
125 st8 [r18]=r0,16 /* clear remaining bits */
128 st8 [r18]=r0,16 /* clear remaining bits */
131 st8 [r29]=r0,16 /* clear remaining bits */
132 st8 [r18]=r0,16 /* clear remaining bits */
136 st8 [r18]=r0,16 /* clear remaining bits */
138 st8 [r29]=r0,16 /* clear remaining bits */
139 st8 [r18]=r0,16 /* clear remaining bits */
142 st8 [r18]=r0,16 /* clear remaining bits */
144 st8 [r29]=r0,16 /* clear remaining bits */
145 st8 [r18]=r0,16 /* clear remaining bits */
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Daux.c72 u8 remaining = msg->len; aux_xfer() local
75 while (remaining) { aux_xfer()
76 u8 cnt = (remaining > 16) ? 16 : remaining; aux_xfer()
84 if (mcnt || remaining > 16) aux_xfer()
94 remaining -= cnt; aux_xfer()
H A Dbit.c194 u8 remaining = msg->len; i2c_bit_xfer() local
202 while (!ret && remaining--) i2c_bit_xfer()
203 ret = i2c_get_byte(port, ptr++, !remaining); i2c_bit_xfer()
205 while (!ret && remaining--) i2c_bit_xfer()
/linux-4.1.27/include/crypto/
H A Dtwofish.h14 * subkeys, K[0] through K[7]. k holds the remaining, "round" subkeys. Note
/linux-4.1.27/drivers/md/bcache/
H A Dclosure.c27 atomic_set(&cl->remaining, closure_put_after_sub()
48 closure_put_after_sub(cl, atomic_sub_return(v, &cl->remaining)); closure_sub()
57 closure_put_after_sub(cl, atomic_dec_return(&cl->remaining)); closure_put()
103 if (atomic_read(&cl->remaining) & CLOSURE_WAITING) closure_wait()
107 atomic_add(CLOSURE_WAITING + 1, &cl->remaining); closure_wait()
126 if ((atomic_read(&cl->remaining) & closure_sync()
178 int r = atomic_read(&cl->remaining); debug_seq_show()
H A Dclosure.h123 * must be cleared before remaining hits 0. Primarily to help guard
129 * CLOSURE_STACK: Sanity check - remaining should never hit 0 on a
161 atomic_t remaining; member in struct:closure
219 if (atomic_read(&cl->remaining) & CLOSURE_SLEEPING) __closure_end_sleep()
220 atomic_sub(CLOSURE_SLEEPING, &cl->remaining); __closure_end_sleep()
229 if (!(atomic_read(&cl->remaining) & CLOSURE_SLEEPING)) __closure_start_sleep()
230 atomic_add(CLOSURE_SLEEPING, &cl->remaining); __closure_start_sleep()
235 atomic_sub(CLOSURE_RUNNING, &cl->remaining); closure_set_stopped()
265 BUG_ON((atomic_inc_return(&cl->remaining) & closure_get()
268 atomic_inc(&cl->remaining); closure_get()
285 atomic_set(&cl->remaining, CLOSURE_REMAINING_INITIALIZER); closure_init()
294 atomic_set(&cl->remaining, CLOSURE_REMAINING_INITIALIZER|CLOSURE_STACK); closure_init_stack()
/linux-4.1.27/drivers/gpu/drm/radeon/
H A Datombios_i2c.c110 int i, remaining, current_count, buffer_offset, max_bytes, ret; radeon_atom_hw_i2c_xfer() local
127 remaining = p->len; radeon_atom_hw_i2c_xfer()
137 while (remaining) { radeon_atom_hw_i2c_xfer()
138 if (remaining > max_bytes) radeon_atom_hw_i2c_xfer()
141 current_count = remaining; radeon_atom_hw_i2c_xfer()
147 remaining -= current_count; radeon_atom_hw_i2c_xfer()
H A Dradeon_i2c.c586 int i, j, remaining, current_count, buffer_offset, ret = num; r500_hw_i2c_xfer() local
705 remaining = p->len; r500_hw_i2c_xfer()
708 while (remaining) { r500_hw_i2c_xfer()
709 if (remaining > 15) r500_hw_i2c_xfer()
712 current_count = remaining; r500_hw_i2c_xfer()
744 remaining -= current_count; r500_hw_i2c_xfer()
748 while (remaining) { r500_hw_i2c_xfer()
749 if (remaining > 15) r500_hw_i2c_xfer()
752 current_count = remaining; r500_hw_i2c_xfer()
785 remaining -= current_count; r500_hw_i2c_xfer()
/linux-4.1.27/lib/xz/
H A Dxz_dec_test.c105 size_t remaining; xz_dec_test_write() local
119 remaining = size; xz_dec_test_write()
120 while ((remaining > 0 || buffers.out_pos == buffers.out_size) xz_dec_test_write()
124 buffers.in_size = min(remaining, sizeof(buffer_in)); xz_dec_test_write()
129 remaining -= buffers.in_size; xz_dec_test_write()
145 return size - remaining - (buffers.in_size - buffers.in_pos); xz_dec_test_write()
/linux-4.1.27/drivers/target/tcm_fc/
H A Dtfc_io.c67 size_t remaining; ft_queue_data_in() local
93 remaining = se_cmd->data_length; ft_queue_data_in()
98 BUG_ON(remaining && !se_cmd->t_data_sg); ft_queue_data_in()
99 if (remaining) { ft_queue_data_in()
107 use_sg = !(remaining % 4); ft_queue_data_in()
109 while (remaining) { ft_queue_data_in()
119 mem_len = min((size_t)sg->length, remaining); ft_queue_data_in()
131 frame_len = min(frame_len, remaining); ft_queue_data_in()
174 remaining -= tlen; ft_queue_data_in()
179 if (!remaining) ft_queue_data_in()
186 "xid <0x%x>, remaining %zu, " ft_queue_data_in()
189 remaining, lport->lso_max); ft_queue_data_in()
/linux-4.1.27/include/uapi/linux/netfilter_bridge/
H A Debt_mark_t.h8 * The remaining bits designate the action. By making the set
/linux-4.1.27/arch/arm/mach-s3c64xx/include/mach/
H A Dregs-clock.h19 * FIXME: Remove remaining definitions
/linux-4.1.27/drivers/usb/host/whci/
H A Dqset.c220 * remaining in this transfer then iAlt cannot be set qset_add_qtds()
268 size_t remaining, offset; qset_copy_bounce_to_sg() local
271 remaining = std->len; qset_copy_bounce_to_sg()
276 while (remaining) { qset_copy_bounce_to_sg()
279 len = min(sg->length - offset, remaining); qset_copy_bounce_to_sg()
283 remaining -= len; qset_copy_bounce_to_sg()
346 * qset_free_stds - free any remaining sTDs for an URB.
438 size_t remaining; qset_add_urb_sg() local
448 remaining = urb->transfer_buffer_length; qset_add_urb_sg()
456 if (remaining == 0) { qset_add_urb_sg()
461 dma_remaining = min_t(size_t, sg_dma_len(sg), remaining); qset_add_urb_sg()
530 remaining -= dma_len; qset_add_urb_sg()
559 size_t remaining; qset_add_urb_sg_linearize() local
569 remaining = urb->transfer_buffer_length; qset_add_urb_sg_linearize()
576 if (remaining == 0) { qset_add_urb_sg_linearize()
580 sg_remaining = min_t(size_t, remaining, sg->length); qset_add_urb_sg_linearize()
608 remaining -= len; qset_add_urb_sg_linearize()
643 int remaining = urb->transfer_buffer_length; qset_add_urb() local
667 ntds_remaining = DIV_ROUND_UP(remaining, QTD_MAX_XFER_SIZE); qset_add_urb()
675 std_len = remaining; qset_add_urb()
691 remaining -= std_len; qset_add_urb()
/linux-4.1.27/include/linux/
H A Dsyslog.h30 /* Read all messages remaining in the ring buffer. */
32 /* Read and clear all messages remaining in the ring buffer */
H A Ddtlk.h56 remaining. (Total internal buffer
78 unsigned char free_ram; /* # pages (truncated) remaining for
H A Dpmu.h67 unsigned int time_remaining; /* remaining time */
H A Dsplice.h27 size_t total_len; /* remaining length */
H A Djournal-head.h93 * Doubly-linked list of buffers still remaining to be flushed
H A Dproportions.h28 * counter bits, the remaining upper bits the period counter.
H A Dsungem_phy.h62 * filled, the remaining fields will be filled on return
H A Dcacheinfo.h44 * keeping, the remaining members form the core properties of the cache
H A Dkref.h64 * function returns 0, you still can not count on the kref from remaining in
93 * function returns 0, you still can not count on the kref from remaining in
H A Dposix-clock.h47 * @timer_gettime: Get remaining time and interval of a timer
H A Dswapops.h14 * remaining bits. Although `type' itself needs only five bits, we allow for
/linux-4.1.27/arch/c6x/include/asm/
H A Dirq.h26 * are reserved. The remaining 12 vectors are used to route SoC interrupts.
32 * feed into one of the 12 general interrupt vectors. The remaining 8 vectors
/linux-4.1.27/drivers/char/
H A Dps3flash.c112 size_t remaining, n; ps3flash_read() local
133 remaining = count; ps3flash_read()
135 n = min_t(u64, remaining, dev->bounce_size - offset); ps3flash_read()
162 remaining -= n; ps3flash_read()
165 } while (remaining > 0); ps3flash_read()
181 size_t remaining, n; ps3flash_write() local
202 remaining = count; ps3flash_write()
204 n = min_t(u64, remaining, dev->bounce_size - offset); ps3flash_write()
237 remaining -= n; ps3flash_write()
240 } while (remaining > 0); ps3flash_write()
/linux-4.1.27/drivers/usb/class/
H A Dusbtmc.c441 size_t remaining; usbtmc_read() local
472 remaining = count; usbtmc_read()
473 this_part = remaining; usbtmc_read()
476 while (remaining > 0) { usbtmc_read()
478 dev_dbg(dev, "usb_bulk_msg_in: remaining(%zu), count(%zu)\n", remaining, count); usbtmc_read()
480 if (remaining > USBTMC_SIZE_IOBUFFER - USBTMC_HEADER_SIZE - 3) usbtmc_read()
483 this_part = remaining; usbtmc_read()
501 dev_dbg(dev, "usb_bulk_msg: retval(%u), done(%zu), remaining(%zu), actual(%d)\n", retval, done, remaining, actual); usbtmc_read()
555 if (remaining > n_characters) usbtmc_read()
556 remaining = n_characters; usbtmc_read()
558 if (actual > remaining) usbtmc_read()
559 actual = remaining; usbtmc_read()
571 remaining -= actual; usbtmc_read()
575 remaining = 0; usbtmc_read()
577 dev_dbg(dev, "Bulk-IN header: remaining(%zu), buf(%p), buffer(%p) done(%zu)\n", remaining,buf,buffer,done); usbtmc_read()
589 if (actual > remaining) usbtmc_read()
590 actual = remaining; usbtmc_read()
592 remaining -= actual; usbtmc_read()
594 dev_dbg(dev, "Bulk-IN header cont: actual(%u), done(%zu), remaining(%zu), buf(%p), buffer(%p)\n", actual, done, remaining,buf,buffer); usbtmc_read()
624 int remaining; usbtmc_write() local
640 remaining = count; usbtmc_write()
643 while (remaining > 0) { usbtmc_write()
644 if (remaining > USBTMC_SIZE_IOBUFFER - USBTMC_HEADER_SIZE) { usbtmc_write()
648 this_part = remaining; usbtmc_write()
699 remaining -= this_part; usbtmc_write()
/linux-4.1.27/drivers/media/tuners/
H A Dtda18218.c29 int ret = 0, len2, remaining; tda18218_wr_regs() local
46 for (remaining = len; remaining > 0; tda18218_wr_regs()
47 remaining -= (priv->cfg->i2c_wr_max - 1)) { tda18218_wr_regs()
48 len2 = remaining; tda18218_wr_regs()
53 buf[0] = reg + len - remaining; tda18218_wr_regs()
54 memcpy(&buf[1], &val[len - remaining], len2); tda18218_wr_regs()
H A Dsi2157.c82 int ret, len, remaining; si2157_init() local
166 for (remaining = fw->size; remaining > 0; remaining -= 17) { si2157_init()
167 len = fw->data[fw->size - remaining]; si2157_init()
173 memcpy(cmd.args, &fw->data[(fw->size - remaining) + 1], len); si2157_init()
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
H A Dec168.c214 int ret, len, remaining; ec168_download_firmware() local
219 for (remaining = fw->size; remaining > 0; remaining -= LEN_MAX) { ec168_download_firmware()
220 len = remaining; ec168_download_firmware()
225 req.data = (u8 *) &fw->data[fw->size - remaining]; ec168_download_firmware()
226 req.index = fw->size - remaining; ec168_download_firmware()
H A Daf9015.c354 int i, len, remaining, ret; af9015_download_firmware() local
368 for (remaining = fw->size; remaining > 0; remaining -= LEN_MAX) { af9015_download_firmware()
369 len = remaining; af9015_download_firmware()
374 req.data = (u8 *) &fw->data[fw->size - remaining]; af9015_download_firmware()
375 req.addr = FW_ADDR + fw->size - remaining; af9015_download_firmware()
/linux-4.1.27/tools/perf/ui/stdio/
H A Dhist.c72 fprintf(stderr, "Not enough memory to display remaining hits\n"); init_rem_hits()
88 u64 remaining; __callchain__fprintf_graph() local
93 remaining = total_samples; __callchain__fprintf_graph()
102 remaining -= cumul; __callchain__fprintf_graph()
108 * Except if we have remaining filtered hits. They will __callchain__fprintf_graph()
112 if (!next && (callchain_param.mode != CHAIN_GRAPH_REL || !remaining)) __callchain__fprintf_graph()
145 remaining && remaining != total_samples) { __callchain__fprintf_graph()
153 remaining, left_margin); __callchain__fprintf_graph()
/linux-4.1.27/drivers/staging/android/
H A Dtimed_output.h25 /* returns the current number of milliseconds remaining on the timer */
H A Dtimed_output.c34 int remaining = tdev->get_time(tdev); enable_show() local
36 return sprintf(buf, "%d\n", remaining); enable_show()
/linux-4.1.27/arch/x86/pci/
H A Dlegacy.c10 * Discover remaining PCI buses in case there are peer host bridges.
/linux-4.1.27/arch/sparc/include/asm/
H A Dmmu_context_32.h20 * any remaining processor-specific state.
/linux-4.1.27/arch/mips/include/asm/
H A Dsocket.h41 * * remaining bits are used as flags. */
/linux-4.1.27/arch/avr32/lib/
H A Dcsum_partial.S31 /* checksum any remaining bytes at the end */
/linux-4.1.27/arch/m32r/kernel/
H A Dirq.c14 * entry and irq statistics code. All the remaining irq logic is
/linux-4.1.27/arch/alpha/include/uapi/asm/
H A Dgentrap.h35 /* the remaining codes (-26..-1023) are reserved. */
/linux-4.1.27/arch/alpha/kernel/
H A Dsrmcons.c94 long c, remaining = count; srmcons_do_write() local
99 for (cur = (char *)buf; remaining > 0; ) { srmcons_do_write()
105 for (c = 0; c < min_t(long, 128L, remaining) && !need_cr; c++) srmcons_do_write()
112 remaining -= result.bits.c; srmcons_do_write()
/linux-4.1.27/drivers/md/
H A Ddm-io.c288 sector_t remaining = where->count; do_region() local
318 dm_sector_div_up(remaining, (PAGE_SIZE >> SECTOR_SHIFT))); do_region()
321 bio->bi_iter.bi_sector = where->sector + (where->count - remaining); do_region()
327 num_sectors = min_t(sector_t, special_cmd_max_sectors, remaining); do_region()
329 remaining -= num_sectors; do_region()
336 num_sectors = min_t(sector_t, special_cmd_max_sectors, remaining); do_region()
340 remaining -= num_sectors; do_region()
342 } else while (remaining) { do_region()
347 len = min(len, to_bytes(remaining)); do_region()
352 remaining -= to_sector(len); do_region()
358 } while (remaining); do_region()
H A Draid1.h119 atomic_t remaining; /* 'have we finished' count, member in struct:r1bio
122 atomic_t behind_remaining; /* number of write-behind ios remaining
H A Ddm-uevent.c180 * @nr_valid_paths: number of valid paths remaining
H A Draid10.c428 if (atomic_dec_and_test(&r10_bio->remaining)) { one_write_done()
1439 atomic_set(&r10_bio->remaining, 1); __make_request()
1461 atomic_inc(&r10_bio->remaining); __make_request()
1504 atomic_inc(&r10_bio->remaining); __make_request()
1514 /* Don't remove the bias on 'remaining' (one_write_done) until __make_request()
1945 atomic_dec_and_test(&r10_bio->remaining)) { end_sync_read()
1957 while (atomic_dec_and_test(&r10_bio->remaining)) { end_sync_request()
2043 atomic_set(&r10_bio->remaining, 1); sync_request_write()
2115 atomic_inc(&r10_bio->remaining); sync_request_write()
2139 atomic_inc(&r10_bio->remaining); sync_request_write()
2146 if (atomic_dec_and_test(&r10_bio->remaining)) { sync_request_write()
2885 * This link is counted in ->remaining. When the r10_bio that points to NULL
2886 * has its remaining count decremented to 0, the whole complex operation
3066 atomic_set(&r10_bio->remaining, 0); sync_request()
3070 atomic_inc(&rb2->remaining); sync_request()
3154 atomic_inc(&r10_bio->remaining); sync_request()
3183 atomic_inc(&r10_bio->remaining); sync_request()
3222 atomic_dec(&rb2->remaining); sync_request()
3256 atomic_set(&r10_bio->remaining, 0); sync_request()
3294 atomic_inc(&r10_bio->remaining); sync_request()
4368 atomic_set(&r10_bio->remaining, 0); reshape_request()
4464 atomic_inc(&r10_bio->remaining); reshape_request()
4506 atomic_set(&r10_bio->remaining, 1); reshape_request_write()
4522 atomic_inc(&r10_bio->remaining); reshape_request_write()
4647 if (!atomic_dec_and_test(&r10_bio->remaining)) end_reshape_request()
H A Draid10.h93 atomic_t remaining; /* 'have we finished' count, member in struct:r10bio
H A Ddm-ioctl.c1106 size_t remaining, len, used = 0; retrieve_status() local
1122 remaining = len - (outptr - outbuf); retrieve_status()
1123 if (remaining <= sizeof(struct dm_target_spec)) { retrieve_status()
1137 remaining = len - (outptr - outbuf); retrieve_status()
1138 if (remaining <= 0) { retrieve_status()
1147 ti->type->status(ti, type, status_flags, outptr, remaining); retrieve_status()
1152 if (l == remaining) { retrieve_status()
/linux-4.1.27/drivers/staging/speakup/
H A Dspeakup_dtlk.h29 are remaining in DoubleTalk's input
47 u_char free_ram; /* # pages (truncated) remaining for
/linux-4.1.27/drivers/usb/musb/
H A Dtusb6010_omap.c117 unsigned long remaining, flags, pio; tusb_omap_dma_cb() local
135 remaining = musb_readl(ep_conf, TUSB_EP_TX_OFFSET); tusb_omap_dma_cb()
137 remaining = musb_readl(ep_conf, TUSB_EP_RX_OFFSET); tusb_omap_dma_cb()
139 remaining = TUSB_EP_CONFIG_XFR_SIZE(remaining); tusb_omap_dma_cb()
142 if (unlikely(remaining > chdat->transfer_len)) { tusb_omap_dma_cb()
145 remaining); tusb_omap_dma_cb()
146 remaining = 0; tusb_omap_dma_cb()
149 channel->actual_len = chdat->transfer_len - remaining; tusb_omap_dma_cb()
152 dev_dbg(musb->controller, "DMA remaining %lu/%u\n", remaining, chdat->transfer_len); tusb_omap_dma_cb()
154 /* Transfer remaining 1 - 31 bytes */ tusb_omap_dma_cb()
158 dev_dbg(musb->controller, "Using PIO for remaining %lu bytes\n", pio); tusb_omap_dma_cb()
H A Dcppi_dma.h29 u32 tx_info; /* flags, remaining buflen */
/linux-4.1.27/drivers/scsi/libfc/
H A Dfc_libfc.c106 * @nents: pointer to the remaining number of entries in the SG list.
116 size_t remaining = len; fc_copy_buffer_to_sglist() local
119 while (remaining > 0 && sg) { fc_copy_buffer_to_sglist()
135 sg_bytes = min(remaining, sg->length - *offset); fc_copy_buffer_to_sglist()
151 remaining -= sg_bytes; fc_copy_buffer_to_sglist()
/linux-4.1.27/arch/metag/lib/
H A Dmemcpy.S37 ! the source to the destination until the remaining data has an 8 byte
43 SUB D1Ar3, D1Ar3, #1 ! decrement count of remaining bytes
74 ! If there are any remaining bytes use the byte copy loop, otherwise we are done
175 ! If there are no remaining bytes to copy, we are done.
179 ! address of the remaining bytes, and fall through to the byte copy loop.
H A Dmemset.S62 ! D1Ar3 should be the remaining total byte count
/linux-4.1.27/lib/
H A Ddigsig.c109 unsigned int remaining = endp - datap; digsig_verify_rsa() local
110 pkey[i] = mpi_read_from_buffer(datap, &remaining); digsig_verify_rsa()
113 datap += remaining; digsig_verify_rsa()
H A Dhexdump.c242 int i, linelen, remaining = len; print_hex_dump() local
249 linelen = min(remaining, rowsize); print_hex_dump()
250 remaining -= rowsize; print_hex_dump()
H A Ddynamic_debug.c501 static int remaining(int wrote) remaining() function
517 pos += snprintf(buf + pos, remaining(pos), "<intr> "); dynamic_emit_prefix()
519 pos += snprintf(buf + pos, remaining(pos), "[%d] ", dynamic_emit_prefix()
524 pos += snprintf(buf + pos, remaining(pos), "%s:", dynamic_emit_prefix()
527 pos += snprintf(buf + pos, remaining(pos), "%s:", dynamic_emit_prefix()
530 pos += snprintf(buf + pos, remaining(pos), "%d:", dynamic_emit_prefix()
533 pos += snprintf(buf + pos, remaining(pos), " "); dynamic_emit_prefix()
H A Dbch.c459 /* perform elimination on remaining rows */ solve_linear_system()
1117 unsigned int sum, x, y, remaining, ak = 0, xi[m]; build_deg2_base() local
1130 remaining = m; build_deg2_base()
1133 for (x = 0; (x <= GF_N(bch)) && remaining; x++) { build_deg2_base()
1140 remaining--; build_deg2_base()
1148 return remaining ? -1 : 0; build_deg2_base()
/linux-4.1.27/arch/xtensa/lib/
H A Dchecksum.S84 extui a5, a3, 2, 3 /* remaining 4-byte chunks */
100 _bbci.l a3, 1, 5f /* remaining 2-byte chunk */
105 _bbci.l a3, 0, 7f /* remaining 1-byte chunk */
160 _bbci.l a3, 1, 3f /* remaining 2-byte chunk, still odd addr */
172 j 5b /* branch to handle the remaining byte */
277 extui a10, a4, 2, 3 /* remaining 4-byte chunks */
H A Dstrnlen_user.S91 EX(l32i, a9, a4, 4, lenfixup) # load 4 bytes for remaining checks
/linux-4.1.27/arch/microblaze/kernel/
H A Dtraps.c56 * remaining lines to start at an address multiple of 0x10 show_stack()
/linux-4.1.27/arch/blackfin/lib/
H A Dmemmove.S62 CC = P2 == 0; /* any remaining bytes? */
H A Dmemcpy.S87 /* Any remaining bytes to copy? */
/linux-4.1.27/arch/ia64/include/asm/sn/
H A Dmspec.h37 * remaining 56 bytes are unaddressable due to the operation taking
/linux-4.1.27/arch/arm/mach-s3c64xx/
H A Dmach-s3c64xx-dt.c27 * FIXME: Make remaining drivers use dynamic mapping.
/linux-4.1.27/include/linux/ceph/
H A Dpagelist.h22 size_t room; /* room remaining to reset to */
/linux-4.1.27/arch/tile/kernel/
H A Dstack.c289 size_t namelen, remaining; describe_addr() local
314 remaining = (bufsize - 1) - namelen; describe_addr()
316 rc = snprintf(p, remaining, "+%#lx/%#lx ", describe_addr()
318 if (modname && rc < remaining) describe_addr()
319 snprintf(p + rc, remaining - rc, "[%s] ", modname); describe_addr()
347 remaining = (bufsize - 1) - namelen; describe_addr()
349 snprintf(buf + namelen, remaining, "[%lx+%lx] ", describe_addr()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dsi2168.c353 int ret, len, remaining; si2168_init() local
458 for (remaining = fw->size; remaining > 0; remaining -= 17) { si2168_init()
459 len = fw->data[fw->size - remaining]; si2168_init()
464 memcpy(cmd.args, &fw->data[(fw->size - remaining) + 1], len); si2168_init()
473 for (remaining = fw->size; remaining > 0; remaining -= 8) { si2168_init()
475 memcpy(cmd.args, &fw->data[fw->size - remaining], len); si2168_init()
H A Daf9013.c1354 int i, len, remaining, ret; af9013_download_firmware() local
1407 for (remaining = fw->size; remaining > 0; remaining -= LEN_MAX) { af9013_download_firmware()
1408 len = remaining; af9013_download_firmware()
1413 FW_ADDR + fw->size - remaining, af9013_download_firmware()
1414 (u8 *) &fw->data[fw->size - remaining], len); af9013_download_firmware()
H A Dm88ds3103.c580 int ret, len, remaining; m88ds3103_init() local
645 for (remaining = fw->size; remaining > 0; m88ds3103_init()
646 remaining -= (priv->cfg->i2c_wr_max - 1)) { m88ds3103_init()
647 len = remaining; m88ds3103_init()
652 &fw->data[fw->size - remaining], len); m88ds3103_init()
H A Dtda10071.c875 int ret, i, len, remaining, fw_size; tda10071_init() local
1001 for (remaining = fw_size; remaining > 0; tda10071_init()
1002 remaining -= (priv->cfg.i2c_wr_max - 1)) { tda10071_init()
1003 len = remaining; tda10071_init()
1008 (u8 *) &fw->data[fw_size - remaining], len); tda10071_init()
H A Dcx24116.c330 * on DVB-S and remaining bits represent some
569 int i, ret, len, max, remaining; cx24116_load_firmware() local
613 for (remaining = fw->size; remaining > 0; remaining -= max - 1) { cx24116_load_firmware()
614 len = remaining; cx24116_load_firmware()
618 cx24116_writeregN(state, 0xF7, &fw->data[fw->size - remaining], cx24116_load_firmware()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
H A Dmanage.c205 u16 remaining, i, j, prev_bytes; e1000_mng_host_if_write() local
227 remaining = length & 0x3; e1000_mng_host_if_write()
228 length -= remaining; e1000_mng_host_if_write()
244 if (remaining) { e1000_mng_host_if_write()
246 if (j < remaining) e1000_mng_host_if_write()
/linux-4.1.27/drivers/staging/media/mn88472/
H A Dmn88472.c282 int ret, len, remaining; mn88472_init() local
327 for (remaining = fw->size; remaining > 0; mn88472_init()
328 remaining -= (dev->i2c_wr_max - 1)) { mn88472_init()
329 len = remaining; mn88472_init()
334 &fw->data[fw->size - remaining], len); mn88472_init()
/linux-4.1.27/drivers/staging/media/mn88473/
H A Dmn88473.c242 int ret, len, remaining; mn88473_init() local
277 for (remaining = fw->size; remaining > 0; mn88473_init()
278 remaining -= (dev->i2c_wr_max - 1)) { mn88473_init()
279 len = remaining; mn88473_init()
284 &fw->data[fw->size - remaining], len); mn88473_init()
/linux-4.1.27/fs/squashfs/
H A Dcache.c309 int remaining = length; squashfs_copy_data() local
322 if (bytes >= remaining) { squashfs_copy_data()
323 memcpy(buffer, buff, remaining); squashfs_copy_data()
324 remaining = 0; squashfs_copy_data()
330 remaining -= bytes; squashfs_copy_data()
334 return length - remaining; squashfs_copy_data()
H A Dxattr.c99 /* skip remaining xattr entry */ squashfs_listxattr()
197 /* no match, skip remaining xattr entry */ squashfs_xattr_get()
/linux-4.1.27/net/ipv4/
H A Dfib_semantics.c439 static int fib_count_nexthops(struct rtnexthop *rtnh, int remaining) fib_count_nexthops() argument
443 while (rtnh_ok(rtnh, remaining)) { fib_count_nexthops()
445 rtnh = rtnh_next(rtnh, &remaining); fib_count_nexthops()
449 return remaining > 0 ? 0 : nhs; fib_count_nexthops()
453 int remaining, struct fib_config *cfg) fib_get_nhs()
458 if (!rtnh_ok(rtnh, remaining)) change_nexthops()
480 rtnh = rtnh_next(rtnh, &remaining); change_nexthops()
492 int remaining; fib_nh_match() local
510 remaining = cfg->fc_mp_len; fib_nh_match()
515 if (!rtnh_ok(rtnh, remaining)) for_nexthops()
535 rtnh = rtnh_next(rtnh, &remaining); for_nexthops()
834 int remaining; endfor_nexthops() local
836 nla_for_each_attr(nla, cfg->fc_mx, cfg->fc_mx_len, remaining) { endfor_nexthops()
452 fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, int remaining, struct fib_config *cfg) fib_get_nhs() argument
H A Dinet_hashtables.c502 int i, remaining, low, high, port; __inet_hash_connect() local
508 remaining = (high - low) + 1; __inet_hash_connect()
511 for (i = 1; i <= remaining; i++) { __inet_hash_connect()
512 port = low + (i + offset) % remaining; __inet_hash_connect()
H A Dinet_connection_sock.c105 int remaining, rover, low, high; inet_csk_get_port() local
109 remaining = (high - low) + 1; inet_csk_get_port()
110 smallest_rover = rover = prandom_u32() % remaining + low; inet_csk_get_port()
148 } while (--remaining > 0); inet_csk_get_port()
152 * locks if this test triggers, because if 'remaining' inet_csk_get_port()
157 if (remaining <= 0) { inet_csk_get_port()
H A Dtcp_output.c552 unsigned int remaining = MAX_TCP_OPTION_SPACE; tcp_syn_options() local
559 remaining -= TCPOLEN_MD5SIG_ALIGNED; tcp_syn_options()
575 remaining -= TCPOLEN_MSS_ALIGNED; tcp_syn_options()
581 remaining -= TCPOLEN_TSTAMP_ALIGNED; tcp_syn_options()
586 remaining -= TCPOLEN_WSCALE_ALIGNED; tcp_syn_options()
591 remaining -= TCPOLEN_SACKPERM_ALIGNED; tcp_syn_options()
600 if (remaining >= need) { tcp_syn_options()
603 remaining -= need; tcp_syn_options()
609 return MAX_TCP_OPTION_SPACE - remaining; tcp_syn_options()
621 unsigned int remaining = MAX_TCP_OPTION_SPACE; tcp_synack_options() local
626 remaining -= TCPOLEN_MD5SIG_ALIGNED; tcp_synack_options()
639 remaining -= TCPOLEN_MSS_ALIGNED; tcp_synack_options()
644 remaining -= TCPOLEN_WSCALE_ALIGNED; tcp_synack_options()
650 remaining -= TCPOLEN_TSTAMP_ALIGNED; tcp_synack_options()
655 remaining -= TCPOLEN_SACKPERM_ALIGNED; tcp_synack_options()
663 if (remaining >= need) { tcp_synack_options()
666 remaining -= need; tcp_synack_options()
670 return MAX_TCP_OPTION_SPACE - remaining; tcp_synack_options()
705 const unsigned int remaining = MAX_TCP_OPTION_SPACE - size; tcp_established_options() local
708 (remaining - TCPOLEN_SACK_BASE_ALIGNED) / tcp_established_options()
1707 /* Trim TSO SKB to LEN bytes, put the remaining data into a new packet
/linux-4.1.27/drivers/ide/
H A Dcy82c693.c123 /* now let's set the remaining registers */ cy82c693_set_pio_mode()
139 /* now let's set the remaining registers */ cy82c693_set_pio_mode()
/linux-4.1.27/crypto/
H A Dvmac.c414 int i, remaining; vhash() local
421 remaining = mbytes % VMAC_NHBYTES; vhash()
432 } else if (remaining) { vhash()
433 nh_16(mptr, kptr, 2*((remaining+15)/16), ch, cl); vhash()
449 if (remaining) { vhash()
450 nh_16(mptr, kptr, 2*((remaining+15)/16), rh, rl); vhash()
457 remaining *= 8; vhash()
458 return l3hash(ch, cl, ctx->l3key[0], ctx->l3key[1], remaining); vhash()
/linux-4.1.27/drivers/oprofile/
H A Dcpu_buffer.h83 /* returns the remaining free size of data in the entry */
H A Devent_buffer.c70 * processes the data remaining in the event buffer.
/linux-4.1.27/arch/x86/kernel/
H A Dirq_64.c5 * entry and irq statistics code. All the remaining irq logic is
H A Dcheck.c12 * remaining free memory in that area and fill it with a distinct
H A Dirq_32.c5 * entry, irq-stacks and irq statistics code. All the remaining
H A Dirq.c285 * This cpu is going to be removed and its vectors migrated to the remaining
286 * online cpus. Check to see if there are enough vectors in the remaining cpus.
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/
H A Dspu_save_crt0.S55 /* SPU Context Save, Step 8: Save the remaining 112 GPRs. */
H A Dspu_restore_crt0.S60 /* SPU Context Restore, Step 5: Restore the remaining 112 GPRs. */
H A Dspu_save.c71 * queue to transfer the remaining 240 kb of LS to CSA. save_upper_240kb()
/linux-4.1.27/arch/mn10300/lib/
H A Dmemset.S79 # copy the remaining 1, 2 or 3 words
H A Ddo_csum.S106 # copy the remaining whole words
H A Dmemcpy.S89 # copy the remaining 1, 2 or 3 words
H A Dmemmove.S109 # copy the remaining 1, 2 or 3 words
/linux-4.1.27/arch/metag/tbx/
H A Dtbidefr.S39 * - Manually collect remaining (interrupt) deferred exceptions
93 /* Restore remaining exceptions
149 /* Acknowledge triggers and restore remaining exceptions
/linux-4.1.27/drivers/usb/c67x00/
H A Dc67x00-sched.c661 int remaining; c67x00_add_data_urb() local
670 remaining = urb->transfer_buffer_length - urb->actual_length; c67x00_add_data_urb()
675 usb_pipeout(urb->pipe) && !(remaining % maxps); c67x00_add_data_urb()
677 while (remaining || need_empty) { c67x00_add_data_urb()
681 len = (remaining > maxps) ? maxps : remaining; c67x00_add_data_urb()
687 remaining; c67x00_add_data_urb()
694 remaining -= len; c67x00_add_data_urb()
873 int maxps, need_empty, remaining; c67x00_end_of_data() local
887 remaining = urb->transfer_buffer_length - urb->actual_length; c67x00_end_of_data()
889 usb_pipeout(urb->pipe) && !(remaining % maxps); c67x00_end_of_data()
891 if (unlikely(!remaining && !need_empty)) c67x00_end_of_data()
/linux-4.1.27/arch/s390/include/uapi/asm/
H A Dvtoc.h115 __u16 DS1TRBAL; /* space remaining on last used track */
130 __u16 DS4NOATK; /* number of remaining alternate tracks */
160 __u8 ft; /* number of remaining free tracks */
/linux-4.1.27/fs/
H A Dtimerfd.c151 ktime_t remaining; timerfd_get_remaining() local
154 remaining = alarm_expires_remaining(&ctx->t.alarm); timerfd_get_remaining()
156 remaining = hrtimer_expires_remaining(&ctx->t.tmr); timerfd_get_remaining()
158 return remaining.tv64 < 0 ? ktime_set(0, 0): remaining; timerfd_get_remaining()
H A Ddirect-io.c291 unsigned long remaining; dio_bio_end_aio() local
298 remaining = --dio->refcount; dio_bio_end_aio()
299 if (remaining == 1 && dio->waiter) dio_bio_end_aio()
303 if (remaining == 0) { dio_bio_end_aio()
574 * has remaining to do. The fs should not map more than this number of blocks.
1063 * completion paths can drop their ref and use the remaining count to drop_refcount()
1250 * The remaining part of the request will be do_blockdev_direct_IO()
/linux-4.1.27/drivers/gpu/vga/
H A Dvgaarb.c912 size_t remaining = count; vga_arb_write() local
931 remaining -= 5; vga_arb_write()
935 if (!vga_str_to_iostate(curr_pos, remaining, &io_state)) { vga_arb_write()
967 remaining -= 7; vga_arb_write()
975 (curr_pos, remaining, &io_state)) { vga_arb_write()
1023 remaining -= 8; vga_arb_write()
1027 if (!vga_str_to_iostate(curr_pos, remaining, &io_state)) { vga_arb_write()
1067 remaining -= 7; vga_arb_write()
1073 if (!vga_pci_str_to_vars(curr_pos, remaining, vga_arb_write()
1127 remaining -= 8; vga_arb_write()
1130 if (!vga_str_to_iostate(curr_pos, remaining, &io_state)) { vga_arb_write()
/linux-4.1.27/drivers/mtd/devices/
H A Dmtd_dataflash.c307 size_t remaining = len; dataflash_write() local
329 while (remaining > 0) { dataflash_write()
414 remaining = 0; dataflash_write()
422 remaining = remaining - writelen; dataflash_write()
428 if (remaining > priv->page_size) dataflash_write()
431 writelen = remaining; dataflash_write()
/linux-4.1.27/drivers/s390/char/
H A Dvmlogrdr.c73 int remaining; member in struct:vmlogrdr_priv_t
290 * If we turn recording off, we have to purge any remaining records vmlogrdr_recording()
470 priv->remaining = user_data_count; vmlogrdr_receive_data()
493 if (count > priv->remaining) vmlogrdr_read()
494 count = priv->remaining; vmlogrdr_read()
501 priv->remaining -= count; vmlogrdr_read()
504 if (priv->remaining == 0) vmlogrdr_read()
H A Dsclp.c745 * remaining event buffers. */
751 u16 remaining; sclp_remove_processed() local
755 remaining = sccb->length - sizeof(struct sccb_header); sclp_remove_processed()
756 while (remaining > 0) { sclp_remove_processed()
757 remaining -= evbuf->length; sclp_remove_processed()
761 remaining); sclp_remove_processed()
/linux-4.1.27/drivers/message/fusion/
H A Dmptlan.c843 dioprintk((MYNAM "/receive_skb: %d buckets remaining\n", mpt_lan_receive_skb()
850 "remaining, %d received back since sod\n", mpt_lan_receive_skb()
961 /**/ "remaining, %d received back since sod.\n", mpt_lan_receive_post_free()
976 u32 remaining = le32_to_cpu(pRecvRep->BucketsRemaining); mpt_lan_receive_post_reply() local
1115 if (remaining == 0) mpt_lan_receive_post_reply()
1120 else if (remaining < 10) mpt_lan_receive_post_reply()
1124 remaining, atomic_read(&priv->buckets_out)); mpt_lan_receive_post_reply()
1126 if ((remaining < priv->bucketthresh) && mpt_lan_receive_post_reply()
1127 ((atomic_read(&priv->buckets_out) - remaining) > mpt_lan_receive_post_reply()
1178 dioprintk((KERN_ERR "%s: %u buckets remaining\n", mpt_lan_post_receive_buckets()
/linux-4.1.27/fs/nfsd/
H A Dnfsctl.c546 int len, num, remaining; __write_versions() local
604 remaining = SIMPLE_TRANSACTION_LIMIT; __write_versions()
607 len = snprintf(buf, remaining, "%s%c%d", sep, __write_versions()
612 if (len >= remaining) __write_versions()
614 remaining -= len; __write_versions()
621 len = snprintf(buf, remaining, " %c4.%u", __write_versions()
627 if (len >= remaining) __write_versions()
629 remaining -= len; __write_versions()
634 len = snprintf(buf, remaining, "\n"); __write_versions()
635 if (len >= remaining) __write_versions()
/linux-4.1.27/fs/cifs/
H A Dsmb1ops.c247 int remaining; check2ndT2() local
273 remaining = total_data_size - data_in_this_rsp; check2ndT2()
276 remaining); check2ndT2()
282 return remaining; check2ndT2()
292 int remaining; coalesce_t2() local
305 remaining = tgt_total_cnt - total_in_tgt; coalesce_t2()
307 if (remaining < 0) { coalesce_t2()
313 if (remaining == 0) { coalesce_t2()
320 if (remaining < total_in_src) coalesce_t2()
365 if (remaining != total_in_src) { coalesce_t2()
H A Dtransport.c141 unsigned int remaining; smb_send_kvec() local
156 remaining = 0; smb_send_kvec()
158 remaining += iov[i].iov_len; smb_send_kvec()
161 while (remaining) { smb_send_kvec()
181 n_vec - first_vec, remaining); smb_send_kvec()
200 if (rc == remaining) { smb_send_kvec()
201 remaining = 0; smb_send_kvec()
205 if (rc > remaining) { smb_send_kvec()
206 cifs_dbg(VFS, "sent %d requested %d\n", rc, remaining); smb_send_kvec()
218 remaining -= rc; smb_send_kvec()
/linux-4.1.27/drivers/spi/
H A Dspi-dln2.c553 u16 remaining = data_len; dln2_spi_rdwr() local
557 if (remaining > DLN2_SPI_MAX_XFER_SIZE) { dln2_spi_rdwr()
561 len = remaining; dln2_spi_rdwr()
565 offset = data_len - remaining; dln2_spi_rdwr()
587 remaining -= len; dln2_spi_rdwr()
588 } while (remaining); dln2_spi_rdwr()
H A Dspi-cadence.c333 * fills the TX FIFO if there is any data remaining to be transferred.
335 * the SPI subsystem will identify the error as the remaining bytes to be
352 * identify the error as the remaining bytes to be cdns_spi_irq()
/linux-4.1.27/arch/ia64/lib/
H A Dmemcpy_mck.S176 and in2=7,tmp // remaining length
207 and tmp=127,in2 // remaining bytes after this block
318 cmp.le p6,p7=8,curlen; // have at least 8 byte remaining?
398 mov in2=curlen // remaining length
537 * case, remaining byte in kernel buffer will be zeroed.
616 * The remaining byte to copy is calculated as:
H A Dmemset.S15 early store as prefetching, then loop on 32B chucks, then clear remaining
16 words, finally clear remaining bytes.
261 and cnt = 0x1f, cnt // compute the remaining cnt
/linux-4.1.27/drivers/isdn/hysdn/
H A Dhysdn_procconf.c156 /* copy remaining bytes into buffer */ hysdn_conf_write()
176 count -= (i - 1); /* subtract remaining bytes from count */ hysdn_conf_write()
197 /* copy remaining bytes into buffer */ hysdn_conf_write()
H A Dince1pc.h83 /* remaining text size = 55 */
/linux-4.1.27/drivers/mtd/
H A Dcmdlinepart.c27 * <size> := standard linux memsize OR "-" to denote all remaining space
69 /* special size referring to all the remaining space in a partition */
113 /* assign all remaining space to this partition */ newpart()
/linux-4.1.27/drivers/atm/
H A DuPD98401.h257 #define uPD98401_RXFP_REMAIN 0x0000ffff /* remaining batches in pool */
263 #define uPD98401_RXVC_BTSZ 0xff000000 /* remaining free buffers in batch */
276 #define uPD98401_RXVC_REM 0xfffe0000 /* remaining words in curr buffer */
H A Dhorizon.h412 unsigned int rx_bytes; // bytes remaining to RX within region
417 unsigned int tx_bytes; // bytes remaining to TX within region
419 struct iovec * tx_iovec; // remaining regions
420 unsigned int tx_regions; // number of remaining regions
H A Dzatm.h59 int tx_bw; /* remaining bandwidth */
H A Deni.h88 int tx_bw; /* remaining bandwidth */
/linux-4.1.27/arch/cris/arch-v32/mach-fs/
H A Darbiter.c6 * bandwidth (e.g. ethernet) and then the remaining slots are divided
64 * "unused_slots", which must then be the unallocated, remaining
137 * Allocate remaining slots in round-robin crisv32_arbiter_config()
/linux-4.1.27/drivers/net/ethernet/ibm/emac/
H A Dphy.h81 * filled, the remaining fields will be filled on return
/linux-4.1.27/drivers/net/usb/
H A Dasix_common.c59 u16 remaining = 0; asix_rx_fixup_internal() local
109 remaining = rx->size - (skb->len - offset); asix_rx_fixup_internal()
115 if (!remaining) asix_rx_fixup_internal()
119 rx->size = remaining; asix_rx_fixup_internal()
H A Dlg-vl600.c191 * alone and fill in the remaining fields. vl600_rx_fixup()
296 * overwrite the remaining fields. vl600_tx_fixup()
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/
H A Dvbuschannel.h22 * the server, and the remaining information is filled in by the client.
/linux-4.1.27/arch/x86/mm/kmemcheck/
H A Dshadow.c69 /* Do the remaining page, if any. */ mark_shadow()
/linux-4.1.27/arch/mips/fw/lib/
H A Dcall_o32.S40 * function call's first six arguments, and the stack -- the remaining
/linux-4.1.27/fs/xfs/
H A Dxfs_itable.h55 int ubsize, /* remaining user buffer sz */
/linux-4.1.27/drivers/w1/slaves/
H A Dw1_ds2423.c73 * 31 remaining bytes from the ram page w1_slave_show()
/linux-4.1.27/fs/jfs/
H A Djfs_inode.c138 /* Zero remaining fields */ ialloc()
/linux-4.1.27/include/uapi/linux/
H A Dif_arcnet.h63 __u8 payload[0]; /* space remaining in packet (504 bytes)*/
H A Dsonypi.h122 /* get battery full capacity/remaining capacity */
/linux-4.1.27/include/uapi/linux/nfsd/
H A Dnfsfh.h39 * that tell how the remaining 3 variable length fields should be handled.
/linux-4.1.27/arch/powerpc/platforms/powernv/
H A Dopal-msglog.c56 * of the buffer, and then read the remaining data as in the un-wrapped opal_msglog_read()
/linux-4.1.27/arch/nios2/mm/
H A Duaccess.c117 /* Copy remaining bytes */
/linux-4.1.27/arch/avr32/mm/
H A Dcache.c46 /* remaining cachelines only need invalidation */ invalidate_dcache_region()
/linux-4.1.27/drivers/media/pci/cx18/
H A Dcx18-ioctl.c676 int consumed, remaining; _cx18_process_idx_data() local
691 remaining = buf->bytesused - buf->readpos; _cx18_process_idx_data()
696 while (remaining >= sizeof(struct cx18_enc_idx_entry) && _cx18_process_idx_data()
716 remaining -= sizeof(struct cx18_enc_idx_entry); _cx18_process_idx_data()
721 if (remaining > 0 && remaining < sizeof(struct cx18_enc_idx_entry)) _cx18_process_idx_data()
722 consumed += remaining; _cx18_process_idx_data()
797 /* We finished with data remaining, push the MDL back */ cx18_g_enc_index()
/linux-4.1.27/drivers/staging/comedi/drivers/
H A Dcomedi_isadma.c48 * Returns the residue (remaining bytes) left in the DMA transfer.
69 * Returns the residue (remaining bytes) left in the DMA transfer.
/linux-4.1.27/drivers/dma/
H A Dmic_x100_dma.h37 * Four channels are assigned for host SW use & the remaining for MIC SW.
56 * DRAR_HI - 3:0 - remaining 4 bits of descriptor ring's mic address
/linux-4.1.27/arch/xtensa/variants/dc233c/include/variant/
H A Dtie-asm.h64 * registers are clobbered, the remaining are unused).
128 * registers are clobbered, the remaining are unused).
/linux-4.1.27/drivers/acpi/acpica/
H A Dpsscope.c135 * remaining_args - List of args remaining
242 * DESCRIPTION: Destroy available list, remaining stack levels, and return
/linux-4.1.27/drivers/usb/core/
H A Dgeneric.c122 /* From the remaining configs, choose the first one whose usb_choose_configuration()
134 /* If all the remaining configs are vendor-specific, usb_choose_configuration()
/linux-4.1.27/fs/ntfs/
H A Dbitmap.c108 * Depending on @value, modify all remaining whole bytes in the page up __ntfs_bitmap_set_bits_in_run()
132 * Depending on @value, modify all remaining whole bytes in the __ntfs_bitmap_set_bits_in_run()
/linux-4.1.27/arch/s390/kernel/
H A Dftrace.c119 * constant KPROBE_ON_FTRACE_NOP into the remaining four ftrace_make_nop()
147 * constant KPROBE_ON_FTRACE_CALL into the remaining four ftrace_make_call()
/linux-4.1.27/arch/s390/lib/
H A Duaccess.c43 " algr %4,%0\n" /* copy remaining size, subtract 1 */ copy_from_user_mvcos()
87 " algr %4,%0\n" /* copy remaining size, subtract 1 */ copy_from_user_mvcp()
/linux-4.1.27/arch/nios2/lib/
H A Dmemcpy.c49 not all bytes could be easily copied, store remaining number of bytes
179 alignment of DSTP. Number of bytes remaining is put in the memcpy()
/linux-4.1.27/arch/powerpc/boot/
H A Dgunzip_util.c179 * gunzip_finish - extract all remaining bytes from a gzip data stream
184 * This function extracts all remaining data, or at most @dstlen
H A Ddiv64.S52 divwu r0,r6,r4 # perform the remaining 32-bit division
/linux-4.1.27/arch/m68k/include/asm/
H A Dmac_psc.h21 * The remaining two channels are handled somewhat differently. They appear
178 * number of _bits_ remaining before the
H A Dmcfdma.h66 #define MCFDMA_DSR_REQ 0x04 /* Requests remaining */
H A Dbitops.h369 /* No zero yet, search remaining full bytes for a zero */ find_next_zero_bit()
424 /* No one yet, search remaining full bytes for a one */ find_next_bit()
/linux-4.1.27/kernel/time/
H A Ditimer.c20 * itimer_get_remtime - get remaining time for the timer
247 * Returns the remaining time in seconds of a pending timer or 0 when
H A Dalarmtimer.c673 * update_rmtp - Update remaining timespec value
676 * @rmtp: user pointer to remaining timepsec value
742 * @rmtp: remaining sleep time saved
779 /* abs timers don't set remaining time or restart */ alarm_timer_nsleep()
H A Dposix-timers.c713 * Get the time remaining on a POSIX.1b interval timer. This function
731 ktime_t now, remaining, iv; common_timer_get() local
756 remaining = ktime_sub(hrtimer_get_expires(timer), now); common_timer_get()
758 if (remaining.tv64 <= 0) { common_timer_get()
766 cur_setting->it_value = ktime_to_timespec(remaining); common_timer_get()
769 /* Get the time remaining on a POSIX.1b interval timer. */ SYSCALL_DEFINE2()
/linux-4.1.27/tools/testing/selftests/rcutorture/bin/
H A Dfunctions.sh208 # Prints "BUG: " in red followed by remaining arguments
216 # Prints "WARNING: " in yellow followed by remaining arguments
/linux-4.1.27/arch/mips/boot/
H A Delf2ecoff.c69 int remaining, cur, count; copy() local
77 remaining = size; copy()
78 while (remaining) { copy()
79 cur = remaining; copy()
82 remaining -= cur; copy()
/linux-4.1.27/drivers/media/usb/gspca/
H A Djeilinj.c299 PDEBUG(D_STREAM, "%d blocks remaining for frame", sd_pkt_scan()
346 /* get the image remaining blocks */ sd_stopN()
361 /* last remaining block found */ sd_stopN()
/linux-4.1.27/arch/um/drivers/
H A Dcow_user.c148 int remaining; absolutize() local
170 remaining = size - strlen(to); absolutize()
171 if (strlen(slash) + 1 > remaining) { absolutize()
/linux-4.1.27/arch/x86/crypto/
H A Dcrc32c-pcl-intel-asm_64.S282 jz do_return # Return if remaining length is zero
292 jz do_return # return if remaining data is zero
299 jz do_return # return if remaining data is zero
/linux-4.1.27/arch/cris/arch-v32/mach-a3/
H A Darbiter.c6 * bandwidth (e.g. ethernet) and then the remaining slots are divided
127 * "unused_slots", which must then be the unallocated, remaining
200 * Allocate remaining slots in round-robin crisv32_arbiter_config()
/linux-4.1.27/drivers/isdn/hisax/
H A Dhfc_pci.h144 /* remaining bits are for codecs control */
H A Dhfc_sx.h150 /* remaining bits are for codecs control */
/linux-4.1.27/drivers/media/platform/exynos4-is/
H A Dmedia-dev.h58 * - a video capture device node and any remaining entities.
/linux-4.1.27/drivers/media/platform/vivid/
H A Dvivid-rds-gen.c51 * All remaining groups use a filler group 15B block that just repeats
/linux-4.1.27/drivers/misc/
H A Dlkdtm.c306 static int recursive_loop(int remaining) recursive_loop() argument
311 memset(buf, (remaining & 0xff) | 0x1, REC_STACK_SIZE); recursive_loop()
312 if (!remaining) recursive_loop()
315 return recursive_loop(remaining - 1); recursive_loop()
/linux-4.1.27/drivers/staging/rtl8192e/
H A Drtllib_crypt.c66 "%s: entries remaining in delayed crypt deletion list\n", rtllib_crypt_deinit_handler()
/linux-4.1.27/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_crypt.c68 netdev_dbg(ieee->dev, "%s: entries remaining in delayed crypt deletion list\n", ieee80211_crypt_deinit_handler()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
H A Dsuper25.c210 "client remaining capa count %d\n", exit_lustre_lite()
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_device_queue_manager_cik.c48 * The hardware fills in the remaining 59 bits according to the compute_sh_mem_bases_64bit()
/linux-4.1.27/drivers/infiniband/hw/qib/
H A Dqib_tx.c96 * separately, first, then remaining subctxt, if any qib_disarm_piobufs_ifneeded()
148 * separately, first, then remaining subctxt, if any find_ctxt()
312 * of the remaining armlaunch errors. qib_getsendbuf_range()
482 * separately, first, then remaining subctxt, qib_cancel_sends()
/linux-4.1.27/arch/um/os-Linux/
H A Dtime.c145 * this will cause the remaining time to be greater than the after_sleep_interval()
/linux-4.1.27/arch/microblaze/lib/
H A Dmemcpy.c174 /* Finish off any remaining bytes */ memcpy()
H A Dmemmove.c200 /* Finish off any remaining bytes */ memmove()
/linux-4.1.27/drivers/tty/serial/8250/
H A D8250_dma.c128 * transfer and let 8250_core copy the remaining data. serial8250_rx_dma()
/linux-4.1.27/fs/jffs2/
H A Dcompr_zlib.c28 avail_in == 0 and avail_out set to the remaining 12
/linux-4.1.27/include/trace/events/
H A Dcompaction.h85 * error code, in which case we need to count the remaining
/linux-4.1.27/arch/s390/mm/
H A Dinit.c189 /* Add remaining range to ZONE_MOVABLE */ for_each_zone()
/linux-4.1.27/arch/frv/kernel/
H A Dhead-uc-fr451.S67 # need to tile the remaining IAMPR/DAMPR registers to cover as much of the RAM as possible
/linux-4.1.27/arch/frv/mm/
H A Dmmu-context.c62 /* none remaining - need to steal someone else's cxn */ get_cxn()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dprm.h97 * there are any bits remaining in the global PRM_RSTST register that
/linux-4.1.27/net/ipv6/
H A Dudp_offload.c119 /* Fragment the skb. ipv6 header and the remaining fields of the udp6_ufo_fragment()
/linux-4.1.27/kernel/power/
H A Dprocess.c168 pr_info("Freezing remaining freezable tasks ... "); freeze_kernel_threads()
/linux-4.1.27/net/6lowpan/
H A Dnhc_udp.c71 * here, we obtain the hint from the remaining size of the udp_uncompress()
/linux-4.1.27/net/wireless/
H A Dlib80211.c128 printk(KERN_DEBUG "%s: entries remaining in delayed crypt " lib80211_crypt_deinit_handler()
/linux-4.1.27/drivers/s390/block/
H A Dxpram.c76 "remaining space on the expanded strorage not "
321 * partition equally the remaining space xpram_setup_sizes()
/linux-4.1.27/arch/sh/kernel/
H A Dhead_32.S128 * r5 = remaining amount of RAM to map
272 * Clear the remaining PMB entries.
/linux-4.1.27/arch/sh/lib/
H A Dchecksum.S125 ! 4 bytes or more remaining
139 ! 3 bytes or less remaining
/linux-4.1.27/drivers/gpu/drm/omapdrm/
H A Dtcm.h213 * contain the remaining portion of the area. If the whole parent area can
231 /* adjust remaining area */ tcm_slice()
/linux-4.1.27/drivers/uwb/
H A Ddrp-avail.c134 * @len: the buffer's remaining size may not be exact multiple of
137 * (BUG if not). If it is smaller then we will pad the remaining
/linux-4.1.27/arch/powerpc/include/asm/
H A Dkvm_book3s_64.h189 rb |= (va_low & 0x7ff) << 12; /* remaining 11 bits of AVA */ compute_tlbie_rb()
195 * remaining bits of AVA/LP fields compute_tlbie_rb()
/linux-4.1.27/arch/blackfin/mm/
H A Disram-driver.c312 pr_err("FAIL: skipping remaining series\n"); isram_memcpy_test()
340 pr_err("FAIL: skipping remaining series\n"); isram_memcpy_test()
/linux-4.1.27/security/keys/
H A Dgc.c302 /* No remaining dead keys: short circuit the remaining key_garbage_collector()
/linux-4.1.27/drivers/staging/skein/
H A Dskein_base.c167 * now process any remaining full blocks, directly from input skein_256_update()
181 /* copy any remaining source message data bytes into b[] */ skein_256_update()
392 * now process any remaining full blocks, directly from input skein_512_update()
406 /* copy any remaining source message data bytes into b[] */ skein_512_update()
612 * now process any remaining full blocks, directly from input skein_1024_update()
626 /* copy any remaining source message data bytes into b[] */ skein_1024_update()
/linux-4.1.27/drivers/tty/hvc/
H A Dhvsi.c180 /* shift remaining bytes in packetbuf down */ compact_inbuf()
183 int remaining = (int)(hp->inbuf_end - read_to); compact_inbuf() local
185 pr_debug("%s: %i chars remain\n", __func__, remaining); compact_inbuf()
188 memmove(hp->inbuf, read_to, remaining); compact_inbuf()
190 hp->inbuf_end = hp->inbuf + remaining; compact_inbuf()
787 hp->inbuf_end = hp->inbuf; /* discard remaining partial packets */ hvsi_close()
/linux-4.1.27/drivers/isdn/hardware/mISDN/
H A Dhfcpci.c449 if (count) { /* rest remaining */ hfcpci_empty_bfifo()
527 if (rcnt) { /* rest remaining */ receive_dmsg()
573 /* remaining bytes to send (bytes in tx-fifo) */ hfcpci_empty_fifo_trans()
597 if (fcnt_rx) { /* rest remaining */ hfcpci_empty_fifo_trans()
734 count -= maxlen; /* remaining bytes */ hfcpci_fill_dfifo()
808 count -= maxlen; /* remaining bytes */ hfcpci_fill_fifo()
818 /* remaining bytes to send (bytes in fifo) */ hfcpci_fill_fifo()
846 count -= maxlen; /* remaining bytes */ hfcpci_fill_fifo()
903 count -= maxlen; /* remaining bytes */ hfcpci_fill_fifo()
/linux-4.1.27/drivers/isdn/divert/
H A Disdn_divert.c561 len = retval - 2; /* remaining length */ put_address()
604 restlen -= 2; /* remaining bytes */ interrogate_success()
625 restlen -= 2; /* remaining bytes */ interrogate_success()
/linux-4.1.27/drivers/net/ethernet/freescale/
H A Dfec_ptp.c155 * The remaining nanosecond ahead before the next second would be fec_ptp_enable_pps()
156 * NSEC_PER_SEC - ts.tv_nsec. Add the remaining nanoseconds fec_ptp_enable_pps()
178 * possible that the remaining nanoseonds run out before the compare fec_ptp_enable_pps()
/linux-4.1.27/arch/x86/kvm/
H A Di8254.c109 ktime_t remaining; __kpit_elapsed() local
124 remaining = hrtimer_get_remaining(&ps->timer); __kpit_elapsed()
125 elapsed = ps->period - ktime_to_ns(remaining); __kpit_elapsed()

Completed in 6342 milliseconds

123456