Home
last modified time | relevance | path

Searched refs:room (Results 1 – 25 of 113) sorted by relevance

12345

/linux-6.1.9/net/ceph/
Dpagelist.c20 pl->room = 0; in ceph_pagelist_alloc()
67 pl->room += PAGE_SIZE; in ceph_pagelist_addpage()
76 while (pl->room < len) { in ceph_pagelist_append()
77 size_t bit = pl->room; in ceph_pagelist_append()
83 pl->room -= bit; in ceph_pagelist_append()
93 pl->room -= len; in ceph_pagelist_append()
104 if (space <= pl->room) in ceph_pagelist_reserve()
106 space -= pl->room; in ceph_pagelist_reserve()
141 c->room = pl->room; in ceph_pagelist_set_cursor()
164 pl->room = c->room; in ceph_pagelist_truncate()
/linux-6.1.9/drivers/usb/serial/
Dkeyspan_pda.c80 u8 room; in keyspan_pda_get_write_room() local
89 &room, in keyspan_pda_get_write_room()
98 dev_dbg(&port->dev, "roomquery says %d\n", room); in keyspan_pda_get_write_room()
100 return room; in keyspan_pda_get_write_room()
457 int room; in keyspan_pda_write_start() local
476 room = priv->tx_room; in keyspan_pda_write_start()
479 if (!test_bit(0, &port->write_urbs_free) || count == 0 || room == 0) { in keyspan_pda_write_start()
485 if (count > room) in keyspan_pda_write_start()
486 count = room; in keyspan_pda_write_start()
499 dev_dbg(&port->dev, "%s - count = %d, txroom = %d\n", __func__, count, room); in keyspan_pda_write_start()
[all …]
Dgeneric.c237 unsigned int room; in usb_serial_generic_write_room() local
243 room = kfifo_avail(&port->write_fifo); in usb_serial_generic_write_room()
246 dev_dbg(&port->dev, "%s - returns %u\n", __func__, room); in usb_serial_generic_write_room()
247 return room; in usb_serial_generic_write_room()
/linux-6.1.9/drivers/tty/ipwireless/
Dtty.c193 int room, ret; in ipw_write() local
204 room = IPWIRELESS_TX_QUEUE_SIZE - tty->tx_bytes_queued; in ipw_write()
205 if (room < 0) in ipw_write()
206 room = 0; in ipw_write()
208 if (count > room) in ipw_write()
209 count = room; in ipw_write()
233 int room; in ipw_write_room() local
242 room = IPWIRELESS_TX_QUEUE_SIZE - tty->tx_bytes_queued; in ipw_write_room()
243 if (room < 0) in ipw_write_room()
244 room = 0; in ipw_write_room()
[all …]
/linux-6.1.9/drivers/net/caif/
Dcaif_serial.c212 int tty_wr, len, room; in handle_tx() local
226 room = tty_write_room(tty); in handle_tx()
227 if (!room) in handle_tx()
229 if (room > ser_write_chunk) in handle_tx()
230 room = ser_write_chunk; in handle_tx()
231 if (len > room) in handle_tx()
232 len = room; in handle_tx()
/linux-6.1.9/drivers/tty/serial/
Dmen_z135_uart.c249 int room; in men_z135_handle_rx() local
262 room = tty_buffer_request_room(tport, size); in men_z135_handle_rx()
263 if (room != size) in men_z135_handle_rx()
266 room); in men_z135_handle_rx()
268 if (room == 0) in men_z135_handle_rx()
271 memcpy_fromio(uart->rxbuf, port->membase + MEN_Z135_RX_RAM, room); in men_z135_handle_rx()
274 iowrite32(room, port->membase + MEN_Z135_RX_CTRL); in men_z135_handle_rx()
276 copied = tty_insert_flip_string(tport, uart->rxbuf, room); in men_z135_handle_rx()
277 if (copied != room) in men_z135_handle_rx()
280 copied, room); in men_z135_handle_rx()
/linux-6.1.9/include/linux/ceph/
Dpagelist.h14 size_t room; member
23 size_t room; /* room remaining to reset to */ member
/linux-6.1.9/arch/um/drivers/
Dline.c54 unsigned int room; in line_write_room() local
57 room = write_room(line); in line_write_room()
60 return room; in line_write_room()
88 int end, room; in buffer_data() local
101 room = write_room(line); in buffer_data()
102 len = (len > room) ? room : len; in buffer_data()
/linux-6.1.9/drivers/comedi/drivers/
Damplc_pci224.c509 unsigned int room; in pci224_ao_handle_fifo() local
517 room = PCI224_FIFO_ROOM_EMPTY; in pci224_ao_handle_fifo()
527 room = PCI224_FIFO_ROOM_ONETOHALF; in pci224_ao_handle_fifo()
530 room = PCI224_FIFO_ROOM_HALFTOFULL; in pci224_ao_handle_fifo()
533 room = PCI224_FIFO_ROOM_FULL; in pci224_ao_handle_fifo()
536 if (room >= PCI224_FIFO_ROOM_ONETOHALF) { in pci224_ao_handle_fifo()
545 room /= cmd->chanlist_len; in pci224_ao_handle_fifo()
548 if (num_scans > room) in pci224_ao_handle_fifo()
549 num_scans = room; in pci224_ao_handle_fifo()
/linux-6.1.9/arch/m68k/fpsp040/
Dfpsp.h100 .set FP_SCR1,LV+76 | room for a temporary float value
101 .set FP_SCR2,LV+92 | room for a temporary float value
102 .set L_SCR1,LV+108 | room for a temporary long value
103 .set L_SCR2,LV+112 | room for a temporary long value
112 .set L_SCR3,LV+124 | room for a temporary long value
113 .set FP_SCR3,LV+128 | room for a temporary float value
114 .set FP_SCR4,LV+144 | room for a temporary float value
115 .set FP_SCR5,LV+160 | room for a temporary float value
/linux-6.1.9/arch/powerpc/kernel/
Dprom_init.c2483 unsigned long room, chunk; in make_room() local
2487 room = alloc_top - alloc_bottom; in make_room()
2488 if (room > DEVTREE_CHUNK_SIZE) in make_room()
2489 room = DEVTREE_CHUNK_SIZE; in make_room()
2490 if (room < PAGE_SIZE) in make_room()
2493 chunk = alloc_up(room, 0); in make_room()
2497 *mem_end = chunk + room; in make_room()
2507 void *room = make_room(mem_start, mem_end, 4, 4); \
2508 *(__be32 *)room = cpu_to_be32(token); \
2587 int l, room, has_phandle = 0; in scan_dt_build_struct() local
[all …]
/linux-6.1.9/arch/alpha/
DKconfig.debug14 to 0x810000 to make room for the Wildfire's larger SRM console.
16 extra room.
/linux-6.1.9/Documentation/ABI/stable/
Dsysfs-firmware-opal-elog15 Linux if there is no room for more log entries.
19 the service processor needs more room for log entries,
/linux-6.1.9/Documentation/virt/kvm/x86/
Dnested-vmx.rst93 u32 padding[7]; /* room for future expansion */
116 u64 padding64[8]; /* room for future expansion */
156 natural_width paddingl[8]; /* room for future expansion */
203 u32 padding32[8]; /* room for future expansion */
/linux-6.1.9/net/ipv4/
Dicmp.c588 int room; in __icmp_send() local
744 room = dst_mtu(&rt->dst); in __icmp_send()
745 if (room > 576) in __icmp_send()
746 room = 576; in __icmp_send()
747 room -= sizeof(struct iphdr) + icmp_param.replyopts.opt.opt.optlen; in __icmp_send()
748 room -= sizeof(struct icmphdr); in __icmp_send()
751 if (icmp_param.data_len > room) in __icmp_send()
752 icmp_param.data_len = room; in __icmp_send()
/linux-6.1.9/drivers/tty/
Dn_tty.c1672 int room, n, rcvd = 0, overflow; in n_tty_receive_buf_common() local
1692 room = N_TTY_BUF_SIZE - (ldata->read_head - tail); in n_tty_receive_buf_common()
1694 room = (room + 2) / 3; in n_tty_receive_buf_common()
1695 room--; in n_tty_receive_buf_common()
1696 if (room <= 0) { in n_tty_receive_buf_common()
1698 if (overflow && room < 0) in n_tty_receive_buf_common()
1700 room = overflow; in n_tty_receive_buf_common()
1701 ldata->no_room = flow && !room; in n_tty_receive_buf_common()
1705 n = min(count, room); in n_tty_receive_buf_common()
1720 tty->receive_room = room; in n_tty_receive_buf_common()
/linux-6.1.9/scripts/kconfig/lxdialog/
Dutil.c372 int prompt_len, room, wlen; in print_autowrap() local
398 room = width - cur_x; in print_autowrap()
400 if (wlen > room || in print_autowrap()
402 && wlen + 1 + strlen(sp) > room in print_autowrap()
404 || wlen + 1 + (sp2 - sp) > room))) { in print_autowrap()
/linux-6.1.9/sound/core/seq/
Dseq_memory.h34 int room; /* watermark for sleep/wakeup */ member
/linux-6.1.9/drivers/misc/ti-st/
Dst_core.c155 int room = skb_tailroom(st_gdata->rx_skb); in st_check_data_len() local
157 pr_debug("len %d room %d", len, room); in st_check_data_len()
167 } else if (len > room) { in st_check_data_len()
173 room); in st_check_data_len()
Dst_kim.c89 register int room = skb_tailroom(kim_gdata->rx_skb); in kim_check_data_len() local
91 pr_debug("len %d room %d", len, room); in kim_check_data_len()
95 } else if (len > room) { in kim_check_data_len()
101 room); in kim_check_data_len()
/linux-6.1.9/drivers/net/usb/
Drndis_host.c561 int room = skb_headroom(skb); in rndis_tx_fixup() local
564 if (unlikely((sizeof *hdr) <= room)) in rndis_tx_fixup()
568 room += skb_tailroom(skb); in rndis_tx_fixup()
569 if (likely((sizeof *hdr) <= room)) { in rndis_tx_fixup()
/linux-6.1.9/net/ipv6/
Dip6_flowlabel.c472 int room = FL_MAX_SIZE - atomic_read(&fl_size); in mem_check() local
475 if (room > FL_MAX_SIZE - FL_MAX_PER_SOCK) in mem_check()
483 if (room <= 0 || in mem_check()
485 (count > 0 && room < FL_MAX_SIZE/2) || room < FL_MAX_SIZE/4) && in mem_check()
/linux-6.1.9/Documentation/userspace-api/media/mediactl/
Dmedia-ioc-enum-links.rst44 room to store all the entity's pads. The number of pads can be retrieved
49 enough room to store all the entity's outbound links. The number of
/linux-6.1.9/drivers/staging/greybus/
Duart.c447 int room; in gb_tty_write_room() local
450 room = kfifo_avail(&gb_tty->write_fifo); in gb_tty_write_room()
453 room -= GB_UART_WRITE_ROOM_MARGIN; in gb_tty_write_room()
454 if (room < 0) in gb_tty_write_room()
457 return room; in gb_tty_write_room()
/linux-6.1.9/drivers/usb/host/
Dxhci-dbgtty.c254 unsigned int room; in dbc_tty_write_room() local
257 room = kfifo_avail(&port->write_fifo); in dbc_tty_write_room()
260 return room; in dbc_tty_write_room()

12345