| /linux-4.4.14/arch/alpha/lib/ |
| D | srm_puts.c | 11 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()
|
| D | ev6-memset.S | 102 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.4.14/drivers/md/bcache/ |
| D | closure.h | 161 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()
|
| D | closure.c | 27 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() 176 int r = atomic_read(&cl->remaining); in debug_seq_show()
|
| /linux-4.4.14/include/net/ |
| D | nexthop.h | 7 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()
|
| D | netlink.h | 333 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.4.14/drivers/target/tcm_fc/ |
| D | tfc_io.c | 61 size_t remaining; in ft_queue_data_in() local 87 remaining = se_cmd->data_length; in ft_queue_data_in() 92 BUG_ON(remaining && !se_cmd->t_data_sg); in ft_queue_data_in() 93 if (remaining) { in ft_queue_data_in() 101 use_sg = !(remaining % 4); in ft_queue_data_in() 103 while (remaining) { in ft_queue_data_in() 113 mem_len = min((size_t)sg->length, remaining); in ft_queue_data_in() 125 frame_len = min(frame_len, remaining); in ft_queue_data_in() 168 remaining -= tlen; in ft_queue_data_in() 173 if (!remaining) in ft_queue_data_in() [all …]
|
| /linux-4.4.14/drivers/gpu/drm/amd/amdgpu/ |
| D | atombios_i2c.c | 109 int i, remaining, current_count, buffer_offset, max_bytes, ret; in amdgpu_atombios_i2c_xfer() local 126 remaining = p->len; in amdgpu_atombios_i2c_xfer() 136 while (remaining) { in amdgpu_atombios_i2c_xfer() 137 if (remaining > max_bytes) in amdgpu_atombios_i2c_xfer() 140 current_count = remaining; in amdgpu_atombios_i2c_xfer() 146 remaining -= current_count; in amdgpu_atombios_i2c_xfer()
|
| /linux-4.4.14/lib/xz/ |
| D | xz_dec_test.c | 105 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.4.14/drivers/gpu/drm/radeon/ |
| D | atombios_i2c.c | 110 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()
|
| D | radeon_i2c.c | 586 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.4.14/drivers/usb/class/ |
| D | usbtmc.c | 442 size_t remaining; in usbtmc_read() local 473 remaining = count; in usbtmc_read() 474 this_part = remaining; in usbtmc_read() 477 while (remaining > 0) { in usbtmc_read() 479 dev_dbg(dev, "usb_bulk_msg_in: remaining(%zu), count(%zu)\n", remaining, count); in usbtmc_read() 481 if (remaining > USBTMC_SIZE_IOBUFFER - USBTMC_HEADER_SIZE - 3) in usbtmc_read() 484 this_part = remaining; in usbtmc_read() 502 …b_bulk_msg: retval(%u), done(%zu), remaining(%zu), actual(%d)\n", retval, done, remaining, actual); in usbtmc_read() 556 if (remaining > n_characters) in usbtmc_read() 557 remaining = n_characters; in usbtmc_read() [all …]
|
| /linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
| D | aux.c | 39 u8 remaining = msg->len; in nvkm_i2c_aux_i2c_xfer() local 42 while (remaining) { in nvkm_i2c_aux_i2c_xfer() 43 u8 cnt = (remaining > 16) ? 16 : remaining; in nvkm_i2c_aux_i2c_xfer() 51 if (mcnt || remaining > 16) in nvkm_i2c_aux_i2c_xfer() 61 remaining -= cnt; in nvkm_i2c_aux_i2c_xfer()
|
| D | bit.c | 189 u8 remaining = msg->len; in nvkm_i2c_bit_xfer() local 197 while (!ret && remaining--) in nvkm_i2c_bit_xfer() 198 ret = nvkm_i2c_get_byte(bus, ptr++, !remaining); in nvkm_i2c_bit_xfer() 200 while (!ret && remaining--) in nvkm_i2c_bit_xfer()
|
| /linux-4.4.14/drivers/usb/host/whci/ |
| D | qset.c | 268 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.4.14/drivers/char/ |
| D | ps3flash.c | 112 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()
|
| D | mem.c | 127 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.4.14/drivers/md/ |
| D | dm-io.c | 289 sector_t remaining = where->count; in do_region() local 319 dm_sector_div_up(remaining, (PAGE_SIZE >> SECTOR_SHIFT))); in do_region() 322 bio->bi_iter.bi_sector = where->sector + (where->count - remaining); in do_region() 328 num_sectors = min_t(sector_t, special_cmd_max_sectors, remaining); in do_region() 330 remaining -= num_sectors; in do_region() 337 num_sectors = min_t(sector_t, special_cmd_max_sectors, remaining); in do_region() 341 remaining -= num_sectors; in do_region() 343 } else while (remaining) { in do_region() 348 len = min(len, to_bytes(remaining)); in do_region() 353 remaining -= to_sector(len); in do_region() [all …]
|
| D | raid1.h | 131 atomic_t remaining; /* 'have we finished' count, member
|
| D | raid10.h | 99 atomic_t remaining; /* 'have we finished' count, member
|
| D | raid10.c | 429 if (atomic_dec_and_test(&r10_bio->remaining)) { in one_write_done() 1348 atomic_set(&r10_bio->remaining, 1); in __make_request() 1370 atomic_inc(&r10_bio->remaining); in __make_request() 1413 atomic_inc(&r10_bio->remaining); in __make_request() 1840 atomic_dec_and_test(&r10_bio->remaining)) { in end_sync_read() 1852 while (atomic_dec_and_test(&r10_bio->remaining)) { in end_sync_request() 1937 atomic_set(&r10_bio->remaining, 1); in sync_request_write() 2004 atomic_inc(&r10_bio->remaining); in sync_request_write() 2025 atomic_inc(&r10_bio->remaining); in sync_request_write() 2032 if (atomic_dec_and_test(&r10_bio->remaining)) { in sync_request_write() [all …]
|
| D | dm-ioctl.c | 1106 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()
|
| D | dm-table.c | 622 unsigned short remaining = 0; in validate_hardware_logical_block_alignment() local 645 if (remaining < ti->len && in validate_hardware_logical_block_alignment() 646 remaining & ((ti_limits.logical_block_size >> in validate_hardware_logical_block_alignment() 653 remaining = next_target_start ? in validate_hardware_logical_block_alignment() 657 if (remaining) { in validate_hardware_logical_block_alignment()
|
| D | raid1.c | 389 if (!atomic_dec_and_test(&r1_bio->remaining)) in r1_bio_write_done() 472 if (atomic_read(&r1_bio->behind_remaining) >= (atomic_read(&r1_bio->remaining)-1) && in raid1_end_write_request() 1331 atomic_set(&r1_bio->remaining, 1); in make_request() 1383 atomic_inc(&r1_bio->remaining); in make_request() 1714 if (atomic_dec_and_test(&r1_bio->remaining)) in end_sync_read() 1759 if (atomic_dec_and_test(&r1_bio->remaining)) { in end_sync_write() 2024 atomic_set(&r1_bio->remaining, 1); in sync_request_write() 2035 atomic_inc(&r1_bio->remaining); in sync_request_write() 2041 if (atomic_dec_and_test(&r1_bio->remaining)) { in sync_request_write() 2747 atomic_set(&r1_bio->remaining, read_targets); in sync_request() [all …]
|
| /linux-4.4.14/drivers/net/usb/ |
| D | asix_common.c | 68 if (rx->remaining && (rx->remaining + sizeof(u32) <= skb->len)) { in asix_rx_fixup_internal() 69 offset = ((rx->remaining + 1) & 0xfffe); in asix_rx_fixup_internal() 76 rx->remaining); in asix_rx_fixup_internal() 85 rx->remaining = 0; in asix_rx_fixup_internal() 93 if (!rx->remaining) { in asix_rx_fixup_internal() 133 rx->remaining = size; in asix_rx_fixup_internal() 136 if (rx->remaining > skb->len - offset) { in asix_rx_fixup_internal() 138 rx->remaining -= copy_length; in asix_rx_fixup_internal() 140 copy_length = rx->remaining; in asix_rx_fixup_internal() 141 rx->remaining = 0; in asix_rx_fixup_internal() [all …]
|
| D | asix.h | 171 u16 remaining; member
|
| /linux-4.4.14/drivers/media/tuners/ |
| D | tda18218.c | 29 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()
|
| D | si2157.c | 83 int ret, len, remaining; in si2157_init() local 167 for (remaining = fw->size; remaining > 0; remaining -= 17) { in si2157_init() 168 len = fw->data[fw->size - remaining]; in si2157_init() 174 memcpy(cmd.args, &fw->data[(fw->size - remaining) + 1], len); in si2157_init()
|
| /linux-4.4.14/drivers/staging/rtl8188eu/ |
| D | TODO | 2 - 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.4.14/drivers/media/usb/dvb-usb-v2/ |
| D | ec168.c | 214 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()
|
| D | af9015.c | 354 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.4.14/drivers/net/ethernet/intel/e1000e/ |
| D | manage.c | 205 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.4.14/fs/squashfs/ |
| D | cache.c | 309 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.4.14/arch/alpha/kernel/ |
| D | srmcons.c | 94 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.4.14/drivers/usb/musb/ |
| D | tusb6010_omap.c | 117 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.4.14/drivers/media/dvb-frontends/ |
| D | si2168.c | 398 int ret, len, remaining; in si2168_init() local 503 for (remaining = fw->size; remaining > 0; remaining -= 17) { in si2168_init() 504 len = fw->data[fw->size - remaining]; in si2168_init() 509 memcpy(cmd.args, &fw->data[(fw->size - remaining) + 1], len); in si2168_init() 518 for (remaining = fw->size; remaining > 0; remaining -= 8) { in si2168_init() 520 memcpy(cmd.args, &fw->data[fw->size - remaining], len); in si2168_init()
|
| D | af9013.c | 1354 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()
|
| D | cx24116.c | 571 int i, ret, len, max, remaining; in cx24116_load_firmware() local 615 for (remaining = fw->size; remaining > 0; remaining -= max - 1) { in cx24116_load_firmware() 616 len = remaining; in cx24116_load_firmware() 620 cx24116_writeregN(state, 0xF7, &fw->data[fw->size - remaining], in cx24116_load_firmware()
|
| D | tda10071.c | 768 int ret, i, len, remaining, fw_size; in tda10071_init() local 894 for (remaining = fw_size; remaining > 0; in tda10071_init() 895 remaining -= (dev->i2c_wr_max - 1)) { in tda10071_init() 896 len = remaining; in tda10071_init() 901 (u8 *) &fw->data[fw_size - remaining], len); in tda10071_init()
|
| D | m88ds3103.c | 638 int ret, len, remaining; in m88ds3103_init() local 699 for (remaining = fw->size; remaining > 0; in m88ds3103_init() 700 remaining -= (dev->cfg->i2c_wr_max - 1)) { in m88ds3103_init() 701 len = remaining; in m88ds3103_init() 706 &fw->data[fw->size - remaining], len); in m88ds3103_init()
|
| /linux-4.4.14/arch/tile/kernel/ |
| D | stack.c | 287 size_t namelen, remaining; in describe_addr() local 312 remaining = (bufsize - 1) - namelen; in describe_addr() 314 rc = snprintf(p, remaining, "+%#lx/%#lx ", in describe_addr() 316 if (modname && rc < remaining) in describe_addr() 317 snprintf(p + rc, remaining - rc, "[%s] ", modname); in describe_addr() 345 remaining = (bufsize - 1) - namelen; in describe_addr() 347 snprintf(buf + namelen, remaining, "[%lx+%lx] ", in describe_addr()
|
| /linux-4.4.14/tools/perf/ui/stdio/ |
| D | hist.c | 88 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.4.14/drivers/staging/rtl8723au/ |
| D | TODO | 5 - convert any remaining unusual variable types 7 - checkpatch.pl fixes - most of the remaining ones are lines too long. Many
|
| /linux-4.4.14/drivers/scsi/libfc/ |
| D | fc_libfc.c | 116 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()
|
| D | fc_fcp.c | 568 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.4.14/drivers/usb/c67x00/ |
| D | c67x00-sched.c | 661 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.4.14/drivers/gpu/vga/ |
| D | vgaarb.c | 920 size_t remaining = count; in vga_arb_write() local 939 remaining -= 5; in vga_arb_write() 943 if (!vga_str_to_iostate(curr_pos, remaining, &io_state)) { in vga_arb_write() 975 remaining -= 7; in vga_arb_write() 983 (curr_pos, remaining, &io_state)) { in vga_arb_write() 1031 remaining -= 8; in vga_arb_write() 1035 if (!vga_str_to_iostate(curr_pos, remaining, &io_state)) { in vga_arb_write() 1075 remaining -= 7; in vga_arb_write() 1081 if (!vga_pci_str_to_vars(curr_pos, remaining, in vga_arb_write() 1138 remaining -= 8; in vga_arb_write() [all …]
|
| /linux-4.4.14/drivers/staging/rdma/hfi1/ |
| D | pio_copy.c | 262 unsigned int remaining; in zero_extra_bytes() local 267 remaining = pbuf->carry_bytes - zbytes; /* remaining bytes */ in zero_extra_bytes() 270 if (remaining) in zero_extra_bytes() 271 pbuf->carry.val64 = (pbuf->carry.val64 << zshift(remaining)) in zero_extra_bytes() 272 >> zshift(remaining); in zero_extra_bytes() 275 pbuf->carry_bytes = remaining; in zero_extra_bytes()
|
| /linux-4.4.14/drivers/staging/android/ |
| D | timed_output.c | 35 int remaining = tdev->get_time(tdev); in enable_show() local 37 return sprintf(buf, "%d\n", remaining); in enable_show()
|
| /linux-4.4.14/lib/ |
| D | hexdump.c | 247 int i, linelen, remaining = len; in print_hex_dump() local 254 linelen = min(remaining, rowsize); in print_hex_dump() 255 remaining -= rowsize; in print_hex_dump()
|
| D | digsig.c | 110 unsigned int remaining = endp - datap; in digsig_verify_rsa() local 111 pkey[i] = mpi_read_from_buffer(datap, &remaining); in digsig_verify_rsa() 114 datap += remaining; in digsig_verify_rsa()
|
| D | dynamic_debug.c | 501 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()
|
| D | bch.c | 1117 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.4.14/arch/metag/lib/ |
| D | memcpy.S | 37 ! 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.
|
| D | memset.S | 62 ! D1Ar3 should be the remaining total byte count
|
| /linux-4.4.14/drivers/staging/media/mn88472/ |
| D | mn88472.c | 282 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.4.14/drivers/staging/media/mn88473/ |
| D | mn88473.c | 242 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.4.14/fs/nfsd/ |
| D | nfsctl.c | 546 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.4.14/fs/cifs/ |
| D | transport.c | 141 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()
|
| D | smb1ops.c | 247 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()
|
| D | smb2pdu.c | 1113 unsigned int remaining; in parse_lease_state() local 1117 remaining = le32_to_cpu(rsp->CreateContextsLength); in parse_lease_state() 1119 while (remaining >= sizeof(struct create_context)) { in parse_lease_state() 1128 remaining -= next; in parse_lease_state()
|
| /linux-4.4.14/drivers/mtd/devices/ |
| D | mtd_dataflash.c | 308 size_t remaining = len; in dataflash_write() local 330 while (remaining > 0) { in dataflash_write() 415 remaining = 0; in dataflash_write() 423 remaining = remaining - writelen; in dataflash_write() 429 if (remaining > priv->page_size) in dataflash_write() 432 writelen = remaining; in dataflash_write()
|
| D | st_spi_fsm.c | 755 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.4.14/net/ipv4/ |
| D | fib_semantics.c | 457 static int fib_count_nexthops(struct rtnexthop *rtnh, int remaining) in fib_count_nexthops() argument 461 while (rtnh_ok(rtnh, remaining)) { in fib_count_nexthops() 463 rtnh = rtnh_next(rtnh, &remaining); in fib_count_nexthops() 467 return remaining > 0 ? 0 : nhs; in fib_count_nexthops() 471 int remaining, struct fib_config *cfg) in fib_get_nhs() argument 479 if (!rtnh_ok(rtnh, remaining)) in fib_get_nhs() 522 rtnh = rtnh_next(rtnh, &remaining); in fib_get_nhs() 625 int remaining; in fib_nh_match() local 649 remaining = cfg->fc_mp_len; in fib_nh_match() 654 if (!rtnh_ok(rtnh, remaining)) in fib_nh_match() [all …]
|
| D | tcp_output.c | 550 unsigned int remaining = MAX_TCP_OPTION_SPACE; in tcp_syn_options() local 557 remaining -= TCPOLEN_MD5SIG_ALIGNED; in tcp_syn_options() 573 remaining -= TCPOLEN_MSS_ALIGNED; in tcp_syn_options() 579 remaining -= TCPOLEN_TSTAMP_ALIGNED; in tcp_syn_options() 584 remaining -= TCPOLEN_WSCALE_ALIGNED; in tcp_syn_options() 589 remaining -= TCPOLEN_SACKPERM_ALIGNED; in tcp_syn_options() 598 if (remaining >= need) { in tcp_syn_options() 601 remaining -= need; in tcp_syn_options() 607 return MAX_TCP_OPTION_SPACE - remaining; in tcp_syn_options() 618 unsigned int remaining = MAX_TCP_OPTION_SPACE; in tcp_synack_options() local [all …]
|
| D | inet_hashtables.c | 516 int i, remaining, low, high, port; in __inet_hash_connect() local 522 remaining = (high - low) + 1; in __inet_hash_connect() 531 for (i = 0; i < remaining; i++) { in __inet_hash_connect() 532 port = low + (i + offset) % remaining; in __inet_hash_connect()
|
| D | inet_connection_sock.c | 106 int remaining, rover, low, high; in inet_csk_get_port() local 118 remaining = (high - low) + 1; in inet_csk_get_port() 119 smallest_rover = rover = prandom_u32() % remaining + low; in inet_csk_get_port() 152 } while (--remaining > 0); in inet_csk_get_port() 161 if (remaining <= 0) { in inet_csk_get_port()
|
| D | tcp_ipv4.c | 368 __u32 remaining; in tcp_v4_err() local 473 remaining = icsk->icsk_rto - in tcp_v4_err() 477 if (remaining) { in tcp_v4_err() 479 remaining, TCP_RTO_MAX); in tcp_v4_err()
|
| D | fib_frontend.c | 636 int err, remaining; in rtm_to_fib_config() local 664 nlmsg_for_each_attr(attr, nlh, sizeof(struct rtmsg), remaining) { in rtm_to_fib_config()
|
| D | udp.c | 219 int low, high, remaining; in udp_lib_get_port() local 225 remaining = (high - low) + 1; in udp_lib_get_port() 228 first = reciprocal_scale(rand, remaining) + low; in udp_lib_get_port()
|
| /linux-4.4.14/drivers/s390/char/ |
| D | vmlogrdr.c | 73 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()
|
| D | sclp.c | 751 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.4.14/crypto/ |
| D | vmac.c | 414 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.4.14/arch/x86/crypto/ |
| D | crc32c-pcl-intel-asm_64.S | 282 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.4.14/fs/ |
| D | timerfd.c | 151 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_adjusted(&ctx->t.tmr); in timerfd_get_remaining() 158 return remaining.tv64 < 0 ? ktime_set(0, 0): remaining; in timerfd_get_remaining()
|
| D | direct-io.c | 294 unsigned long remaining; in dio_bio_end_aio() local 301 remaining = --dio->refcount; in dio_bio_end_aio() 302 if (remaining == 1 && dio->waiter) in dio_bio_end_aio() 306 if (remaining == 0) { in dio_bio_end_aio()
|
| D | seq_file.c | 767 int i, linelen, remaining = len; in seq_hex_dump() local 776 linelen = min(remaining, rowsize); in seq_hex_dump() 777 remaining -= rowsize; in seq_hex_dump()
|
| D | binfmt_elf.c | 1514 unsigned count, size, names_ofs, remaining, n; in fill_files_note() local 1534 remaining = size - names_ofs; in fill_files_note() 1543 filename = file_path(file, name_curpos, remaining); in fill_files_note() 1555 n = (name_curpos + remaining) - filename; in fill_files_note() 1556 remaining = filename - name_curpos; in fill_files_note()
|
| /linux-4.4.14/drivers/dma/ |
| D | TODO | 3 1. Move remaining drivers to use new slave interface
|
| /linux-4.4.14/drivers/spi/ |
| D | spi-dln2.c | 553 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.4.14/arch/um/drivers/ |
| D | cow_user.c | 148 int remaining; in absolutize() local 170 remaining = size - strlen(to); in absolutize() 171 if (strlen(slash) + 1 > remaining) { in absolutize()
|
| /linux-4.4.14/drivers/gpu/drm/omapdrm/ |
| D | Kconfig | 25 The remaining overlays are reserved for video.
|
| /linux-4.4.14/arch/mips/boot/ |
| D | elf2ecoff.c | 69 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.4.14/drivers/staging/lustre/ |
| D | TODO | 1 * Possible remaining coding style fix.
|
| /linux-4.4.14/drivers/nvdimm/ |
| D | btt.c | 620 size_t remaining = btt->rawsize; in discover_arenas() local 629 while (remaining) { in discover_arenas() 643 if (remaining == btt->rawsize) { in discover_arenas() 672 remaining -= arena->size; in discover_arenas() 697 size_t remaining = btt->rawsize; in create_arenas() local 700 while (remaining) { in create_arenas() 702 size_t arena_size = min_t(u64, ARENA_MAX_SIZE, remaining); in create_arenas() 704 remaining -= arena_size; in create_arenas() 714 if (remaining >= ARENA_MIN_SIZE) in create_arenas()
|
| /linux-4.4.14/arch/arc/lib/ |
| D | memcpy-archs.S | 86 and.f lp_count, r2, ZOLAND ;Last remaining 31 bytes 136 ;; Write back the remaining 16bits 139 ;; Write back the remaining 8bits
|
| /linux-4.4.14/drivers/misc/ |
| D | lkdtm.c | 306 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.4.14/drivers/media/pci/cx18/ |
| D | cx18-ioctl.c | 678 int consumed, remaining; in _cx18_process_idx_data() local 693 remaining = buf->bytesused - buf->readpos; in _cx18_process_idx_data() 698 while (remaining >= sizeof(struct cx18_enc_idx_entry) && in _cx18_process_idx_data() 718 remaining -= sizeof(struct cx18_enc_idx_entry); in _cx18_process_idx_data() 723 if (remaining > 0 && remaining < sizeof(struct cx18_enc_idx_entry)) in _cx18_process_idx_data() 724 consumed += remaining; in _cx18_process_idx_data()
|
| /linux-4.4.14/Documentation/scheduler/ |
| D | sched-deadline.txt | 74 a "remaining runtime". These two parameters are initially set to 0; 79 remaining runtime runtime 85 remaining runtime are re-initialized as 88 remaining runtime = runtime 90 otherwise, the scheduling deadline and the remaining runtime are 94 remaining runtime is decreased as 96 remaining runtime = remaining runtime - t 101 - When the remaining runtime becomes less or equal than 0, the task is 108 throttled task, the scheduling deadline and the remaining runtime are 112 remaining runtime = remaining runtime + runtime [all …]
|
| D | completion.txt | 168 (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
|
| D | sched-bwc.txt | 90 In case b) above, even though the child may have runtime remaining it will not
|
| D | sched-rt-group.txt | 72 The remaining CPU time will be used for user input and other tasks. Because
|
| /linux-4.4.14/arch/openrisc/ |
| D | TODO.openrisc | 2 since 2.6.35. There are, however, remaining items to be completed within
|
| /linux-4.4.14/Documentation/devicetree/bindings/timer/ |
| D | nvidia,tegra30-timer.txt | 14 through 5, and one for the shared interrupt for the remaining channels.
|
| /linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/ |
| D | lbc.txt | 6 chipselect number, and the remaining cells are the
|
| /linux-4.4.14/drivers/net/ethernet/cadence/ |
| D | Kconfig | 16 the remaining Atmel network card questions. If you say Y, you will be
|
| /linux-4.4.14/drivers/crypto/marvell/ |
| D | cipher.c | 232 int remaining; in mv_cesa_aes_setkey() local 243 remaining = (ctx->aes.key_length - 16) / 4; in mv_cesa_aes_setkey() 244 offset = ctx->aes.key_length + 24 - remaining; in mv_cesa_aes_setkey() 245 for (i = 0; i < remaining; i++) in mv_cesa_aes_setkey()
|
| /linux-4.4.14/drivers/staging/slicoss/ |
| D | TODO | 4 - any remaining sparse and checkpatch.pl warnings
|
| /linux-4.4.14/net/dccp/ |
| D | output.c | 223 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.4.14/net/mpls/ |
| D | af_mpls.c | 633 int remaining = len; in mpls_count_nexthops() local 642 while (rtnh_ok(rtnh, remaining)) { in mpls_count_nexthops() 659 rtnh = rtnh_next(rtnh, &remaining); in mpls_count_nexthops() 663 return remaining > 0 ? 0 : nhs; in mpls_count_nexthops() 671 int remaining = cfg->rc_mp_len; in mpls_nh_build_multi() local 682 if (!rtnh_ok(rtnh, remaining)) in mpls_nh_build_multi() 705 rtnh = rtnh_next(rtnh, &remaining); in mpls_nh_build_multi()
|
| /linux-4.4.14/Documentation/devicetree/bindings/net/ |
| D | hisilicon-hns-nic.txt | 13 The remaining 6 PHYs are taken according to the mode of DSAF.
|
| /linux-4.4.14/Documentation/devicetree/bindings/clock/ |
| D | ste-u300-syscon-clock.txt | 11 2 = rest/remaining clock
|
| /linux-4.4.14/kernel/time/ |
| D | posix-timers.c | 738 ktime_t now, remaining, iv; in common_timer_get() local 763 remaining = __hrtimer_expires_remaining_adjusted(timer, now); in common_timer_get() 765 if (remaining.tv64 <= 0) { in common_timer_get() 773 cur_setting->it_value = ktime_to_timespec(remaining); in common_timer_get()
|
| /linux-4.4.14/Documentation/devicetree/bindings/clock/st/ |
| D | st,quadfs.txt | 34 for the remaining outputs.
|
| D | st,clkgen-vcc.txt | 31 for the remaining outputs.
|
| /linux-4.4.14/drivers/message/fusion/ |
| D | mptlan.c | 976 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.4.14/arch/powerpc/lib/ |
| D | div64.S | 52 divwu r0,r6,r4 # perform the remaining 32-bit division
|
| /linux-4.4.14/drivers/mmc/host/ |
| D | atmel-mci.c | 1882 unsigned int remaining = sg->length - offset; in atmci_read_data_pio() local 1883 memcpy(buf + offset, &value, remaining); in atmci_read_data_pio() 1884 nbytes += remaining; in atmci_read_data_pio() 1892 offset = 4 - remaining; in atmci_read_data_pio() 1894 memcpy(buf, (u8 *)&value + remaining, offset); in atmci_read_data_pio() 1948 unsigned int remaining = sg->length - offset; in atmci_write_data_pio() local 1951 memcpy(&value, buf + offset, remaining); in atmci_write_data_pio() 1952 nbytes += remaining; in atmci_write_data_pio() 1961 offset = 4 - remaining; in atmci_write_data_pio() 1963 memcpy((u8 *)&value + remaining, buf, offset); in atmci_write_data_pio()
|
| /linux-4.4.14/Documentation/usb/ |
| D | dwc3.txt | 39 handles the remaining EP work which might sleep such as waiting
|
| D | error-codes.txt | 132 endpoint or the remaining buffer size. "Babble".
|
| /linux-4.4.14/arch/mn10300/lib/ |
| D | memset.S | 79 # copy the remaining 1, 2 or 3 words
|
| D | memcpy.S | 89 # copy the remaining 1, 2 or 3 words
|
| D | do_csum.S | 106 # copy the remaining whole words
|
| D | memmove.S | 109 # copy the remaining 1, 2 or 3 words
|
| /linux-4.4.14/drivers/net/wireless/prism54/ |
| D | islpci_dev.c | 490 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.4.14/drivers/net/ethernet/adi/ |
| D | Kconfig | 15 the remaining Blackfin card questions. If you say Y, you will be
|
| /linux-4.4.14/drivers/staging/lustre/lustre/include/ |
| D | lustre_lib.h | 561 long remaining = schedule_timeout(interval);\ 563 cfs_time_sub(interval, remaining));\
|
| /linux-4.4.14/drivers/tty/hvc/ |
| D | hvsi.c | 183 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.4.14/Documentation/devicetree/bindings/memory-controllers/fsl/ |
| D | ifc.txt | 10 chipselect number, and the remaining cells are the
|
| /linux-4.4.14/arch/x86/kvm/ |
| D | i8254.c | 110 ktime_t remaining; in __kpit_elapsed() local 125 remaining = hrtimer_get_remaining(&ps->timer); in __kpit_elapsed() 126 elapsed = ps->period - ktime_to_ns(remaining); in __kpit_elapsed()
|
| D | lapic.c | 1030 ktime_t remaining; in apic_get_tmcct() local 1041 remaining = hrtimer_get_remaining(&apic->lapic_timer.timer); in apic_get_tmcct() 1042 if (ktime_to_ns(remaining) < 0) in apic_get_tmcct() 1043 remaining = ktime_set(0, 0); in apic_get_tmcct() 1045 ns = mod_64(ktime_to_ns(remaining), apic->lapic_timer.period); in apic_get_tmcct()
|
| /linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
| D | sta.c | 1667 int remaining = cnt; in iwl_mvm_sta_modify_sleep_tx_count() local 1685 if (n_queued > remaining) { in iwl_mvm_sta_modify_sleep_tx_count() 1687 remaining = 0; in iwl_mvm_sta_modify_sleep_tx_count() 1690 remaining -= n_queued; in iwl_mvm_sta_modify_sleep_tx_count() 1694 cmd.sleep_tx_count = cpu_to_le16(cnt - remaining); in iwl_mvm_sta_modify_sleep_tx_count() 1695 if (WARN_ON(cnt - remaining == 0)) { in iwl_mvm_sta_modify_sleep_tx_count()
|
| /linux-4.4.14/drivers/nvme/host/ |
| D | scsi.c | 238 size_t remaining = n; in nvme_trans_copy_to_user() local 249 xfer_len = min(remaining, sgl.iov_len); in nvme_trans_copy_to_user() 254 remaining -= xfer_len; in nvme_trans_copy_to_user() 255 if (remaining == 0) in nvme_trans_copy_to_user() 273 size_t remaining = n; in nvme_trans_copy_from_user() local 284 xfer_len = min(remaining, sgl.iov_len); in nvme_trans_copy_from_user() 288 remaining -= xfer_len; in nvme_trans_copy_from_user() 289 if (remaining == 0) in nvme_trans_copy_from_user()
|
| /linux-4.4.14/drivers/block/ |
| D | floppy.c | 2405 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 …]
|
| /linux-4.4.14/drivers/hwtracing/intel_th/ |
| D | msu.c | 395 size_t remaining = 0; in msc_buffer_iterate() local 427 remaining = fn(data, src, tocopy); in msc_buffer_iterate() 429 if (remaining) in msc_buffer_iterate() 432 copied = tocopy - remaining; in msc_buffer_iterate()
|
| /linux-4.4.14/Documentation/ABI/stable/ |
| D | sysfs-firmware-opal-elog | 20 the only remaining copy of a log message may be in
|
| D | sysfs-driver-ib_srp | 45 in an SRP_CMD the remaining memory descriptors are
|
| /linux-4.4.14/net/sunrpc/ |
| D | svcsock.c | 280 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()
|
| D | svc_xprt.c | 1239 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.4.14/drivers/usb/host/ |
| D | max3421-hcd.c | 852 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.4.14/Documentation/locking/ |
| D | lglock.txt | 77 being initializeable in kernel modules (the remaining problem is that 146 currently prevent using RCU in place of view remaining lglocks.
|
| /linux-4.4.14/Documentation/w1/slaves/ |
| D | w1_ds2423 | 33 - 31 remaining bytes from the ram page
|
| /linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/ |
| D | img,pdc-intc.txt | 27 shared SysWake interrupt, and remaining specifies shall be PDC peripheral
|
| /linux-4.4.14/mm/ |
| D | vmscan.c | 3038 static bool prepare_kswapd_sleep(pg_data_t *pgdat, int order, long remaining, in prepare_kswapd_sleep() argument 3042 if (remaining) in prepare_kswapd_sleep() 3346 long remaining = 0; in kswapd_try_to_sleep() local 3355 if (prepare_kswapd_sleep(pgdat, order, remaining, classzone_idx)) { in kswapd_try_to_sleep() 3356 remaining = schedule_timeout(HZ/10); in kswapd_try_to_sleep() 3365 if (prepare_kswapd_sleep(pgdat, order, remaining, classzone_idx)) { in kswapd_try_to_sleep() 3391 if (remaining) in kswapd_try_to_sleep()
|
| /linux-4.4.14/drivers/net/ethernet/3com/ |
| D | typhoon.c | 1275 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.4.14/Documentation/devicetree/bindings/crypto/ |
| D | fsl-sec2.txt | 31 remaining bits are reserved for future SEC EUs.
|
| /linux-4.4.14/arch/powerpc/boot/ |
| D | div64.S | 52 divwu r0,r6,r4 # perform the remaining 32-bit division
|
| /linux-4.4.14/drivers/media/platform/coda/ |
| D | coda.h | 166 int remaining; member
|
| D | coda-bit.c | 531 if (size > iram->remaining) in coda_iram_alloc() 533 iram->remaining -= size; in coda_iram_alloc() 553 iram_info->remaining = dev->iram.size; in coda_setup_iram()
|
| /linux-4.4.14/arch/frv/kernel/ |
| D | head-uc-fr451.S | 67 # need to tile the remaining IAMPR/DAMPR registers to cover as much of the RAM as possible
|
| D | head-uc-fr401.S | 252 # need to tile the remaining IAMPR/DAMPR registers to cover as much of the RAM as possible
|
| D | head-uc-fr555.S | 240 # need to tile the remaining IAMPR/DAMPR registers to cover as much of the RAM as possible
|
| /linux-4.4.14/tools/perf/Documentation/ |
| D | perf-script-perl.txt | 103 All of the remaining fields in the event's format file have 163 The remaining sections provide descriptions of each of the available
|
| /linux-4.4.14/Documentation/ |
| D | padata.txt | 153 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
|
| D | circular-buffers.txt | 68 Calculation of the occupancy or the remaining capacity of an arbitrarily sized 80 (*) Measure the remaining capacity of a buffer:
|
| D | kmemleak.txt | 87 1. mark all objects as white (remaining white objects will later be 96 4. the remaining white objects are considered orphan and reported via
|
| D | futex-requeue-pi.txt | 116 woken. futex_requeue() then proceeds to requeue the remaining
|
| D | pi-futex.txt | 91 remaining work: if there is no futex-queue attached to the futex address
|
| /linux-4.4.14/net/wireless/ |
| D | util.c | 657 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.4.14/drivers/usb/gadget/udc/bdc/ |
| D | bdc_ep.c | 202 int remaining; in bd_needed_req() local 209 remaining = req->usb_req.length % BD_MAX_BUFF_SIZE; in bd_needed_req() 210 if (remaining) in bd_needed_req() 214 remaining = req->usb_req.length / BD_MAX_BUFF_SIZE; in bd_needed_req() 215 bd_needed += remaining; in bd_needed_req()
|
| /linux-4.4.14/arch/xtensa/lib/ |
| D | strnlen_user.S | 91 EX(l32i, a9, a4, 4, lenfixup) # load 4 bytes for remaining checks
|
| /linux-4.4.14/Documentation/devicetree/bindings/input/touchscreen/ |
| D | ti-tsc-adc.txt | 17 remaining 4 can be used by the ADC.
|
| /linux-4.4.14/net/ipv6/ |
| D | route.c | 1701 int remaining; in ip6_convert_metrics() local 1711 nla_for_each_attr(nla, cfg->fc_mx, cfg->fc_mx_len, remaining) { in ip6_convert_metrics() 2866 int remaining; in ip6_route_multipath_add() local 2874 remaining = cfg->fc_mp_len; in ip6_route_multipath_add() 2880 while (rtnh_ok(rtnh, remaining)) { in ip6_route_multipath_add() 2913 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_add() 2966 int remaining; in ip6_route_multipath_del() local 2970 remaining = cfg->fc_mp_len; in ip6_route_multipath_del() 2974 while (rtnh_ok(rtnh, remaining)) { in ip6_route_multipath_del() 2993 rtnh = rtnh_next(rtnh, &remaining); in ip6_route_multipath_del()
|
| /linux-4.4.14/Documentation/filesystems/ |
| D | udf.txt | 54 The remaining are for debugging and disaster recovery:
|
| D | omfs.txt | 46 same 64-bit block number, any remaining space in the smaller sysblock is
|
| D | logfs.txt | 158 remaining valid data is copied elsewhere, thereby invalidating it. 224 complain about remaining inodes due to the inode file either. Same
|
| /linux-4.4.14/arch/m32r/kernel/ |
| D | head.S | 94 and3 r4, r3, #3 ; get no. of remaining BSS bytes to clear
|
| /linux-4.4.14/Documentation/ABI/ |
| D | README | 35 This directory documents interfaces that are still remaining in
|
| /linux-4.4.14/Documentation/security/ |
| D | IMA-templates.txt | 21 management from the remaining IMA code. The core of this solution is the
|
| /linux-4.4.14/Documentation/acpi/ |
| D | video_extension.txt | 57 not used by Linux currently. The remaining 10 levels are supported levels
|
| /linux-4.4.14/Documentation/devicetree/bindings/pinctrl/ |
| D | brcm,bcm11351-pinctrl.txt | 162 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,
|
| D | img,tz1090-pinctrl.txt | 74 particular function and leave the remaining pins unmuxed. This is useful if
|
| /linux-4.4.14/Documentation/arm/pxa/ |
| D | mfp.txt | 17 the MFP logic and the remaining SoC peripherals: 55 the remaining functions are pure GPIO-specific, i.e.
|
| /linux-4.4.14/drivers/usb/core/ |
| D | hub.c | 1553 int remaining = hdev->bus_mA - in hub_configure() local 1560 if (remaining < maxchild * unit_load) in hub_configure() 4618 int remaining; in hub_power_remaining() local 4624 remaining = hdev->bus_mA - hub->descriptor->bHubContrCurrent; in hub_power_remaining() 4651 remaining -= delta; in hub_power_remaining() 4653 if (remaining < 0) { in hub_power_remaining() 4655 -remaining); in hub_power_remaining() 4656 remaining = 0; in hub_power_remaining() 4658 return remaining; in hub_power_remaining()
|
| /linux-4.4.14/Documentation/hwmon/ |
| D | adm1026 | 63 for SCSI terminator power. The remaining inputs are not scaled and have
|
| /linux-4.4.14/arch/powerpc/platforms/powernv/ |
| D | pci-ioda.c | 2388 unsigned int residual, remaining, segs, tw, base; in pnv_ioda_setup_dma() local 2413 remaining = phb->ioda.tce32_count; in pnv_ioda_setup_dma() 2419 if (!remaining) { in pnv_ioda_setup_dma() 2426 if (segs > remaining) in pnv_ioda_setup_dma() 2427 segs = remaining; in pnv_ioda_setup_dma() 2445 remaining -= segs; in pnv_ioda_setup_dma()
|
| /linux-4.4.14/Documentation/scsi/ |
| D | hpsa.txt | 77 remaining on the controller from the previous kernel. This attribute enables
|
| D | st.txt | 89 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 283 3. The remaining segments between ST_MAX_SG (or the module parameter
|
| /linux-4.4.14/Documentation/s390/ |
| D | CommonIO | 62 - echo free all > /proc/cio_ignore will un-ignore all remaining ignored
|
| /linux-4.4.14/fs/xfs/ |
| D | xfs_bmap_util.c | 757 xfs_fileoff_t remaining = length; in xfs_bmap_punch_delalloc_range() local 812 remaining--; in xfs_bmap_punch_delalloc_range() 813 } while(remaining > 0); in xfs_bmap_punch_delalloc_range()
|
| /linux-4.4.14/kernel/sched/ |
| D | fair.c | 3657 u64 remaining, u64 expires) in distribute_cfs_runtime() argument 3661 u64 starting_runtime = remaining; in distribute_cfs_runtime() 3673 if (runtime > remaining) in distribute_cfs_runtime() 3674 runtime = remaining; in distribute_cfs_runtime() 3675 remaining -= runtime; in distribute_cfs_runtime() 3687 if (!remaining) in distribute_cfs_runtime() 3692 return starting_runtime - remaining; in distribute_cfs_runtime() 3784 u64 remaining; in runtime_refresh_within() local 3791 remaining = ktime_to_ns(hrtimer_expires_remaining(refresh_timer)); in runtime_refresh_within() 3792 if (remaining < min_expire) in runtime_refresh_within()
|
| /linux-4.4.14/Documentation/power/ |
| D | states.txt | 12 the meaning of the remaining ones depends on the relative_sleep_states command
|
| D | power_supply_class.txt | 210 approximating remaining battery capacity based on its charge, current,
|
| /linux-4.4.14/Documentation/arm/ |
| D | tcm.txt | 70 - Have the remaining TCM RAM added to a special
|
| D | Booting | 129 overwrite it, whilst remaining within the region which will be covered
|
| /linux-4.4.14/Documentation/input/ |
| D | yealink.txt | 139 - If less characters are written than allowed, the remaining digits are
|
| /linux-4.4.14/arch/unicore32/kernel/ |
| D | entry.S | 175 @ 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.4.14/drivers/usb/gadget/udc/ |
| D | atmel_usba_udc.c | 88 size_t len, remaining, actual = 0; in queue_dbg_read() local 113 remaining = __copy_to_user(buf, tmpbuf, len); in queue_dbg_read() 114 actual += len - remaining; in queue_dbg_read() 115 if (remaining) in queue_dbg_read()
|
| D | amd5536udc.c | 705 unsigned remaining = 0; in udc_txfifo_write() local 712 remaining = req->length - req->actual; in udc_txfifo_write() 717 if (bytes > remaining) in udc_txfifo_write() 718 bytes = remaining; in udc_txfifo_write()
|
| /linux-4.4.14/Documentation/frv/ |
| D | booting.txt | 128 The remaining components are all optional:
|
| /linux-4.4.14/arch/arc/mm/ |
| D | tlbex.S | 55 ; Since the Fast Path TLB Miss handler is coded with 4 regs, the remaining 3
|
| /linux-4.4.14/drivers/atm/ |
| D | nicstar.c | 2214 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.4.14/arch/sparc/lib/ |
| D | checksum_32.S | 43 andcc %o1, 4, %g0 ! nope, check for word remaining 49 andcc %o1, 4, %g0 ! check again for word remaining
|
| /linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
| D | be_main.c | 2035 u16 hdr_len, curr_frag_len, remaining; in skb_fill_rx_data() local 2073 remaining = rxcp->pkt_size - curr_frag_len; in skb_fill_rx_data() 2076 curr_frag_len = min(remaining, rx_frag_size); in skb_fill_rx_data() 2095 remaining -= curr_frag_len; in skb_fill_rx_data() 2145 u16 remaining, curr_frag_len; in be_rx_compl_process_gro() local 2154 remaining = rxcp->pkt_size; in be_rx_compl_process_gro() 2158 curr_frag_len = min(remaining, rx_frag_size); in be_rx_compl_process_gro() 2173 remaining -= curr_frag_len; in be_rx_compl_process_gro()
|
| /linux-4.4.14/fs/cramfs/ |
| D | README | 111 The remaining options try to make cramfs more sharable.
|
| /linux-4.4.14/Documentation/vm/ |
| D | userfaultfd.txt | 126 remaining missing pages from that new page offset. Soon after that
|
| D | page_migration | 127 13. The remaining page flags are copied to the new page.
|
| /linux-4.4.14/Documentation/devicetree/bindings/pci/ |
| D | nvidia,tegra20-pcie.txt | 37 - The remaining entries setup the mapping for the standard I/O, memory and
|
| /linux-4.4.14/Documentation/laptops/ |
| D | disk-shock-protection.txt | 58 of milliseconds remaining until normal operation will be resumed;
|
| /linux-4.4.14/Documentation/rapidio/ |
| D | rapidio.txt | 142 completed a discovery process can be started on all remaining endpoints. 296 an agent skips RapidIO discovery and continues with remaining kernel
|
| /linux-4.4.14/Documentation/powerpc/ |
| D | pci_iov_resource_on_powernv.txt | 133 spaces or assign the remaining PE# to 32-bit only devices. 144 PEs" that are used for the remaining M64 segments.
|
| /linux-4.4.14/tools/perf/ui/browsers/ |
| D | hists.c | 1048 u16 remaining = h->nr_rows - h->row_offset; in ui_browser__hists_seek() local 1049 if (offset > remaining) { in ui_browser__hists_seek() 1050 offset -= remaining; in ui_browser__hists_seek()
|
| /linux-4.4.14/Documentation/PCI/ |
| D | pci.txt | 436 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.4.14/Documentation/watchdog/ |
| D | watchdog-api.txt | 133 Some watchdog drivers have the ability to report the remaining time
|
| /linux-4.4.14/Documentation/fmc/ |
| D | identifiers.txt | 12 bytes. The standard allows the application to use all the remaining
|
| /linux-4.4.14/net/tipc/ |
| D | socket.c | 2282 u32 remaining = (TIPC_MAX_PORT - TIPC_MIN_PORT) + 1; in tipc_sk_insert() local 2283 u32 portid = prandom_u32() % remaining + TIPC_MIN_PORT; in tipc_sk_insert() 2285 while (remaining--) { in tipc_sk_insert()
|
| /linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/ |
| D | client.c | 1438 int remaining, rc; in ptlrpc_set_producer() local 1442 remaining = atomic_read(&set->set_remaining); in ptlrpc_set_producer() 1458 return (atomic_read(&set->set_remaining) - remaining); in ptlrpc_set_producer()
|
| /linux-4.4.14/drivers/regulator/ |
| D | core.c | 2042 unsigned long intended, max_delay, remaining; in _regulator_do_enable() local 2055 remaining = intended - start_jiffy; in _regulator_do_enable() 2056 if (remaining <= max_delay) in _regulator_do_enable() 2058 jiffies_to_usecs(remaining)); in _regulator_do_enable()
|
| /linux-4.4.14/net/core/ |
| D | pktgen.c | 2241 s64 remaining; in spin() local 2247 remaining = ktime_to_ns(hrtimer_expires_remaining(&t.timer)); in spin() 2248 if (remaining <= 0) { in spin() 2254 if (remaining < 100000) { in spin()
|
| /linux-4.4.14/arch/arm/kernel/ |
| D | entry-armv.S | 178 @ We are now ready to fill in the remaining blanks on the stack:
|