Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 200 of 258) sorted by relevance

12

/linux-4.1.27/arch/alpha/lib/
Dsrm_puts.c11 long remaining, written; in srm_puts() local
16 for (remaining = len; remaining > 0; remaining -= written) in srm_puts()
18 written = callback_puts(0, str, remaining); in srm_puts()
Dev6-memset.S102 sra $18,3,$3 # U : Number of remaining quads to write
279 sra $18,3,$3 # U : Number of remaining quads to write
466 sra $18,3,$3 # U : Number of remaining quads to write
/linux-4.1.27/drivers/md/bcache/
Dclosure.h161 atomic_t remaining; member
219 if (atomic_read(&cl->remaining) & CLOSURE_SLEEPING) in __closure_end_sleep()
220 atomic_sub(CLOSURE_SLEEPING, &cl->remaining); in __closure_end_sleep()
229 if (!(atomic_read(&cl->remaining) & CLOSURE_SLEEPING)) in __closure_start_sleep()
230 atomic_add(CLOSURE_SLEEPING, &cl->remaining); in __closure_start_sleep()
235 atomic_sub(CLOSURE_RUNNING, &cl->remaining); in closure_set_stopped()
265 BUG_ON((atomic_inc_return(&cl->remaining) & in closure_get()
268 atomic_inc(&cl->remaining); in closure_get()
285 atomic_set(&cl->remaining, CLOSURE_REMAINING_INITIALIZER); in closure_init()
294 atomic_set(&cl->remaining, CLOSURE_REMAINING_INITIALIZER|CLOSURE_STACK); in closure_init_stack()
Dclosure.c27 atomic_set(&cl->remaining, in closure_put_after_sub()
48 closure_put_after_sub(cl, atomic_sub_return(v, &cl->remaining)); in closure_sub()
57 closure_put_after_sub(cl, atomic_dec_return(&cl->remaining)); in closure_put()
103 if (atomic_read(&cl->remaining) & CLOSURE_WAITING) in closure_wait()
107 atomic_add(CLOSURE_WAITING + 1, &cl->remaining); in closure_wait()
126 if ((atomic_read(&cl->remaining) & in closure_sync()
178 int r = atomic_read(&cl->remaining); in debug_seq_show()
/linux-4.1.27/include/net/
Dnexthop.h7 static inline int rtnh_ok(const struct rtnexthop *rtnh, int remaining) in rtnh_ok() argument
9 return remaining >= sizeof(*rtnh) && in rtnh_ok()
11 rtnh->rtnh_len <= remaining; in rtnh_ok()
15 int *remaining) in rtnh_next() argument
19 *remaining -= totlen; in rtnh_next()
Dnetlink.h333 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok() argument
335 return (remaining >= (int) sizeof(struct nlmsghdr) && in nlmsg_ok()
337 nlh->nlmsg_len <= remaining); in nlmsg_ok()
349 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next() argument
353 *remaining -= totlen; in nlmsg_next()
688 static inline int nla_ok(const struct nlattr *nla, int remaining) in nla_ok() argument
690 return remaining >= (int) sizeof(*nla) && in nla_ok()
692 nla->nla_len <= remaining; in nla_ok()
703 static inline struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next() argument
707 *remaining -= totlen; in nla_next()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Daux.c72 u8 remaining = msg->len; in aux_xfer() local
75 while (remaining) { in aux_xfer()
76 u8 cnt = (remaining > 16) ? 16 : remaining; in aux_xfer()
84 if (mcnt || remaining > 16) in aux_xfer()
94 remaining -= cnt; in aux_xfer()
Dbit.c194 u8 remaining = msg->len; in i2c_bit_xfer() local
202 while (!ret && remaining--) in i2c_bit_xfer()
203 ret = i2c_get_byte(port, ptr++, !remaining); in i2c_bit_xfer()
205 while (!ret && remaining--) in i2c_bit_xfer()
/linux-4.1.27/drivers/target/tcm_fc/
Dtfc_io.c67 size_t remaining; in ft_queue_data_in() local
93 remaining = se_cmd->data_length; in ft_queue_data_in()
98 BUG_ON(remaining && !se_cmd->t_data_sg); in ft_queue_data_in()
99 if (remaining) { in ft_queue_data_in()
107 use_sg = !(remaining % 4); in ft_queue_data_in()
109 while (remaining) { in ft_queue_data_in()
119 mem_len = min((size_t)sg->length, remaining); in ft_queue_data_in()
131 frame_len = min(frame_len, remaining); in ft_queue_data_in()
174 remaining -= tlen; in ft_queue_data_in()
179 if (!remaining) in ft_queue_data_in()
[all …]
/linux-4.1.27/lib/xz/
Dxz_dec_test.c105 size_t remaining; in xz_dec_test_write() local
119 remaining = size; in xz_dec_test_write()
120 while ((remaining > 0 || buffers.out_pos == buffers.out_size) in xz_dec_test_write()
124 buffers.in_size = min(remaining, sizeof(buffer_in)); in xz_dec_test_write()
129 remaining -= buffers.in_size; in xz_dec_test_write()
145 return size - remaining - (buffers.in_size - buffers.in_pos); in xz_dec_test_write()
/linux-4.1.27/drivers/gpu/drm/radeon/
Datombios_i2c.c110 int i, remaining, current_count, buffer_offset, max_bytes, ret; in radeon_atom_hw_i2c_xfer() local
127 remaining = p->len; in radeon_atom_hw_i2c_xfer()
137 while (remaining) { in radeon_atom_hw_i2c_xfer()
138 if (remaining > max_bytes) in radeon_atom_hw_i2c_xfer()
141 current_count = remaining; in radeon_atom_hw_i2c_xfer()
147 remaining -= current_count; in radeon_atom_hw_i2c_xfer()
Dradeon_i2c.c586 int i, j, remaining, current_count, buffer_offset, ret = num; in r500_hw_i2c_xfer() local
705 remaining = p->len; in r500_hw_i2c_xfer()
708 while (remaining) { in r500_hw_i2c_xfer()
709 if (remaining > 15) in r500_hw_i2c_xfer()
712 current_count = remaining; in r500_hw_i2c_xfer()
744 remaining -= current_count; in r500_hw_i2c_xfer()
748 while (remaining) { in r500_hw_i2c_xfer()
749 if (remaining > 15) in r500_hw_i2c_xfer()
752 current_count = remaining; in r500_hw_i2c_xfer()
785 remaining -= current_count; in r500_hw_i2c_xfer()
/linux-4.1.27/drivers/usb/class/
Dusbtmc.c441 size_t remaining; in usbtmc_read() local
472 remaining = count; in usbtmc_read()
473 this_part = remaining; in usbtmc_read()
476 while (remaining > 0) { in usbtmc_read()
478 dev_dbg(dev, "usb_bulk_msg_in: remaining(%zu), count(%zu)\n", remaining, count); in usbtmc_read()
480 if (remaining > USBTMC_SIZE_IOBUFFER - USBTMC_HEADER_SIZE - 3) in usbtmc_read()
483 this_part = remaining; in usbtmc_read()
501 …b_bulk_msg: retval(%u), done(%zu), remaining(%zu), actual(%d)\n", retval, done, remaining, actual); in usbtmc_read()
555 if (remaining > n_characters) in usbtmc_read()
556 remaining = n_characters; in usbtmc_read()
[all …]
/linux-4.1.27/drivers/usb/host/whci/
Dqset.c268 size_t remaining, offset; in qset_copy_bounce_to_sg() local
271 remaining = std->len; in qset_copy_bounce_to_sg()
276 while (remaining) { in qset_copy_bounce_to_sg()
279 len = min(sg->length - offset, remaining); in qset_copy_bounce_to_sg()
283 remaining -= len; in qset_copy_bounce_to_sg()
438 size_t remaining; in qset_add_urb_sg() local
448 remaining = urb->transfer_buffer_length; in qset_add_urb_sg()
456 if (remaining == 0) { in qset_add_urb_sg()
461 dma_remaining = min_t(size_t, sg_dma_len(sg), remaining); in qset_add_urb_sg()
530 remaining -= dma_len; in qset_add_urb_sg()
[all …]
/linux-4.1.27/drivers/char/
Dps3flash.c112 size_t remaining, n; in ps3flash_read() local
133 remaining = count; in ps3flash_read()
135 n = min_t(u64, remaining, dev->bounce_size - offset); in ps3flash_read()
162 remaining -= n; in ps3flash_read()
165 } while (remaining > 0); in ps3flash_read()
181 size_t remaining, n; in ps3flash_write() local
202 remaining = count; in ps3flash_write()
204 n = min_t(u64, remaining, dev->bounce_size - offset); in ps3flash_write()
237 remaining -= n; in ps3flash_write()
240 } while (remaining > 0); in ps3flash_write()
Dmem.c127 unsigned long remaining; in read_mem() local
143 remaining = copy_to_user(buf, ptr, sz); in read_mem()
145 if (remaining) in read_mem()
/linux-4.1.27/drivers/md/
Ddm-io.c288 sector_t remaining = where->count; in do_region() local
318 dm_sector_div_up(remaining, (PAGE_SIZE >> SECTOR_SHIFT))); in do_region()
321 bio->bi_iter.bi_sector = where->sector + (where->count - remaining); in do_region()
327 num_sectors = min_t(sector_t, special_cmd_max_sectors, remaining); in do_region()
329 remaining -= num_sectors; in do_region()
336 num_sectors = min_t(sector_t, special_cmd_max_sectors, remaining); in do_region()
340 remaining -= num_sectors; in do_region()
342 } else while (remaining) { in do_region()
347 len = min(len, to_bytes(remaining)); in do_region()
352 remaining -= to_sector(len); in do_region()
[all …]
Draid1.h119 atomic_t remaining; /* 'have we finished' count, member
Draid10.h93 atomic_t remaining; /* 'have we finished' count, member
Draid10.c428 if (atomic_dec_and_test(&r10_bio->remaining)) { in one_write_done()
1439 atomic_set(&r10_bio->remaining, 1); in __make_request()
1461 atomic_inc(&r10_bio->remaining); in __make_request()
1504 atomic_inc(&r10_bio->remaining); in __make_request()
1945 atomic_dec_and_test(&r10_bio->remaining)) { in end_sync_read()
1957 while (atomic_dec_and_test(&r10_bio->remaining)) { in end_sync_request()
2043 atomic_set(&r10_bio->remaining, 1); in sync_request_write()
2115 atomic_inc(&r10_bio->remaining); in sync_request_write()
2139 atomic_inc(&r10_bio->remaining); in sync_request_write()
2146 if (atomic_dec_and_test(&r10_bio->remaining)) { in sync_request_write()
[all …]
Ddm-ioctl.c1106 size_t remaining, len, used = 0; in retrieve_status() local
1122 remaining = len - (outptr - outbuf); in retrieve_status()
1123 if (remaining <= sizeof(struct dm_target_spec)) { in retrieve_status()
1137 remaining = len - (outptr - outbuf); in retrieve_status()
1138 if (remaining <= 0) { in retrieve_status()
1147 ti->type->status(ti, type, status_flags, outptr, remaining); in retrieve_status()
1152 if (l == remaining) { in retrieve_status()
Ddm-table.c618 unsigned short remaining = 0; in validate_hardware_logical_block_alignment() local
641 if (remaining < ti->len && in validate_hardware_logical_block_alignment()
642 remaining & ((ti_limits.logical_block_size >> in validate_hardware_logical_block_alignment()
649 remaining = next_target_start ? in validate_hardware_logical_block_alignment()
653 if (remaining) { in validate_hardware_logical_block_alignment()
Draid1.c386 if (!atomic_dec_and_test(&r1_bio->remaining)) in r1_bio_write_done()
470 if (atomic_read(&r1_bio->behind_remaining) >= (atomic_read(&r1_bio->remaining)-1) && in raid1_end_write_request()
1363 atomic_set(&r1_bio->remaining, 1); in make_request()
1415 atomic_inc(&r1_bio->remaining); in make_request()
1753 if (atomic_dec_and_test(&r1_bio->remaining)) in end_sync_read()
1798 if (atomic_dec_and_test(&r1_bio->remaining)) { in end_sync_write()
2064 atomic_set(&r1_bio->remaining, 1); in sync_request_write()
2075 atomic_inc(&r1_bio->remaining); in sync_request_write()
2081 if (atomic_dec_and_test(&r1_bio->remaining)) { in sync_request_write()
2734 atomic_set(&r1_bio->remaining, read_targets); in sync_request()
[all …]
Draid5.c5061 int remaining; in make_discard_request() local
5141 remaining = raid5_dec_bi_active_stripes(bi); in make_discard_request()
5142 if (remaining == 0) { in make_discard_request()
5156 int remaining; in make_request() local
5314 remaining = raid5_dec_bi_active_stripes(bi); in make_request()
5315 if (remaining == 0) { in make_request()
5675 int remaining; in retry_aligned_read() local
5714 remaining = raid5_dec_bi_active_stripes(raid_bio); in retry_aligned_read()
5715 if (remaining == 0) { in retry_aligned_read()
/linux-4.1.27/drivers/media/tuners/
Dtda18218.c29 int ret = 0, len2, remaining; in tda18218_wr_regs() local
46 for (remaining = len; remaining > 0; in tda18218_wr_regs()
47 remaining -= (priv->cfg->i2c_wr_max - 1)) { in tda18218_wr_regs()
48 len2 = remaining; in tda18218_wr_regs()
53 buf[0] = reg + len - remaining; in tda18218_wr_regs()
54 memcpy(&buf[1], &val[len - remaining], len2); in tda18218_wr_regs()
Dsi2157.c82 int ret, len, remaining; in si2157_init() local
166 for (remaining = fw->size; remaining > 0; remaining -= 17) { in si2157_init()
167 len = fw->data[fw->size - remaining]; in si2157_init()
173 memcpy(cmd.args, &fw->data[(fw->size - remaining) + 1], len); in si2157_init()
/linux-4.1.27/drivers/staging/rtl8188eu/
DTODO2 - find and remove remaining code valid only for 5 HGz. Most of the obvious
5 - convert any remaining unusual variable types
7 - checkpatch.pl fixes - most of the remaining ones are lines too long. Many
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/
Dec168.c214 int ret, len, remaining; in ec168_download_firmware() local
219 for (remaining = fw->size; remaining > 0; remaining -= LEN_MAX) { in ec168_download_firmware()
220 len = remaining; in ec168_download_firmware()
225 req.data = (u8 *) &fw->data[fw->size - remaining]; in ec168_download_firmware()
226 req.index = fw->size - remaining; in ec168_download_firmware()
Daf9015.c354 int i, len, remaining, ret; in af9015_download_firmware() local
368 for (remaining = fw->size; remaining > 0; remaining -= LEN_MAX) { in af9015_download_firmware()
369 len = remaining; in af9015_download_firmware()
374 req.data = (u8 *) &fw->data[fw->size - remaining]; in af9015_download_firmware()
375 req.addr = FW_ADDR + fw->size - remaining; in af9015_download_firmware()
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
Dmanage.c205 u16 remaining, i, j, prev_bytes; in e1000_mng_host_if_write() local
227 remaining = length & 0x3; in e1000_mng_host_if_write()
228 length -= remaining; in e1000_mng_host_if_write()
244 if (remaining) { in e1000_mng_host_if_write()
246 if (j < remaining) in e1000_mng_host_if_write()
/linux-4.1.27/drivers/media/dvb-frontends/
Dsi2168.c353 int ret, len, remaining; in si2168_init() local
458 for (remaining = fw->size; remaining > 0; remaining -= 17) { in si2168_init()
459 len = fw->data[fw->size - remaining]; in si2168_init()
464 memcpy(cmd.args, &fw->data[(fw->size - remaining) + 1], len); in si2168_init()
473 for (remaining = fw->size; remaining > 0; remaining -= 8) { in si2168_init()
475 memcpy(cmd.args, &fw->data[fw->size - remaining], len); in si2168_init()
Daf9013.c1354 int i, len, remaining, ret; in af9013_download_firmware() local
1407 for (remaining = fw->size; remaining > 0; remaining -= LEN_MAX) { in af9013_download_firmware()
1408 len = remaining; in af9013_download_firmware()
1413 FW_ADDR + fw->size - remaining, in af9013_download_firmware()
1414 (u8 *) &fw->data[fw->size - remaining], len); in af9013_download_firmware()
Dtda10071.c875 int ret, i, len, remaining, fw_size; in tda10071_init() local
1001 for (remaining = fw_size; remaining > 0; in tda10071_init()
1002 remaining -= (priv->cfg.i2c_wr_max - 1)) { in tda10071_init()
1003 len = remaining; in tda10071_init()
1008 (u8 *) &fw->data[fw_size - remaining], len); in tda10071_init()
Dcx24116.c569 int i, ret, len, max, remaining; in cx24116_load_firmware() local
613 for (remaining = fw->size; remaining > 0; remaining -= max - 1) { in cx24116_load_firmware()
614 len = remaining; in cx24116_load_firmware()
618 cx24116_writeregN(state, 0xF7, &fw->data[fw->size - remaining], in cx24116_load_firmware()
Dm88ds3103.c580 int ret, len, remaining; in m88ds3103_init() local
645 for (remaining = fw->size; remaining > 0; in m88ds3103_init()
646 remaining -= (priv->cfg->i2c_wr_max - 1)) { in m88ds3103_init()
647 len = remaining; in m88ds3103_init()
652 &fw->data[fw->size - remaining], len); in m88ds3103_init()
/linux-4.1.27/fs/squashfs/
Dcache.c309 int remaining = length; in squashfs_copy_data() local
322 if (bytes >= remaining) { in squashfs_copy_data()
323 memcpy(buffer, buff, remaining); in squashfs_copy_data()
324 remaining = 0; in squashfs_copy_data()
330 remaining -= bytes; in squashfs_copy_data()
334 return length - remaining; in squashfs_copy_data()
/linux-4.1.27/arch/alpha/kernel/
Dsrmcons.c94 long c, remaining = count; in srmcons_do_write() local
99 for (cur = (char *)buf; remaining > 0; ) { in srmcons_do_write()
105 for (c = 0; c < min_t(long, 128L, remaining) && !need_cr; c++) in srmcons_do_write()
112 remaining -= result.bits.c; in srmcons_do_write()
/linux-4.1.27/drivers/usb/musb/
Dtusb6010_omap.c117 unsigned long remaining, flags, pio; in tusb_omap_dma_cb() local
135 remaining = musb_readl(ep_conf, TUSB_EP_TX_OFFSET); in tusb_omap_dma_cb()
137 remaining = musb_readl(ep_conf, TUSB_EP_RX_OFFSET); in tusb_omap_dma_cb()
139 remaining = TUSB_EP_CONFIG_XFR_SIZE(remaining); in tusb_omap_dma_cb()
142 if (unlikely(remaining > chdat->transfer_len)) { in tusb_omap_dma_cb()
145 remaining); in tusb_omap_dma_cb()
146 remaining = 0; in tusb_omap_dma_cb()
149 channel->actual_len = chdat->transfer_len - remaining; in tusb_omap_dma_cb()
152 dev_dbg(musb->controller, "DMA remaining %lu/%u\n", remaining, chdat->transfer_len); in tusb_omap_dma_cb()
/linux-4.1.27/arch/tile/kernel/
Dstack.c289 size_t namelen, remaining; in describe_addr() local
314 remaining = (bufsize - 1) - namelen; in describe_addr()
316 rc = snprintf(p, remaining, "+%#lx/%#lx ", in describe_addr()
318 if (modname && rc < remaining) in describe_addr()
319 snprintf(p + rc, remaining - rc, "[%s] ", modname); in describe_addr()
347 remaining = (bufsize - 1) - namelen; in describe_addr()
349 snprintf(buf + namelen, remaining, "[%lx+%lx] ", in describe_addr()
/linux-4.1.27/tools/perf/ui/stdio/
Dhist.c88 u64 remaining; in __callchain__fprintf_graph() local
93 remaining = total_samples; in __callchain__fprintf_graph()
102 remaining -= cumul; in __callchain__fprintf_graph()
112 if (!next && (callchain_param.mode != CHAIN_GRAPH_REL || !remaining)) in __callchain__fprintf_graph()
145 remaining && remaining != total_samples) { in __callchain__fprintf_graph()
153 remaining, left_margin); in __callchain__fprintf_graph()
/linux-4.1.27/drivers/staging/rtl8723au/
DTODO5 - convert any remaining unusual variable types
7 - checkpatch.pl fixes - most of the remaining ones are lines too long. Many
/linux-4.1.27/drivers/scsi/libfc/
Dfc_libfc.c116 size_t remaining = len; in fc_copy_buffer_to_sglist() local
119 while (remaining > 0 && sg) { in fc_copy_buffer_to_sglist()
135 sg_bytes = min(remaining, sg->length - *offset); in fc_copy_buffer_to_sglist()
151 remaining -= sg_bytes; in fc_copy_buffer_to_sglist()
Dfc_fcp.c568 size_t remaining; in fc_fcp_send_data() local
609 remaining = seq_blen; in fc_fcp_send_data()
618 while (remaining > 0 && sg) { in fc_fcp_send_data()
625 tlen = min(t_blen, remaining); in fc_fcp_send_data()
670 remaining -= sg_bytes; in fc_fcp_send_data()
680 if (remaining == 0) in fc_fcp_send_data()
/linux-4.1.27/drivers/usb/c67x00/
Dc67x00-sched.c661 int remaining; in c67x00_add_data_urb() local
670 remaining = urb->transfer_buffer_length - urb->actual_length; in c67x00_add_data_urb()
675 usb_pipeout(urb->pipe) && !(remaining % maxps); in c67x00_add_data_urb()
677 while (remaining || need_empty) { in c67x00_add_data_urb()
681 len = (remaining > maxps) ? maxps : remaining; in c67x00_add_data_urb()
687 remaining; in c67x00_add_data_urb()
694 remaining -= len; in c67x00_add_data_urb()
873 int maxps, need_empty, remaining; in c67x00_end_of_data() local
887 remaining = urb->transfer_buffer_length - urb->actual_length; in c67x00_end_of_data()
889 usb_pipeout(urb->pipe) && !(remaining % maxps); in c67x00_end_of_data()
[all …]
/linux-4.1.27/lib/
Dhexdump.c242 int i, linelen, remaining = len; in print_hex_dump() local
249 linelen = min(remaining, rowsize); in print_hex_dump()
250 remaining -= rowsize; in print_hex_dump()
Ddigsig.c109 unsigned int remaining = endp - datap; in digsig_verify_rsa() local
110 pkey[i] = mpi_read_from_buffer(datap, &remaining); in digsig_verify_rsa()
113 datap += remaining; in digsig_verify_rsa()
Ddynamic_debug.c501 static int remaining(int wrote) in remaining() function
517 pos += snprintf(buf + pos, remaining(pos), "<intr> "); in dynamic_emit_prefix()
519 pos += snprintf(buf + pos, remaining(pos), "[%d] ", in dynamic_emit_prefix()
524 pos += snprintf(buf + pos, remaining(pos), "%s:", in dynamic_emit_prefix()
527 pos += snprintf(buf + pos, remaining(pos), "%s:", in dynamic_emit_prefix()
530 pos += snprintf(buf + pos, remaining(pos), "%d:", in dynamic_emit_prefix()
533 pos += snprintf(buf + pos, remaining(pos), " "); in dynamic_emit_prefix()
Dbch.c1117 unsigned int sum, x, y, remaining, ak = 0, xi[m]; in build_deg2_base() local
1130 remaining = m; in build_deg2_base()
1133 for (x = 0; (x <= GF_N(bch)) && remaining; x++) { in build_deg2_base()
1140 remaining--; in build_deg2_base()
1148 return remaining ? -1 : 0; in build_deg2_base()
/linux-4.1.27/drivers/gpu/vga/
Dvgaarb.c912 size_t remaining = count; in vga_arb_write() local
931 remaining -= 5; in vga_arb_write()
935 if (!vga_str_to_iostate(curr_pos, remaining, &io_state)) { in vga_arb_write()
967 remaining -= 7; in vga_arb_write()
975 (curr_pos, remaining, &io_state)) { in vga_arb_write()
1023 remaining -= 8; in vga_arb_write()
1027 if (!vga_str_to_iostate(curr_pos, remaining, &io_state)) { in vga_arb_write()
1067 remaining -= 7; in vga_arb_write()
1073 if (!vga_pci_str_to_vars(curr_pos, remaining, in vga_arb_write()
1127 remaining -= 8; in vga_arb_write()
[all …]
/linux-4.1.27/drivers/staging/android/
Dtimed_output.c34 int remaining = tdev->get_time(tdev); in enable_show() local
36 return sprintf(buf, "%d\n", remaining); in enable_show()
/linux-4.1.27/arch/metag/lib/
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.
Dmemset.S62 ! D1Ar3 should be the remaining total byte count
/linux-4.1.27/net/ipv4/
Dfib_semantics.c439 static int fib_count_nexthops(struct rtnexthop *rtnh, int remaining) in fib_count_nexthops() argument
443 while (rtnh_ok(rtnh, remaining)) { in fib_count_nexthops()
445 rtnh = rtnh_next(rtnh, &remaining); in fib_count_nexthops()
449 return remaining > 0 ? 0 : nhs; in fib_count_nexthops()
453 int remaining, struct fib_config *cfg) in fib_get_nhs() argument
458 if (!rtnh_ok(rtnh, remaining)) in fib_get_nhs()
480 rtnh = rtnh_next(rtnh, &remaining); in fib_get_nhs()
492 int remaining; in fib_nh_match() local
510 remaining = cfg->fc_mp_len; in fib_nh_match()
515 if (!rtnh_ok(rtnh, remaining)) in fib_nh_match()
[all …]
Dtcp_output.c552 unsigned int remaining = MAX_TCP_OPTION_SPACE; in tcp_syn_options() local
559 remaining -= TCPOLEN_MD5SIG_ALIGNED; in tcp_syn_options()
575 remaining -= TCPOLEN_MSS_ALIGNED; in tcp_syn_options()
581 remaining -= TCPOLEN_TSTAMP_ALIGNED; in tcp_syn_options()
586 remaining -= TCPOLEN_WSCALE_ALIGNED; in tcp_syn_options()
591 remaining -= TCPOLEN_SACKPERM_ALIGNED; in tcp_syn_options()
600 if (remaining >= need) { in tcp_syn_options()
603 remaining -= need; in tcp_syn_options()
609 return MAX_TCP_OPTION_SPACE - remaining; in tcp_syn_options()
621 unsigned int remaining = MAX_TCP_OPTION_SPACE; in tcp_synack_options() local
[all …]
Dinet_hashtables.c502 int i, remaining, low, high, port; in __inet_hash_connect() local
508 remaining = (high - low) + 1; in __inet_hash_connect()
511 for (i = 1; i <= remaining; i++) { in __inet_hash_connect()
512 port = low + (i + offset) % remaining; in __inet_hash_connect()
Dinet_connection_sock.c105 int remaining, rover, low, high; in inet_csk_get_port() local
109 remaining = (high - low) + 1; in inet_csk_get_port()
110 smallest_rover = rover = prandom_u32() % remaining + low; in inet_csk_get_port()
148 } while (--remaining > 0); in inet_csk_get_port()
157 if (remaining <= 0) { in inet_csk_get_port()
Dtcp_ipv4.c370 __u32 remaining; in tcp_v4_err() local
470 remaining = icsk->icsk_rto - in tcp_v4_err()
474 if (remaining) { in tcp_v4_err()
476 remaining, TCP_RTO_MAX); in tcp_v4_err()
Dfib_frontend.c600 int err, remaining; in rtm_to_fib_config() local
628 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), remaining) { in rtm_to_fib_config()
Dudp.c220 int low, high, remaining; in udp_lib_get_port() local
226 remaining = (high - low) + 1; in udp_lib_get_port()
229 first = reciprocal_scale(rand, remaining) + low; in udp_lib_get_port()
/linux-4.1.27/drivers/staging/media/mn88473/
Dmn88473.c242 int ret, len, remaining; in mn88473_init() local
277 for (remaining = fw->size; remaining > 0; in mn88473_init()
278 remaining -= (dev->i2c_wr_max - 1)) { in mn88473_init()
279 len = remaining; in mn88473_init()
284 &fw->data[fw->size - remaining], len); in mn88473_init()
/linux-4.1.27/fs/cifs/
Dtransport.c141 unsigned int remaining; in smb_send_kvec() local
156 remaining = 0; in smb_send_kvec()
158 remaining += iov[i].iov_len; in smb_send_kvec()
161 while (remaining) { in smb_send_kvec()
181 n_vec - first_vec, remaining); in smb_send_kvec()
200 if (rc == remaining) { in smb_send_kvec()
201 remaining = 0; in smb_send_kvec()
205 if (rc > remaining) { in smb_send_kvec()
206 cifs_dbg(VFS, "sent %d requested %d\n", rc, remaining); in smb_send_kvec()
218 remaining -= rc; in smb_send_kvec()
Dsmb1ops.c247 int remaining; in check2ndT2() local
273 remaining = total_data_size - data_in_this_rsp; in check2ndT2()
276 remaining); in check2ndT2()
282 return remaining; in check2ndT2()
292 int remaining; in coalesce_t2() local
305 remaining = tgt_total_cnt - total_in_tgt; in coalesce_t2()
307 if (remaining < 0) { in coalesce_t2()
313 if (remaining == 0) { in coalesce_t2()
320 if (remaining < total_in_src) in coalesce_t2()
365 if (remaining != total_in_src) { in coalesce_t2()
Dsmb2pdu.c1046 unsigned int remaining; in parse_lease_state() local
1050 remaining = le32_to_cpu(rsp->CreateContextsLength); in parse_lease_state()
1052 while (remaining >= sizeof(struct create_context)) { in parse_lease_state()
1061 remaining -= next; in parse_lease_state()
Dfile.c2827 size_t remaining = rdata->got_bytes; in cifs_readdata_to_iov() local
2832 size_t copy = min_t(size_t, remaining, PAGE_SIZE); in cifs_readdata_to_iov()
2834 remaining -= written; in cifs_readdata_to_iov()
2838 return remaining ? -EFAULT : 0; in cifs_readdata_to_iov()
/linux-4.1.27/fs/nfsd/
Dnfsctl.c546 int len, num, remaining; in __write_versions() local
604 remaining = SIMPLE_TRANSACTION_LIMIT; in __write_versions()
607 len = snprintf(buf, remaining, "%s%c%d", sep, in __write_versions()
612 if (len >= remaining) in __write_versions()
614 remaining -= len; in __write_versions()
621 len = snprintf(buf, remaining, " %c4.%u", in __write_versions()
627 if (len >= remaining) in __write_versions()
629 remaining -= len; in __write_versions()
634 len = snprintf(buf, remaining, "\n"); in __write_versions()
635 if (len >= remaining) in __write_versions()
/linux-4.1.27/drivers/staging/media/mn88472/
Dmn88472.c282 int ret, len, remaining; in mn88472_init() local
327 for (remaining = fw->size; remaining > 0; in mn88472_init()
328 remaining -= (dev->i2c_wr_max - 1)) { in mn88472_init()
329 len = remaining; in mn88472_init()
334 &fw->data[fw->size - remaining], len); in mn88472_init()
/linux-4.1.27/drivers/mtd/devices/
Dmtd_dataflash.c307 size_t remaining = len; in dataflash_write() local
329 while (remaining > 0) { in dataflash_write()
414 remaining = 0; in dataflash_write()
422 remaining = remaining - writelen; in dataflash_write()
428 if (remaining > priv->page_size) in dataflash_write()
431 writelen = remaining; in dataflash_write()
Dst_spi_fsm.c755 uint32_t remaining = size >> 2; in stfsm_read_fifo() local
763 while (remaining) { in stfsm_read_fifo()
770 words = min(avail, remaining); in stfsm_read_fifo()
771 remaining -= words; in stfsm_read_fifo()
/linux-4.1.27/drivers/s390/char/
Dvmlogrdr.c73 int remaining; member
470 priv->remaining = user_data_count; in vmlogrdr_receive_data()
493 if (count > priv->remaining) in vmlogrdr_read()
494 count = priv->remaining; in vmlogrdr_read()
501 priv->remaining -= count; in vmlogrdr_read()
504 if (priv->remaining == 0) in vmlogrdr_read()
Dsclp.c751 u16 remaining; in sclp_remove_processed() local
755 remaining = sccb->length - sizeof(struct sccb_header); in sclp_remove_processed()
756 while (remaining > 0) { in sclp_remove_processed()
757 remaining -= evbuf->length; in sclp_remove_processed()
761 remaining); in sclp_remove_processed()
/linux-4.1.27/crypto/
Dvmac.c414 int i, remaining; in vhash() local
421 remaining = mbytes % VMAC_NHBYTES; in vhash()
432 } else if (remaining) { in vhash()
433 nh_16(mptr, kptr, 2*((remaining+15)/16), ch, cl); in vhash()
449 if (remaining) { in vhash()
450 nh_16(mptr, kptr, 2*((remaining+15)/16), rh, rl); in vhash()
457 remaining *= 8; in vhash()
458 return l3hash(ch, cl, ctx->l3key[0], ctx->l3key[1], remaining); in vhash()
/linux-4.1.27/arch/x86/crypto/
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/fs/
Dtimerfd.c151 ktime_t remaining; in timerfd_get_remaining() local
154 remaining = alarm_expires_remaining(&ctx->t.alarm); in timerfd_get_remaining()
156 remaining = hrtimer_expires_remaining(&ctx->t.tmr); in timerfd_get_remaining()
158 return remaining.tv64 < 0 ? ktime_set(0, 0): remaining; in timerfd_get_remaining()
Ddirect-io.c291 unsigned long remaining; in dio_bio_end_aio() local
298 remaining = --dio->refcount; in dio_bio_end_aio()
299 if (remaining == 1 && dio->waiter) in dio_bio_end_aio()
303 if (remaining == 0) { in dio_bio_end_aio()
Dbinfmt_elf.c1504 unsigned count, size, names_ofs, remaining, n; in fill_files_note() local
1524 remaining = size - names_ofs; in fill_files_note()
1533 filename = d_path(&file->f_path, name_curpos, remaining); in fill_files_note()
1545 n = (name_curpos + remaining) - filename; in fill_files_note()
1546 remaining = filename - name_curpos; in fill_files_note()
/linux-4.1.27/drivers/dma/
DTODO3 1. Move remaining drivers to use new slave interface
/linux-4.1.27/drivers/spi/
Dspi-dln2.c553 u16 remaining = data_len; in dln2_spi_rdwr() local
557 if (remaining > DLN2_SPI_MAX_XFER_SIZE) { in dln2_spi_rdwr()
561 len = remaining; in dln2_spi_rdwr()
565 offset = data_len - remaining; in dln2_spi_rdwr()
587 remaining -= len; in dln2_spi_rdwr()
588 } while (remaining); in dln2_spi_rdwr()
/linux-4.1.27/Documentation/scheduler/
Dsched-deadline.txt70 a "remaining runtime". These two parameters are initially set to 0;
75 remaining runtime runtime
81 remaining runtime are re-initialised as
84 remaining runtime = runtime
86 otherwise, the scheduling deadline and the remaining runtime are
90 remaining runtime is decreased as
92 remaining runtime = remaining runtime - t
97 - When the remaining runtime becomes less or equal than 0, the task is
104 throttled task, the scheduling deadline and the remaining runtime are
108 remaining runtime = remaining runtime + runtime
Dcompletion.txt168 (in jiffies). If timeout occurs it returns 0 else the remaining time in
179 otherwise it returns 0 if the completion timed out or the remaining time in
Dsched-bwc.txt90 In case b) above, even though the child may have runtime remaining it will not
Dsched-rt-group.txt72 The remaining CPU time will be used for user input and other tasks. Because
/linux-4.1.27/arch/um/drivers/
Dcow_user.c148 int remaining; in absolutize() local
170 remaining = size - strlen(to); in absolutize()
171 if (strlen(slash) + 1 > remaining) { in absolutize()
/linux-4.1.27/drivers/gpu/drm/omapdrm/
DKconfig25 The remaining overlays are reserved for video.
/linux-4.1.27/arch/mips/boot/
Delf2ecoff.c69 int remaining, cur, count; in copy() local
77 remaining = size; in copy()
78 while (remaining) { in copy()
79 cur = remaining; in copy()
82 remaining -= cur; in copy()
/linux-4.1.27/drivers/staging/lustre/
DTODO1 * Possible remaining coding style fix.
/linux-4.1.27/drivers/staging/ozwpan/
DTODO3 - Check for remaining ioctl & check if that can be converted into
/linux-4.1.27/drivers/net/usb/
Dasix_common.c59 u16 remaining = 0; in asix_rx_fixup_internal() local
109 remaining = rx->size - (skb->len - offset); in asix_rx_fixup_internal()
115 if (!remaining) in asix_rx_fixup_internal()
119 rx->size = remaining; in asix_rx_fixup_internal()
/linux-4.1.27/drivers/misc/
Dlkdtm.c306 static int recursive_loop(int remaining) in recursive_loop() argument
311 memset(buf, (remaining & 0xff) | 0x1, REC_STACK_SIZE); in recursive_loop()
312 if (!remaining) in recursive_loop()
315 return recursive_loop(remaining - 1); in recursive_loop()
/linux-4.1.27/drivers/media/pci/cx18/
Dcx18-ioctl.c676 int consumed, remaining; in _cx18_process_idx_data() local
691 remaining = buf->bytesused - buf->readpos; in _cx18_process_idx_data()
696 while (remaining >= sizeof(struct cx18_enc_idx_entry) && in _cx18_process_idx_data()
716 remaining -= sizeof(struct cx18_enc_idx_entry); in _cx18_process_idx_data()
721 if (remaining > 0 && remaining < sizeof(struct cx18_enc_idx_entry)) in _cx18_process_idx_data()
722 consumed += remaining; in _cx18_process_idx_data()
/linux-4.1.27/Documentation/devicetree/bindings/timer/
Dnvidia,tegra30-timer.txt14 through 5, and one for the shared interrupt for the remaining channels.
/linux-4.1.27/arch/openrisc/
DTODO.openrisc2 since 2.6.35. There are, however, remaining items to be completed within
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/fsl/
Dlbc.txt6 chipselect number, and the remaining cells are the
/linux-4.1.27/drivers/net/ethernet/cadence/
DKconfig18 the remaining Atmel network card questions. If you say Y, you will be
/linux-4.1.27/drivers/staging/slicoss/
DTODO4 - any remaining sparse and checkpatch.pl warnings
/linux-4.1.27/net/dccp/
Doutput.c223 long remaining; in dccp_wait_for_ccid() local
229 remaining = schedule_timeout(delay); in dccp_wait_for_ccid()
237 return remaining; in dccp_wait_for_ccid()
/linux-4.1.27/Documentation/devicetree/bindings/clock/
Dste-u300-syscon-clock.txt11 2 = rest/remaining clock
/linux-4.1.27/kernel/time/
Dposix-timers.c731 ktime_t now, remaining, iv; in common_timer_get() local
756 remaining = ktime_sub(hrtimer_get_expires(timer), now); in common_timer_get()
758 if (remaining.tv64 <= 0) { in common_timer_get()
766 cur_setting->it_value = ktime_to_timespec(remaining); in common_timer_get()
/linux-4.1.27/Documentation/devicetree/bindings/clock/st/
Dst,quadfs.txt34 for the remaining outputs.
Dst,clkgen-vcc.txt31 for the remaining outputs.
/linux-4.1.27/drivers/message/fusion/
Dmptlan.c976 u32 remaining = le32_to_cpu(pRecvRep->BucketsRemaining); in mpt_lan_receive_post_reply() local
1115 if (remaining == 0) in mpt_lan_receive_post_reply()
1120 else if (remaining < 10) in mpt_lan_receive_post_reply()
1124 remaining, atomic_read(&priv->buckets_out)); in mpt_lan_receive_post_reply()
1126 if ((remaining < priv->bucketthresh) && in mpt_lan_receive_post_reply()
1127 ((atomic_read(&priv->buckets_out) - remaining) > in mpt_lan_receive_post_reply()
/linux-4.1.27/arch/powerpc/lib/
Ddiv64.S52 divwu r0,r6,r4 # perform the remaining 32-bit division
/linux-4.1.27/drivers/mmc/host/
Datmel-mci.c1883 unsigned int remaining = sg->length - offset; in atmci_read_data_pio() local
1884 memcpy(buf + offset, &value, remaining); in atmci_read_data_pio()
1885 nbytes += remaining; in atmci_read_data_pio()
1893 offset = 4 - remaining; in atmci_read_data_pio()
1895 memcpy(buf, (u8 *)&value + remaining, offset); in atmci_read_data_pio()
1949 unsigned int remaining = sg->length - offset; in atmci_write_data_pio() local
1952 memcpy(&value, buf + offset, remaining); in atmci_write_data_pio()
1953 nbytes += remaining; in atmci_write_data_pio()
1962 offset = 4 - remaining; in atmci_write_data_pio()
1964 memcpy((u8 *)&value + remaining, buf, offset); in atmci_write_data_pio()
/linux-4.1.27/arch/mn10300/lib/
Dmemset.S79 # copy the remaining 1, 2 or 3 words
Dmemcpy.S89 # copy the remaining 1, 2 or 3 words
Ddo_csum.S106 # copy the remaining whole words
Dmemmove.S109 # copy the remaining 1, 2 or 3 words
/linux-4.1.27/Documentation/usb/
Ddwc3.txt39 handles the remaining EP work which might sleep such as waiting
Derror-codes.txt132 endpoint or the remaining buffer size. "Babble".
/linux-4.1.27/drivers/net/wireless/prism54/
Dislpci_dev.c490 long remaining; in islpci_reset_if() local
505 remaining = schedule_timeout_uninterruptible(HZ); in islpci_reset_if()
507 if(remaining > 0) { in islpci_reset_if()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_lib.h570 long remaining = schedule_timeout(interval);\
572 cfs_time_sub(interval, remaining));\
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dsta.c1613 int remaining = cnt; in iwl_mvm_sta_modify_sleep_tx_count() local
1631 if (n_queued > remaining) { in iwl_mvm_sta_modify_sleep_tx_count()
1633 remaining = 0; in iwl_mvm_sta_modify_sleep_tx_count()
1636 remaining -= n_queued; in iwl_mvm_sta_modify_sleep_tx_count()
1640 cmd.sleep_tx_count = cpu_to_le16(cnt - remaining); in iwl_mvm_sta_modify_sleep_tx_count()
1641 if (WARN_ON(cnt - remaining == 0)) { in iwl_mvm_sta_modify_sleep_tx_count()
/linux-4.1.27/drivers/tty/hvc/
Dhvsi.c183 int remaining = (int)(hp->inbuf_end - read_to); in compact_inbuf() local
185 pr_debug("%s: %i chars remain\n", __func__, remaining); in compact_inbuf()
188 memmove(hp->inbuf, read_to, remaining); in compact_inbuf()
190 hp->inbuf_end = hp->inbuf + remaining; in compact_inbuf()
/linux-4.1.27/drivers/net/ethernet/adi/
DKconfig17 the remaining Blackfin card questions. If you say Y, you will be
/linux-4.1.27/Documentation/devicetree/bindings/memory-controllers/fsl/
Difc.txt10 chipselect number, and the remaining cells are the
/linux-4.1.27/arch/x86/kvm/
Di8254.c109 ktime_t remaining; in __kpit_elapsed() local
124 remaining = hrtimer_get_remaining(&ps->timer); in __kpit_elapsed()
125 elapsed = ps->period - ktime_to_ns(remaining); in __kpit_elapsed()
Dlapic.c941 ktime_t remaining; in apic_get_tmcct() local
952 remaining = hrtimer_get_remaining(&apic->lapic_timer.timer); in apic_get_tmcct()
953 if (ktime_to_ns(remaining) < 0) in apic_get_tmcct()
954 remaining = ktime_set(0, 0); in apic_get_tmcct()
956 ns = mod_64(ktime_to_ns(remaining), apic->lapic_timer.period); in apic_get_tmcct()
/linux-4.1.27/Documentation/devicetree/bindings/input/touchscreen/
Dti-tsc-adc.txt17 remaining 4 can be used by the ADC.
/linux-4.1.27/drivers/block/
Dfloppy.c2405 int remaining; /* number of transferred 512-byte sectors */ in copy_buffer() local
2421 remaining = current_count_sectors << 9; in copy_buffer()
2422 if (remaining > blk_rq_bytes(current_req) && CT(COMMAND) == FD_WRITE) { in copy_buffer()
2425 pr_info("remaining=%d\n", remaining >> 9); in copy_buffer()
2441 if (!remaining) in copy_buffer()
2445 SUPBOUND(size, remaining); in copy_buffer()
2471 remaining -= size; in copy_buffer()
2474 if (remaining) { in copy_buffer()
2475 if (remaining > 0) in copy_buffer()
2476 max_sector -= remaining >> 9; in copy_buffer()
[all …]
Dnvme-scsi.c376 size_t remaining = n; in nvme_trans_copy_to_user() local
388 xfer_len = min(remaining, sgl.iov_len); in nvme_trans_copy_to_user()
396 remaining -= xfer_len; in nvme_trans_copy_to_user()
397 if (remaining == 0) in nvme_trans_copy_to_user()
417 size_t remaining = n; in nvme_trans_copy_from_user() local
429 xfer_len = min(remaining, sgl.iov_len); in nvme_trans_copy_from_user()
437 remaining -= xfer_len; in nvme_trans_copy_from_user()
438 if (remaining == 0) in nvme_trans_copy_from_user()
Dpktcdvd.c2512 int remaining = (pd->settings.size << 9) - used; in pkt_merge_bvec() local
2520 remaining = max(remaining, remaining2); in pkt_merge_bvec()
2522 BUG_ON(remaining < 0); in pkt_merge_bvec()
2523 return remaining; in pkt_merge_bvec()
/linux-4.1.27/Documentation/ABI/stable/
Dsysfs-firmware-opal-elog20 the only remaining copy of a log message may be in
Dsysfs-driver-ib_srp45 in an SRP_CMD the remaining memory descriptors are
/linux-4.1.27/net/sunrpc/
Dsvcsock.c280 static int svc_one_sock_name(struct svc_sock *svsk, char *buf, int remaining) in svc_one_sock_name() argument
289 len = snprintf(buf, remaining, "ipv4 %s %pI4 %d\n", in svc_one_sock_name()
296 len = snprintf(buf, remaining, "ipv6 %s %pI6 %d\n", in svc_one_sock_name()
303 len = snprintf(buf, remaining, "*unknown-%d*\n", in svc_one_sock_name()
307 if (len >= remaining) { in svc_one_sock_name()
Dsvc_xprt.c1239 char *pos, int remaining) in svc_one_xprt_name() argument
1243 len = snprintf(pos, remaining, "%s %u\n", in svc_one_xprt_name()
1246 if (len >= remaining) in svc_one_xprt_name()
/linux-4.1.27/drivers/usb/host/
Dmax3421-hcd.c852 size_t remaining, transfer_size; in max3421_recv_data_available() local
860 remaining = 0; in max3421_recv_data_available()
862 remaining = urb->transfer_buffer_length - urb->actual_length; in max3421_recv_data_available()
864 if (transfer_size > remaining) in max3421_recv_data_available()
865 transfer_size = remaining; in max3421_recv_data_available()
/linux-4.1.27/Documentation/locking/
Dlglock.txt77 being initializeable in kernel modules (the remaining problem is that
146 currently prevent using RCU in place of view remaining lglocks.
/linux-4.1.27/mm/
Dkmemleak.c298 int i, len, remaining; in hex_dump_object() local
302 remaining = len = in hex_dump_object()
307 int linelen = min(remaining, HEX_ROW_SIZE); in hex_dump_object()
309 remaining -= HEX_ROW_SIZE; in hex_dump_object()
Dvmscan.c2973 static bool prepare_kswapd_sleep(pg_data_t *pgdat, int order, long remaining, in prepare_kswapd_sleep() argument
2977 if (remaining) in prepare_kswapd_sleep()
3281 long remaining = 0; in kswapd_try_to_sleep() local
3290 if (prepare_kswapd_sleep(pgdat, order, remaining, classzone_idx)) { in kswapd_try_to_sleep()
3291 remaining = schedule_timeout(HZ/10); in kswapd_try_to_sleep()
3300 if (prepare_kswapd_sleep(pgdat, order, remaining, classzone_idx)) { in kswapd_try_to_sleep()
3326 if (remaining) in kswapd_try_to_sleep()
/linux-4.1.27/Documentation/devicetree/bindings/metag/
Dpdc-intc.txt27 shared SysWake interrupt, and remaining specifies shall be PDC peripheral
/linux-4.1.27/Documentation/w1/slaves/
Dw1_ds242333 - 31 remaining bytes from the ram page
/linux-4.1.27/drivers/net/ethernet/3com/
Dtyphoon.c1275 u32 remaining; in typhoon_request_firmware() local
1289 remaining = typhoon_fw->size; in typhoon_request_firmware()
1290 if (remaining < sizeof(struct typhoon_file_header)) in typhoon_request_firmware()
1299 remaining -= sizeof(struct typhoon_file_header); in typhoon_request_firmware()
1302 if (remaining < sizeof(struct typhoon_section_header)) in typhoon_request_firmware()
1309 if (remaining < section_len) in typhoon_request_firmware()
1313 remaining -= section_len; in typhoon_request_firmware()
/linux-4.1.27/arch/frv/kernel/
Dhead-uc-fr451.S67 # need to tile the remaining IAMPR/DAMPR registers to cover as much of the RAM as possible
Dhead-uc-fr401.S252 # need to tile the remaining IAMPR/DAMPR registers to cover as much of the RAM as possible
Dhead-uc-fr555.S240 # need to tile the remaining IAMPR/DAMPR registers to cover as much of the RAM as possible
/linux-4.1.27/Documentation/devicetree/bindings/crypto/
Dfsl-sec2.txt29 remaining bits are reserved for future SEC EUs.
/linux-4.1.27/arch/powerpc/boot/
Ddiv64.S52 divwu r0,r6,r4 # perform the remaining 32-bit division
/linux-4.1.27/drivers/media/platform/coda/
Dcoda.h164 int remaining; member
Dcoda-bit.c499 if (size > iram->remaining) in coda_iram_alloc()
501 iram->remaining -= size; in coda_iram_alloc()
521 iram_info->remaining = dev->iram.size; in coda_setup_iram()
/linux-4.1.27/tools/perf/Documentation/
Dperf-script-perl.txt103 All of the remaining fields in the event's format file have
163 The remaining sections provide descriptions of each of the available
Dperf-script-python.txt499 All of the remaining fields in the event's format file have
558 The remaining sections provide descriptions of each of the available
/linux-4.1.27/Documentation/
Dpadata.txt153 The one remaining function in the padata API should be called to clean up
158 This function will busy-wait while any remaining tasks are completed, so it
Dcircular-buffers.txt68 Calculation of the occupancy or the remaining capacity of an arbitrarily sized
80 (*) Measure the remaining capacity of a buffer:
Dkmemleak.txt87 1. mark all objects as white (remaining white objects will later be
96 4. the remaining white objects are considered orphan and reported via
Dfutex-requeue-pi.txt116 woken. futex_requeue() then proceeds to requeue the remaining
Dpi-futex.txt91 remaining work: if there is no futex-queue attached to the futex address
/linux-4.1.27/net/wireless/
Dutil.c657 int remaining, err; in ieee80211_amsdu_to_8023s() local
678 remaining = skb->len; in ieee80211_amsdu_to_8023s()
684 if (subframe_len > remaining) in ieee80211_amsdu_to_8023s()
689 if (remaining <= subframe_len + padding) in ieee80211_amsdu_to_8023s()
/linux-4.1.27/net/ipv6/
Droute.c1474 int remaining; in ip6_convert_metrics() local
1484 nla_for_each_attr(nla, cfg->fc_mx, cfg->fc_mx_len, remaining) { in ip6_convert_metrics()
2578 int remaining; in ip6_route_multipath_add() local
2586 remaining = cfg->fc_mp_len; in ip6_route_multipath_add()
2592 while (rtnh_ok(rtnh, remaining)) { in ip6_route_multipath_add()
2618 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_add()
2672 int remaining; in ip6_route_multipath_del() local
2676 remaining = cfg->fc_mp_len; in ip6_route_multipath_del()
2680 while (rtnh_ok(rtnh, remaining)) { in ip6_route_multipath_del()
2699 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_del()
/linux-4.1.27/drivers/usb/gadget/udc/bdc/
Dbdc_ep.c200 int remaining; in bd_needed_req() local
207 remaining = req->usb_req.length % BD_MAX_BUFF_SIZE; in bd_needed_req()
208 if (remaining) in bd_needed_req()
212 remaining = req->usb_req.length / BD_MAX_BUFF_SIZE; in bd_needed_req()
213 bd_needed += remaining; in bd_needed_req()
/linux-4.1.27/arch/xtensa/lib/
Dstrnlen_user.S91 EX(l32i, a9, a4, 4, lenfixup) # load 4 bytes for remaining checks
/linux-4.1.27/Documentation/filesystems/
Domfs.txt46 same 64-bit block number, any remaining space in the smaller sysblock is
Dudf.txt54 The remaining are for debugging and disaster recovery:
Dlogfs.txt158 remaining valid data is copied elsewhere, thereby invalidating it.
224 complain about remaining inodes due to the inode file either. Same
Dpath-lookup.txt116 the remaining dentries on the list.
225 Where ref-walk uses a stable, refcounted ``parent'' to walk the remaining
Dext2.txt150 interpret this object. Most of the remaining reserved fields have been
152 The HURD also has a larger mode field so it uses another of the remaining
/linux-4.1.27/arch/m32r/kernel/
Dhead.S94 and3 r4, r3, #3 ; get no. of remaining BSS bytes to clear
/linux-4.1.27/Documentation/acpi/
Dvideo_extension.txt57 not used by Linux currently. The remaining 10 levels are supported levels
/linux-4.1.27/Documentation/security/
DIMA-templates.txt21 management from the remaining IMA code. The core of this solution is the
/linux-4.1.27/Documentation/ABI/
DREADME35 This directory documents interfaces that are still remaining in
/linux-4.1.27/arch/powerpc/platforms/powernv/
Dpci-ioda.c2008 unsigned int residual, remaining, segs, tw, base; in pnv_ioda_setup_dma() local
2031 remaining = phb->ioda.tce32_count; in pnv_ioda_setup_dma()
2037 if (!remaining) { in pnv_ioda_setup_dma()
2044 if (segs > remaining) in pnv_ioda_setup_dma()
2045 segs = remaining; in pnv_ioda_setup_dma()
2063 remaining -= segs; in pnv_ioda_setup_dma()
/linux-4.1.27/Documentation/arm/pxa/
Dmfp.txt17 the MFP logic and the remaining SoC peripherals:
55 the remaining functions are pure GPIO-specific, i.e.
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/
Dbrcm,bcm11351-pinctrl.txt162 the "pins" property. Thus, the remaining properties in the "grp_1" node applies
174 "i2c_pin1" and "i2c_pin2"; the remaining properties in this pin group node,
Dimg,tz1090-pinctrl.txt74 particular function and leave the remaining pins unmuxed. This is useful if
/linux-4.1.27/drivers/usb/core/
Dhub.c1553 int remaining = hdev->bus_mA - in hub_configure() local
1560 if (remaining < maxchild * unit_load) in hub_configure()
4578 int remaining; in hub_power_remaining() local
4584 remaining = hdev->bus_mA - hub->descriptor->bHubContrCurrent; in hub_power_remaining()
4611 remaining -= delta; in hub_power_remaining()
4613 if (remaining < 0) { in hub_power_remaining()
4615 -remaining); in hub_power_remaining()
4616 remaining = 0; in hub_power_remaining()
4618 return remaining; in hub_power_remaining()
/linux-4.1.27/Documentation/hwmon/
Dadm102663 for SCSI terminator power. The remaining inputs are not scaled and have
/linux-4.1.27/Documentation/s390/
DCommonIO62 - echo free all > /proc/cio_ignore will un-ignore all remaining ignored
/linux-4.1.27/Documentation/scsi/
Dhpsa.txt77 remaining on the controller from the previous kernel. This attribute enables
Dst.txt89 as a synchronization point, i.e., all remaining data form the drive buffers is
124 remaining bits define the tape device number. This numbering is
224 3. The remaining segments between ST_MAX_SG (or the module parameter
Dsym53c8xx_2.txt835 remaining bytes unknown - they do not appear to change in my
858 remaining bytes unknown - they do not appear to change in my
899 remaining bytes unknown - they do not appear to change in my
/linux-4.1.27/fs/xfs/
Dxfs_bmap_util.c731 xfs_fileoff_t remaining = length; in xfs_bmap_punch_delalloc_range() local
786 remaining--; in xfs_bmap_punch_delalloc_range()
787 } while(remaining > 0); in xfs_bmap_punch_delalloc_range()
/linux-4.1.27/kernel/sched/
Dfair.c3724 u64 remaining, u64 expires) in distribute_cfs_runtime() argument
3728 u64 starting_runtime = remaining; in distribute_cfs_runtime()
3740 if (runtime > remaining) in distribute_cfs_runtime()
3741 runtime = remaining; in distribute_cfs_runtime()
3742 remaining -= runtime; in distribute_cfs_runtime()
3754 if (!remaining) in distribute_cfs_runtime()
3759 return starting_runtime - remaining; in distribute_cfs_runtime()
3859 u64 remaining; in runtime_refresh_within() local
3866 remaining = ktime_to_ns(hrtimer_expires_remaining(refresh_timer)); in runtime_refresh_within()
3867 if (remaining < min_expire) in runtime_refresh_within()
/linux-4.1.27/Documentation/power/
Dstates.txt12 the meaning of the remaining ones depends on the relative_sleep_states command
Dpower_supply_class.txt210 approximating remaining battery capacity based on its charge, current,
Dsuspend-and-cpuhotplug.txt270 * Now the freezer continues and tries to freeze the remaining tasks. But
/linux-4.1.27/Documentation/arm/
Dtcm.txt70 - Have the remaining TCM RAM added to a special
DBooting129 overwrite it, whilst remaining within the region which will be covered
/linux-4.1.27/Documentation/input/
Dyealink.txt139 - If less characters are written than allowed, the remaining digits are
/linux-4.1.27/arch/unicore32/kernel/
Dentry.S175 @ We are now ready to fill in the remaining blanks on the stack:
204 @ We are now ready to fill in the remaining blanks on the stack:
/linux-4.1.27/drivers/usb/gadget/udc/
Datmel_usba_udc.c89 size_t len, remaining, actual = 0; in queue_dbg_read() local
114 remaining = __copy_to_user(buf, tmpbuf, len); in queue_dbg_read()
115 actual += len - remaining; in queue_dbg_read()
116 if (remaining) in queue_dbg_read()
Damd5536udc.c622 unsigned remaining = 0; in udc_txfifo_write() local
629 remaining = req->length - req->actual; in udc_txfifo_write()
634 if (bytes > remaining) in udc_txfifo_write()
635 bytes = remaining; in udc_txfifo_write()
/linux-4.1.27/arch/arc/mm/
Dtlbex.S56 ; Since the Fast Path TLB Miss handler is coded with 4 regs, the remaining 3
/linux-4.1.27/Documentation/frv/
Dbooting.txt128 The remaining components are all optional:
/linux-4.1.27/drivers/atm/
Dnicstar.c2214 int remaining, tocopy; in dequeue_rx() local
2283 remaining = len - iov->iov_len; in dequeue_rx()
2292 min_t(int, remaining, iov->iov_len); in dequeue_rx()
2298 remaining -= tocopy; in dequeue_rx()
2302 if (remaining != 0 || hb->len != len) in dequeue_rx()
/linux-4.1.27/tools/perf/ui/browsers/
Dhists.c1020 u16 remaining = h->nr_rows - h->row_offset; in ui_browser__hists_seek() local
1021 if (offset > remaining) { in ui_browser__hists_seek()
1022 offset -= remaining; in ui_browser__hists_seek()
/linux-4.1.27/arch/sparc/lib/
Dchecksum_32.S43 andcc %o1, 4, %g0 ! nope, check for word remaining
49 andcc %o1, 4, %g0 ! check again for word remaining
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
Dbe_main.c1793 u16 hdr_len, curr_frag_len, remaining; in skb_fill_rx_data() local
1831 remaining = rxcp->pkt_size - curr_frag_len; in skb_fill_rx_data()
1834 curr_frag_len = min(remaining, rx_frag_size); in skb_fill_rx_data()
1853 remaining -= curr_frag_len; in skb_fill_rx_data()
1903 u16 remaining, curr_frag_len; in be_rx_compl_process_gro() local
1912 remaining = rxcp->pkt_size; in be_rx_compl_process_gro()
1916 curr_frag_len = min(remaining, rx_frag_size); in be_rx_compl_process_gro()
1931 remaining -= curr_frag_len; in be_rx_compl_process_gro()
/linux-4.1.27/fs/cramfs/
DREADME111 The remaining options try to make cramfs more sharable.
/linux-4.1.27/Documentation/devicetree/bindings/pci/
Dnvidia,tegra20-pcie.txt37 - The remaining entries setup the mapping for the standard I/O, memory and
/linux-4.1.27/Documentation/laptops/
Ddisk-shock-protection.txt58 of milliseconds remaining until normal operation will be resumed;
/linux-4.1.27/Documentation/vm/
Dpage_migration130 13. The remaining page flags are copied to the new page.
/linux-4.1.27/Documentation/powerpc/
Dpci_iov_resource_on_powernv.txt133 spaces or assign the remaining PE# to 32-bit only devices.
144 PEs" that are used for the remaining M64 segments.
/linux-4.1.27/Documentation/rapidio/
Drapidio.txt142 completed a discovery process can be started on all remaining endpoints.
296 an agent skips RapidIO discovery and continues with remaining kernel
/linux-4.1.27/Documentation/PCI/
Dpci.txt436 When the shared IRQ handler is "unhooked", the remaining devices
439 it was one of the remaining devices asserted the IRQ line. Since none
442 iterations later). Once the shared IRQ is masked, the remaining devices
/linux-4.1.27/drivers/regulator/
Dcore.c1889 unsigned long intended, max_delay, remaining; in _regulator_do_enable() local
1902 remaining = intended - start_jiffy; in _regulator_do_enable()
1903 if (remaining <= max_delay) in _regulator_do_enable()
1905 jiffies_to_usecs(remaining)); in _regulator_do_enable()
/linux-4.1.27/Documentation/fmc/
Didentifiers.txt12 bytes. The standard allows the application to use all the remaining
/linux-4.1.27/Documentation/watchdog/
Dwatchdog-api.txt133 Some watchdog drivers have the ability to report the remaining time
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dclient.c1481 int remaining, rc; in ptlrpc_set_producer() local
1485 remaining = atomic_read(&set->set_remaining); in ptlrpc_set_producer()
1499 return (atomic_read(&set->set_remaining) - remaining); in ptlrpc_set_producer()
/linux-4.1.27/net/tipc/
Dsocket.c2272 u32 remaining = (TIPC_MAX_PORT - TIPC_MIN_PORT) + 1; in tipc_sk_insert() local
2273 u32 portid = prandom_u32() % remaining + TIPC_MIN_PORT; in tipc_sk_insert()
2275 while (remaining--) { in tipc_sk_insert()
/linux-4.1.27/net/core/
Dpktgen.c2191 s64 remaining; in spin() local
2197 remaining = ktime_to_ns(hrtimer_expires_remaining(&t.timer)); in spin()
2198 if (remaining <= 0) { in spin()
2204 if (remaining < 100000) { in spin()
/linux-4.1.27/Documentation/arm/SA1100/
DAssabet165 the remaining flash space as well. To write it:
/linux-4.1.27/Documentation/trace/
Dtracepoint-analysis.txt49 [ .... remaining output snipped .... ]

12