/drivers/tty/ |
D | tty_buffer.c | 252 int space = tty_buffer_request_room(tty, goal); in tty_insert_flip_string_fixed_flag() local 255 if (unlikely(space == 0)) in tty_insert_flip_string_fixed_flag() 257 memcpy(tb->char_buf_ptr + tb->used, chars, space); in tty_insert_flip_string_fixed_flag() 258 memset(tb->flag_buf_ptr + tb->used, flag, space); in tty_insert_flip_string_fixed_flag() 259 tb->used += space; in tty_insert_flip_string_fixed_flag() 260 copied += space; in tty_insert_flip_string_fixed_flag() 261 chars += space; in tty_insert_flip_string_fixed_flag() 289 int space = tty_buffer_request_room(tty, goal); in tty_insert_flip_string_flags() local 292 if (unlikely(space == 0)) in tty_insert_flip_string_flags() 294 memcpy(tb->char_buf_ptr + tb->used, chars, space); in tty_insert_flip_string_flags() [all …]
|
D | n_tty.c | 294 static int do_output_char(unsigned char c, struct tty_struct *tty, int space) in do_output_char() argument 298 if (!space) in do_output_char() 306 if (space < 2) in do_output_char() 328 if (space < spaces) in do_output_char() 370 int space, retval; in process_output() local 374 space = tty_write_room(tty); in process_output() 375 retval = do_output_char(c, tty, space); in process_output() 406 int space; in process_output_block() local 412 space = tty_write_room(tty); in process_output_block() 413 if (!space) { in process_output_block() [all …]
|
/drivers/staging/media/go7007/ |
D | go7007-fw.c | 288 static int copy_packages(__le16 *dest, u16 *src, int pkg_cnt, int space) in copy_packages() argument 292 if (space < cnt) in copy_packages() 376 static int gen_mjpeghdr_to_package(struct go7007 *go, __le16 *code, int space) in gen_mjpeghdr_to_package() argument 399 if (space - off < 32) { in gen_mjpeghdr_to_package() 646 __le16 *code, int space, int *framelen) in gen_mpeg1hdr_to_package() argument 690 if (space - off < 32) { in gen_mpeg1hdr_to_package() 833 __le16 *code, int space, int *framelen) in gen_mpeg4hdr_to_package() argument 859 if (space - off < 32) { in gen_mpeg4hdr_to_package() 902 if (space - off < 32) { in gen_mpeg4hdr_to_package() 937 __le16 *code, int space, int *framelen) in brctrl_to_package() argument [all …]
|
/drivers/usb/host/ |
D | uhci-debug.c | 41 int len, int space) in uhci_show_td() argument 52 out += sprintf(out, "%*s[%p] link (%08x) ", space, "", td, in uhci_show_td() 97 char *buf, int len, int space) in uhci_show_urbp() argument 135 out += sprintf(out, "%*s%d: ", space + 2, "", i); in uhci_show_urbp() 148 space, "", ninactive, nactive); in uhci_show_urbp() 154 struct uhci_qh *qh, char *buf, int len, int space) in uhci_show_qh() argument 174 space, "", qh, qtype, in uhci_show_qh() 180 space, "", qh->period, qh->phase, qh->load, in uhci_show_qh() 184 space, "", qh->period, qh->phase, qh->load); in uhci_show_qh() 187 out += sprintf(out, "%*s Element points to QH (bug?)\n", space, ""); in uhci_show_qh() [all …]
|
/drivers/pnp/ |
D | interface.c | 54 static void pnp_print_port(pnp_info_buffer_t * buffer, char *space, in pnp_print_port() argument 58 "%i-bit address decoding\n", space, in pnp_print_port() 66 static void pnp_print_irq(pnp_info_buffer_t * buffer, char *space, in pnp_print_irq() argument 71 pnp_printf(buffer, "%sirq ", space); in pnp_print_irq() 99 static void pnp_print_dma(pnp_info_buffer_t * buffer, char *space, in pnp_print_dma() argument 105 pnp_printf(buffer, "%sdma ", space); in pnp_print_dma() 151 static void pnp_print_mem(pnp_info_buffer_t * buffer, char *space, in pnp_print_mem() argument 157 space, (unsigned long long) mem->min, in pnp_print_mem() 187 static void pnp_print_option(pnp_info_buffer_t * buffer, char *space, in pnp_print_option() argument 192 pnp_print_port(buffer, space, &option->u.port); in pnp_print_option() [all …]
|
D | Kconfig | 14 or using a user-space utility. 19 using user space utilities such as the isapnptools package. 32 This option allows you to save a bit of space if you do not want
|
/drivers/media/dvb/dvb-usb/ |
D | af9005-remote.c | 89 u16 mark, space; in af9005_rc_decode() local 96 space = (u16) (data[2] << 8) + data[3]; in af9005_rc_decode() 97 if (space * 3 < mark) { in af9005_rc_decode() 115 space = (u16) (data[i + 2] << 8) + data[i + 3]; in af9005_rc_decode() 116 space >>= 1; in af9005_rc_decode() 117 if (mark * 2 > space) in af9005_rc_decode()
|
/drivers/crypto/ |
D | padlock-sha.c | 90 unsigned int space; in padlock_sha1_finup() local 104 space = SHA1_BLOCK_SIZE - leftover; in padlock_sha1_finup() 105 if (space) { in padlock_sha1_finup() 106 if (count > space) { in padlock_sha1_finup() 107 err = crypto_shash_update(&dctx->fallback, in, space) ?: in padlock_sha1_finup() 111 count -= space; in padlock_sha1_finup() 112 in += space; in padlock_sha1_finup() 156 unsigned int space; in padlock_sha256_finup() local 170 space = SHA256_BLOCK_SIZE - leftover; in padlock_sha256_finup() 171 if (space) { in padlock_sha256_finup() [all …]
|
/drivers/md/persistent-data/ |
D | Makefile | 4 dm-space-map-checker.o \ 5 dm-space-map-common.o \ 6 dm-space-map-disk.o \ 7 dm-space-map-metadata.o \
|
/drivers/edac/ |
D | i7300_edac.c | 715 int space, n; in print_dimm_size() local 718 space = PAGE_SIZE; in print_dimm_size() 721 n = snprintf(p, space, " "); in print_dimm_size() 723 space -= n; in print_dimm_size() 725 n = snprintf(p, space, "channel %d | ", channel); in print_dimm_size() 727 space -= n; in print_dimm_size() 731 space = PAGE_SIZE; in print_dimm_size() 732 n = snprintf(p, space, "-------------------------------" in print_dimm_size() 735 space -= n; in print_dimm_size() 738 space = PAGE_SIZE; in print_dimm_size() [all …]
|
D | i5000_edac.c | 1037 int space, n; in calculate_dimm_size() local 1041 space = PAGE_SIZE; in calculate_dimm_size() 1042 mem_buffer = p = kmalloc(space, GFP_KERNEL); in calculate_dimm_size() 1049 n = snprintf(p, space, "\n"); in calculate_dimm_size() 1051 space -= n; in calculate_dimm_size() 1064 n = snprintf(p, space, "---------------------------" in calculate_dimm_size() 1067 space -= n; in calculate_dimm_size() 1070 space = PAGE_SIZE; in calculate_dimm_size() 1072 n = snprintf(p, space, "csrow %2d ", csrow); in calculate_dimm_size() 1074 space -= n; in calculate_dimm_size() [all …]
|
D | i5400_edac.c | 959 int space, n; in calculate_dimm_size() local 963 space = PAGE_SIZE; in calculate_dimm_size() 964 mem_buffer = p = kmalloc(space, GFP_KERNEL); in calculate_dimm_size() 982 n = snprintf(p, space, "---------------------------" in calculate_dimm_size() 985 space -= n; in calculate_dimm_size() 988 space = PAGE_SIZE; in calculate_dimm_size() 990 n = snprintf(p, space, "csrow %2d ", csrow); in calculate_dimm_size() 992 space -= n; in calculate_dimm_size() 997 n = snprintf(p, space, "%4d MB | ", dinfo->megabytes); in calculate_dimm_size() 999 space -= n; in calculate_dimm_size() [all …]
|
/drivers/gpu/drm/r128/ |
D | r128_drv.h | 73 int space; member 416 ring->space = (GET_RING_HEAD(dev_priv) - ring->tail) * sizeof(u32); in r128_update_ring_snapshot() 417 if (ring->space <= 0) in r128_update_ring_snapshot() 418 ring->space += ring->size; in r128_update_ring_snapshot() 436 if (ring->space < ring->high_mark) { \ 439 if (ring->space >= ring->high_mark) \ 479 if (dev_priv->ring.space <= (n) * sizeof(u32)) { \ 483 _nr = n; dev_priv->ring.space -= (n) * sizeof(u32); \
|
/drivers/gpu/drm/i915/ |
D | intel_ringbuffer.c | 49 int space = (ring->head & HEAD_ADDR) - (ring->tail + 8); in ring_space() local 50 if (space < 0) in ring_space() 51 space += ring->size; in ring_space() 52 return space; in ring_space() 317 ring->space = ring_space(ring); in init_ring_common() 1130 if (ring->space < rem) { in intel_wrap_ring_buffer() 1144 ring->space = ring_space(ring); in intel_wrap_ring_buffer() 1180 ring->space = ring_space(ring); in intel_ring_wait_request() 1181 if (ring->space >= n) in intel_ring_wait_request() 1186 int space; in intel_ring_wait_request() local [all …]
|
/drivers/infiniband/hw/cxgb4/ |
D | device.c | 79 int space; in dump_qp() local 85 space = qpd->bufsize - qpd->pos - 1; in dump_qp() 86 if (space == 0) in dump_qp() 90 cc = snprintf(qpd->buf + qpd->pos, space, in dump_qp() 101 cc = snprintf(qpd->buf + qpd->pos, space, in dump_qp() 106 if (cc < space) in dump_qp() 172 int space; in dump_stag() local 175 space = stagd->bufsize - stagd->pos - 1; in dump_stag() 176 if (space == 0) in dump_stag() 179 cc = snprintf(stagd->buf + stagd->pos, space, "0x%x\n", id<<8); in dump_stag() [all …]
|
/drivers/staging/ozwpan/ |
D | ozcdev.c | 465 int space; in oz_cdev_rx() local 491 space = ctx->rd_out - ctx->rd_in - 1; in oz_cdev_rx() 492 if (space < 0) in oz_cdev_rx() 493 space += OZ_RD_BUF_SZ; in oz_cdev_rx() 494 if (len > space) { in oz_cdev_rx() 495 oz_trace("Not enough space:%d %d\n", len, space); in oz_cdev_rx() 496 len = space; in oz_cdev_rx()
|
/drivers/staging/media/lirc/ |
D | lirc_serial.c | 605 static int pulse, space; in frbwrite() local 611 rbwrite(space); in frbwrite() 621 space = l; in frbwrite() 627 space += pulse; in frbwrite() 628 if (space > PULSE_MASK) in frbwrite() 629 space = PULSE_MASK; in frbwrite() 630 space += l; in frbwrite() 631 if (space > PULSE_MASK) in frbwrite() 632 space = PULSE_MASK; in frbwrite() 636 rbwrite(space); in frbwrite()
|
/drivers/gpu/drm/mga/ |
D | mga_drv.h | 53 int space; member 232 } else if (dev_priv->prim.space < \ 268 dev_priv->prim.space, (n) * DMA_BLOCK_SIZE); \ 278 DRM_INFO(" space=0x%x\n", dev_priv->prim.space); \ 289 write, dev_priv->prim.space); \ 302 if (dev_priv->prim.space < dev_priv->prim.high_mark) \
|
D | mga_dma.c | 87 primary->space = primary->size; in mga_do_dma_reset() 146 primary->space = primary->size - primary->tail; in mga_do_dma_flush() 148 primary->space = head - tail; in mga_do_dma_flush() 152 DRM_DEBUG(" space = 0x%06x\n", primary->space); in mga_do_dma_flush() 184 primary->space = primary->size; in mga_do_dma_wrap_start() 186 primary->space = head - dev_priv->primary->offset; in mga_do_dma_wrap_start() 191 DRM_DEBUG(" space = 0x%06x\n", primary->space); in mga_do_dma_wrap_start() 906 dev_priv->prim.space = dev_priv->prim.size; in mga_do_init_dma()
|
/drivers/message/i2o/ |
D | README.ioctl | 13 utilized by user space applications to communicate with IOPs and devices 21 This document and the I2O user space interface are currently maintained 53 EFAULT Invalid user space pointer was passed 79 EFAULT Invalid user space pointer was passed 108 EFAULT Invalid user space pointer was passed 143 EFAULT Invalid user space pointer was passed 180 EFAULT Invalid user space pointer was passed 227 EFAULT Invalid user space pointer was passed 269 EFAULT Invalid user space pointer was passed 306 EFAULT Invalid user space pointer was passed [all …]
|
/drivers/gpu/drm/i810/ |
D | i810_drv.h | 75 int space; member 150 if (dev_priv->ring.space < n*4) \ 152 dev_priv->ring.space -= n*4; \
|
/drivers/video/i810/ |
D | i810_accel.c | 59 static inline int wait_for_space(struct fb_info *info, u32 space) in wait_for_space() argument 70 (par->iring.size - tail + head) >= space) || in wait_for_space() 71 (tail < head && (head - tail) >= space)) { in wait_for_space() 118 static inline u32 begin_iring(struct fb_info *info, u32 space) in begin_iring() argument 124 return wait_for_space(info, space); in begin_iring()
|
/drivers/staging/tidspbridge/ |
D | TODO | 4 * DOFF binary loader: consider pushing to user space. at the very least 11 * Audit interfaces exposed to user space
|
/drivers/usb/atm/ |
D | Kconfig | 26 two parts of the firmware, extracted by the user space tools; see 38 install the firmware, extracted by the user space tools; see 63 the modem using a user space utility (a firmware loader for example).
|
/drivers/staging/tidspbridge/include/dspbridge/ |
D | dblldefs.h | 77 typedef s32(*dbll_alloc_fxn) (void *hdl, s32 space, u32 size, u32 align, 91 typedef bool(*dbll_free_fxn) (void *hdl, u32 addr, s32 space, u32 size,
|