Home
last modified time | relevance | path

Searched refs:space (Results 1 – 25 of 153) sorted by relevance

1234567

/drivers/tty/
Dtty_buffer.c262 int space = tty_buffer_request_room(port, goal); in tty_insert_flip_string_fixed_flag() local
265 if (unlikely(space == 0)) { in tty_insert_flip_string_fixed_flag()
268 memcpy(tb->char_buf_ptr + tb->used, chars, space); in tty_insert_flip_string_fixed_flag()
269 memset(tb->flag_buf_ptr + tb->used, flag, space); in tty_insert_flip_string_fixed_flag()
270 tb->used += space; in tty_insert_flip_string_fixed_flag()
271 copied += space; in tty_insert_flip_string_fixed_flag()
272 chars += space; in tty_insert_flip_string_fixed_flag()
300 int space = tty_buffer_request_room(port, goal); in tty_insert_flip_string_flags() local
303 if (unlikely(space == 0)) { in tty_insert_flip_string_flags()
306 memcpy(tb->char_buf_ptr + tb->used, chars, space); in tty_insert_flip_string_flags()
[all …]
Dn_tty.c332 static int do_output_char(unsigned char c, struct tty_struct *tty, int space) in do_output_char() argument
337 if (!space) in do_output_char()
345 if (space < 2) in do_output_char()
367 if (space < spaces) in do_output_char()
410 int space, retval; in process_output() local
414 space = tty_write_room(tty); in process_output()
415 retval = do_output_char(c, tty, space); in process_output()
447 int space; in process_output_block() local
453 space = tty_write_room(tty); in process_output_block()
454 if (!space) { in process_output_block()
[all …]
/drivers/staging/media/go7007/
Dgo7007-fw.c290 static int copy_packages(__le16 *dest, u16 *src, int pkg_cnt, int space) in copy_packages() argument
294 if (space < cnt) in copy_packages()
378 static int gen_mjpeghdr_to_package(struct go7007 *go, __le16 *code, int space) in gen_mjpeghdr_to_package() argument
398 if (space - off < 32) { in gen_mjpeghdr_to_package()
645 __le16 *code, int space, int *framelen) in gen_mpeg1hdr_to_package() argument
687 if (space - off < 32) { in gen_mpeg1hdr_to_package()
830 __le16 *code, int space, int *framelen) in gen_mpeg4hdr_to_package() argument
854 if (space - off < 32) { in gen_mpeg4hdr_to_package()
897 if (space - off < 32) { in gen_mpeg4hdr_to_package()
932 __le16 *code, int space, int *framelen) in brctrl_to_package() argument
[all …]
/drivers/usb/host/
Duhci-debug.c43 int len, int space) in uhci_show_td() argument
50 out += sprintf(out, "%*s[%p] link (%08x) ", space, "", td, in uhci_show_td()
100 char *buf, int len, int space) in uhci_show_urbp() argument
141 out += sprintf(out, "%*s%d: ", space + 2, "", i); in uhci_show_urbp()
156 space, "", ninactive, nactive); in uhci_show_urbp()
165 struct uhci_qh *qh, char *buf, int len, int space) in uhci_show_qh() argument
181 space, "", qh, qtype, in uhci_show_qh()
187 space, "", qh->period, qh->phase, qh->load, in uhci_show_qh()
191 space, "", qh->period, qh->phase, qh->load); in uhci_show_qh()
196 out += sprintf(out, "%*s Element points to QH (bug?)\n", space, ""); in uhci_show_qh()
[all …]
/drivers/pnp/
Dinterface.c54 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 …]
DKconfig14 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/usb/dvb-usb/
Daf9005-remote.c89 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/edac/
Di5400_edac.c961 int space, n; in calculate_dimm_size() local
965 space = PAGE_SIZE; in calculate_dimm_size()
966 mem_buffer = p = kmalloc(space, GFP_KERNEL); in calculate_dimm_size()
984 n = snprintf(p, space, "---------------------------" in calculate_dimm_size()
987 space -= n; in calculate_dimm_size()
990 space = PAGE_SIZE; in calculate_dimm_size()
992 n = snprintf(p, space, "dimm %2d ", dimm); in calculate_dimm_size()
994 space -= n; in calculate_dimm_size()
999 n = snprintf(p, space, "%4d MB | ", dinfo->megabytes); in calculate_dimm_size()
1001 space -= n; in calculate_dimm_size()
[all …]
Di5000_edac.c1039 int space, n; in calculate_dimm_size() local
1042 space = PAGE_SIZE; in calculate_dimm_size()
1043 mem_buffer = p = kmalloc(space, GFP_KERNEL); in calculate_dimm_size()
1060 n = snprintf(p, space, "--------------------------" in calculate_dimm_size()
1063 space -= n; in calculate_dimm_size()
1066 space = PAGE_SIZE; in calculate_dimm_size()
1068 n = snprintf(p, space, "slot %2d ", slot); in calculate_dimm_size()
1070 space -= n; in calculate_dimm_size()
1076 n = snprintf(p, space, "%4d MB %dR| ", in calculate_dimm_size()
1079 n = snprintf(p, space, "%4d MB | ", 0); in calculate_dimm_size()
[all …]
Di7300_edac.c689 int space, n; in print_dimm_size() local
692 space = PAGE_SIZE; in print_dimm_size()
695 n = snprintf(p, space, " "); in print_dimm_size()
697 space -= n; in print_dimm_size()
699 n = snprintf(p, space, "channel %d | ", channel); in print_dimm_size()
701 space -= n; in print_dimm_size()
705 space = PAGE_SIZE; in print_dimm_size()
706 n = snprintf(p, space, "-------------------------------" in print_dimm_size()
709 space -= n; in print_dimm_size()
712 space = PAGE_SIZE; in print_dimm_size()
[all …]
/drivers/crypto/
Dpadlock-sha.c90 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/gpu/drm/r128/
Dr128_drv.h73 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/md/persistent-data/
DMakefile6 dm-space-map-common.o \
7 dm-space-map-disk.o \
8 dm-space-map-metadata.o \
/drivers/infiniband/hw/cxgb4/
Ddevice.c96 int space; in dump_qp() local
102 space = qpd->bufsize - qpd->pos - 1; in dump_qp()
103 if (space == 0) in dump_qp()
107 cc = snprintf(qpd->buf + qpd->pos, space, in dump_qp()
118 cc = snprintf(qpd->buf + qpd->pos, space, in dump_qp()
123 if (cc < space) in dump_qp()
189 int space; in dump_stag() local
192 space = stagd->bufsize - stagd->pos - 1; in dump_stag()
193 if (space == 0) in dump_stag()
196 cc = snprintf(stagd->buf + stagd->pos, space, "0x%x\n", id<<8); in dump_stag()
[all …]
/drivers/staging/csr/
Dcsr_wifi_hip_dump.c56 unifi_coredump_space_t space; /* XAP memory space this zone covers */ member
68 const unifi_coredump_space_t space, const u16 offset);
289 const unifi_coredump_space_t space, in get_value_from_coredump() argument
301 if (space == def->space) in get_value_from_coredump()
315 space, offset_in_space, r, in get_value_from_coredump()
423 req->value = get_value_from_coredump(find_dump, req->space, (u16)req->offset); in unifi_coredump_get_value()
429 req->space, req->offset, req->index); in unifi_coredump_get_value()
495 def->space, def->offset, def->length, def->gp, def->cpu); in unifi_coredump_read_zone()
/drivers/staging/dgrp/
Ddgrp_tty.c1306 static int dgrp_calculate_txprint_bounds(struct ch_struct *ch, int space, in dgrp_calculate_txprint_bounds() argument
1330 space -= ch->ch_digi.digi_offlen; in dgrp_calculate_txprint_bounds()
1332 if (space <= 0) { in dgrp_calculate_txprint_bounds()
1388 if (tmax < space) { in dgrp_calculate_txprint_bounds()
1390 space = tmax; in dgrp_calculate_txprint_bounds()
1410 if (space > tmax) { in dgrp_calculate_txprint_bounds()
1412 space = tmax; in dgrp_calculate_txprint_bounds()
1415 if (space <= 0) in dgrp_calculate_txprint_bounds()
1418 return space; in dgrp_calculate_txprint_bounds()
1429 int space; in dgrp_tty_write() local
[all …]
/drivers/ipack/carriers/
Dtpci200.c484 enum ipack_space space; in tpci200_create_device() local
493 for (space = 0; space < IPACK_SPACE_COUNT; space++) { in tpci200_create_device()
494 dev->region[space].start = in tpci200_create_device()
495 tpci200->mod_mem[space] in tpci200_create_device()
496 + tpci200_space_interval[space] * i; in tpci200_create_device()
497 dev->region[space].size = tpci200_space_size[space]; in tpci200_create_device()
/drivers/gpu/drm/i915/
Dintel_ringbuffer.c48 int space = (ring->head & HEAD_ADDR) - (ring->tail + I915_RING_FREE_SPACE); in ring_space() local
49 if (space < 0) in ring_space()
50 space += ring->size; in ring_space()
51 return space; in ring_space()
428 ring->space = ring_space(ring); in init_ring_common()
1307 ring->space = ring_space(ring); in intel_ring_wait_request()
1308 if (ring->space >= n) in intel_ring_wait_request()
1313 int space; in intel_ring_wait_request() local
1318 space = request->tail - (ring->tail + I915_RING_FREE_SPACE); in intel_ring_wait_request()
1319 if (space < 0) in intel_ring_wait_request()
[all …]
/drivers/staging/media/lirc/
Dlirc_serial.c613 static int pulse, space; in frbwrite() local
619 rbwrite(space); in frbwrite()
629 space = l; in frbwrite()
635 space += pulse; in frbwrite()
636 if (space > PULSE_MASK) in frbwrite()
637 space = PULSE_MASK; in frbwrite()
638 space += l; in frbwrite()
639 if (space > PULSE_MASK) in frbwrite()
640 space = PULSE_MASK; in frbwrite()
644 rbwrite(space); in frbwrite()
/drivers/staging/ozwpan/
Dozcdev.c478 int space; in oz_cdev_rx() local
504 space = ctx->rd_out - ctx->rd_in - 1; in oz_cdev_rx()
505 if (space < 0) in oz_cdev_rx()
506 space += OZ_RD_BUF_SZ; in oz_cdev_rx()
507 if (len > space) { in oz_cdev_rx()
508 oz_trace("Not enough space:%d %d\n", len, space); in oz_cdev_rx()
509 len = space; in oz_cdev_rx()
/drivers/gpu/drm/mga/
Dmga_drv.h53 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) \
/drivers/gpu/host1x/
Dcdma.c137 unsigned int space; in host1x_cdma_wait_locked() local
140 space = list_empty(&cdma->sync_queue) ? 1 : 0; in host1x_cdma_wait_locked()
143 space = host1x_pushbuffer_space(pb); in host1x_cdma_wait_locked()
149 if (space) in host1x_cdma_wait_locked()
150 return space; in host1x_cdma_wait_locked()
/drivers/message/i2o/
DREADME.ioctl13 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/
Di810_drv.h75 int space; member
148 if (dev_priv->ring.space < n*4) \
150 dev_priv->ring.space -= n*4; \
/drivers/video/i810/
Di810_accel.c59 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()

1234567