Home
last modified time | relevance | path

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

1234567

/drivers/tty/
Dtty_buffer.c92 int space = port->buf.mem_limit - atomic_read(&port->buf.mem_used); in tty_buffer_space_avail() local
93 return max(space, 0); in tty_buffer_space_avail()
312 int space = __tty_buffer_request_room(port, goal, flags); in tty_insert_flip_string_fixed_flag() local
314 if (unlikely(space == 0)) in tty_insert_flip_string_fixed_flag()
316 memcpy(char_buf_ptr(tb, tb->used), chars, space); in tty_insert_flip_string_fixed_flag()
318 memset(flag_buf_ptr(tb, tb->used), flag, space); in tty_insert_flip_string_fixed_flag()
319 tb->used += space; in tty_insert_flip_string_fixed_flag()
320 copied += space; in tty_insert_flip_string_fixed_flag()
321 chars += space; in tty_insert_flip_string_fixed_flag()
347 int space = tty_buffer_request_room(port, goal); in tty_insert_flip_string_flags() local
[all …]
Dn_tty.c417 static int do_output_char(unsigned char c, struct tty_struct *tty, int space) in do_output_char() argument
422 if (!space) in do_output_char()
430 if (space < 2) in do_output_char()
452 if (space < spaces) in do_output_char()
495 int space, retval; in process_output() local
499 space = tty_write_room(tty); in process_output()
500 retval = do_output_char(c, tty, space); in process_output()
532 int space; in process_output_block() local
538 space = tty_write_room(tty); in process_output_block()
539 if (!space) { in process_output_block()
[all …]
/drivers/media/usb/go7007/
Dgo7007-fw.c285 static int copy_packages(__le16 *dest, u16 *src, int pkg_cnt, int space) in copy_packages() argument
289 if (space < cnt) in copy_packages()
373 static int gen_mjpeghdr_to_package(struct go7007 *go, __le16 *code, int space) in gen_mjpeghdr_to_package() argument
393 if (space - off < 32) { in gen_mjpeghdr_to_package()
640 __le16 *code, int space, int *framelen) in gen_mpeg1hdr_to_package() argument
682 if (space - off < 32) { in gen_mpeg1hdr_to_package()
826 __le16 *code, int space, int *framelen) in gen_mpeg4hdr_to_package() argument
850 if (space - off < 32) { in gen_mpeg4hdr_to_package()
893 if (space - off < 32) { in gen_mpeg4hdr_to_package()
928 __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/gpu/drm/i915/
Di915_vgpu.c88 struct drm_mm_node space[4]; member
110 if (bl_info.space[i].allocated) in intel_vgt_deballoon()
111 drm_mm_remove_node(&bl_info.space[i]); in intel_vgt_deballoon()
216 &bl_info.space[2], in intel_vgt_balloon()
230 &bl_info.space[3], in intel_vgt_balloon()
240 &bl_info.space[0], in intel_vgt_balloon()
249 &bl_info.space[1], in intel_vgt_balloon()
/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 …]
/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/thunderbolt/
Dtb.h141 enum tb_cfg_space space, u32 offset, u32 length) in tb_sw_read() argument
147 space, in tb_sw_read()
153 enum tb_cfg_space space, u32 offset, u32 length) in tb_sw_write() argument
159 space, in tb_sw_write()
165 enum tb_cfg_space space, u32 offset, u32 length) in tb_port_read() argument
171 space, in tb_port_read()
177 enum tb_cfg_space space, u32 offset, u32 length) in tb_port_write() argument
183 space, in tb_port_write()
236 int tb_find_cap(struct tb_port *port, enum tb_cfg_space space, enum tb_cap cap);
Dctl.c83 enum tb_cfg_space space:2; member
178 enum tb_cfg_space space, u32 offset, in check_config_address() argument
183 if (WARN(space != addr.space, "wrong space (expected %x, got %x\n)", in check_config_address()
184 space, addr.space)) in check_config_address()
617 u64 route, u32 port, enum tb_cfg_space space, in tb_cfg_read_raw() argument
625 .space = space, in tb_cfg_read_raw()
642 res.err = check_config_address(reply.addr, space, offset, length); in tb_cfg_read_raw()
654 u64 route, u32 port, enum tb_cfg_space space, in tb_cfg_write_raw() argument
662 .space = space, in tb_cfg_write_raw()
681 res.err = check_config_address(reply.addr, space, offset, length); in tb_cfg_write_raw()
[all …]
Dcap.c80 int tb_find_cap(struct tb_port *port, enum tb_cfg_space space, enum tb_cap cap) in tb_find_cap() argument
87 res = tb_port_read(port, &header, space, offset, 1); in tb_find_cap()
90 if (space == TB_CFG_PORT && offset == 0xa in tb_find_cap()
102 res = tb_port_read(port, &header, space, in tb_find_cap()
114 cap, space, offset); in tb_find_cap()
Dctl.h62 enum tb_cfg_space space, u32 offset,
66 enum tb_cfg_space space, u32 offset,
69 enum tb_cfg_space space, u32 offset, u32 length);
71 enum tb_cfg_space space, u32 offset, u32 length);
/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/media/rc/img-ir/
Dimg-ir-sanyo.c94 .space = { 8 /* 4.5ms */ },
99 .space = { 1 /* 562.5 us */ },
104 .space = { 3 /* 1687.5 us */ },
118 .space = { 4 /* 2.25 ms */ },
Dimg-ir-nec.c125 .space = { 8 /* 4.5ms */ },
130 .space = { 1 /* 562.5 us */ },
135 .space = { 3 /* 1687.5 us */ },
149 .space = { 4 /* 2.25 ms */ },
Dimg-ir-rc6.c94 .space = { 660 },
99 .space = { 370 },
104 .space = { 370 },
Dimg-ir-jvc.c66 .space = { 8 /* 4.22 ms */ },
71 .space = { 1 /* 527.5 us */ },
76 .space = { 3 /* 1.5825 ms +-40 us */ },
/drivers/staging/lustre/lustre/
DKconfig20 To mount Lustre file systems, you also need to install the user space
21 mount.lustre and other user space commands which can be found in the
26 performance computing. Source code of both kernel space and user space
39 This option defines the maximum size of buffer in bytes that user space
/drivers/gpu/drm/nouveau/nvkm/core/
Denum.c44 bool space = false; in nvkm_snprintbf() local
48 space ? " " : "", bf->name); in nvkm_snprintbf()
51 space = true; in nvkm_snprintbf()
/drivers/gpu/drm/r128/
Dr128_drv.h76 int space; member
419 ring->space = (GET_RING_HEAD(dev_priv) - ring->tail) * sizeof(u32); in r128_update_ring_snapshot()
420 if (ring->space <= 0) in r128_update_ring_snapshot()
421 ring->space += ring->size; in r128_update_ring_snapshot()
439 if (ring->space < ring->high_mark) { \
442 if (ring->space >= ring->high_mark) \
482 if (dev_priv->ring.space <= (n) * sizeof(u32)) { \
486 _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/staging/media/lirc/
Dlirc_serial.c503 static int pulse, space; in frbwrite() local
509 rbwrite(space); in frbwrite()
519 space = l; in frbwrite()
525 space += pulse; in frbwrite()
526 if (space > PULSE_MASK) in frbwrite()
527 space = PULSE_MASK; in frbwrite()
528 space += l; in frbwrite()
529 if (space > PULSE_MASK) in frbwrite()
530 space = PULSE_MASK; in frbwrite()
534 rbwrite(space); in frbwrite()
/drivers/infiniband/sw/rxe/
DKconfig15 Linux RDMA stack and implements a kernel or user space
16 verbs API. The user space verbs API requires a support
18 space verbs API, libibverbs. The other layer interfaces

1234567