/openbmc/linux/net/ceph/ |
H A D | pagelist.c | 20 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()
|
/openbmc/qemu/chardev/ |
H A D | baum.c | 276 int room, first; in baum_chr_accept_input() local 281 if (!room) in baum_chr_accept_input() 283 if (room > baum->out_buf_used) in baum_chr_accept_input() 287 if (room > first) { in baum_chr_accept_input() 291 room -= first; in baum_chr_accept_input() 294 baum->out_buf_ptr += room; in baum_chr_accept_input() 295 baum->out_buf_used -= room; in baum_chr_accept_input() 304 int room; in baum_write_packet() local 311 if (len <= room) { in baum_write_packet() 319 len -= room; in baum_write_packet() [all …]
|
/openbmc/linux/drivers/usb/serial/ |
H A D | keyspan_pda.c | 80 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() 461 int room; in keyspan_pda_write_start() local 480 room = priv->tx_room; in keyspan_pda_write_start() 483 if (!test_bit(0, &port->write_urbs_free) || count == 0 || room == 0) { in keyspan_pda_write_start() 489 if (count > room) in keyspan_pda_write_start() 490 count = room; in keyspan_pda_write_start() 511 priv->tx_room = max(priv->tx_room, room + count); in keyspan_pda_write_start() [all …]
|
H A D | generic.c | 237 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()
|
/openbmc/linux/drivers/tty/ipwireless/ |
H A D | tty.c | 193 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 …]
|
/openbmc/linux/drivers/net/caif/ |
H A D | caif_serial.c | 212 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()
|
/openbmc/linux/drivers/tty/serial/ |
H A D | men_z135_uart.c | 249 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()
|
/openbmc/linux/include/linux/ceph/ |
H A D | pagelist.h | 14 size_t room; member 23 size_t room; /* room remaining to reset to */ member
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | amplc_pci224.c | 509 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()
|
/openbmc/linux/arch/m68k/fpsp040/ |
H A D | fpsp.h | 100 .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
|
/openbmc/linux/arch/alpha/ |
H A D | Kconfig.debug | 14 to 0x810000 to make room for the Wildfire's larger SRM console. 16 extra room.
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | prom_init.c | 2483 unsigned long room, chunk; in make_room() local 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() 2587 int l, room, has_phandle = 0; in scan_dt_build_struct() local 2594 if (room > 255) in scan_dt_build_struct() 2595 room = 255; in scan_dt_build_struct() 2599 if (l >= room) { in scan_dt_build_struct() 2707 room = DEVTREE_CHUNK_SIZE; in flatten_device_tree() [all …]
|
/openbmc/linux/arch/um/drivers/ |
H A D | line.c | 54 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()
|
/openbmc/linux/net/ipv4/ |
H A D | icmp.c | 600 int room; in __icmp_send() local 757 room = dst_mtu(&rt->dst); in __icmp_send() 758 if (room > 576) in __icmp_send() 759 room = 576; in __icmp_send() 760 room -= sizeof(struct iphdr) + icmp_param.replyopts.opt.opt.optlen; in __icmp_send() 761 room -= sizeof(struct icmphdr); in __icmp_send() 765 if (room <= (int)sizeof(struct iphdr)) in __icmp_send() 769 if (icmp_param.data_len > room) in __icmp_send() 770 icmp_param.data_len = room; in __icmp_send()
|
/openbmc/linux/Documentation/ABI/stable/ |
H A D | sysfs-firmware-opal-elog | 15 Linux if there is no room for more log entries. 19 the service processor needs more room for log entries,
|
/openbmc/linux/Documentation/virt/kvm/x86/ |
H A D | nested-vmx.rst | 93 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 */
|
/openbmc/linux/sound/core/seq/ |
H A D | seq_memory.h | 51 int room; /* watermark for sleep/wakeup */ member
|
/openbmc/u-boot/scripts/kconfig/lxdialog/ |
H A D | util.c | 372 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()
|
/openbmc/linux/scripts/kconfig/lxdialog/ |
H A D | util.c | 372 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()
|
/openbmc/linux/drivers/misc/ti-st/ |
H A D | st_core.c | 154 int room = skb_tailroom(st_gdata->rx_skb); in st_check_data_len() local 156 pr_debug("len %d room %d", len, room); in st_check_data_len() 166 } else if (len > room) { in st_check_data_len() 172 room); in st_check_data_len()
|
H A D | st_kim.c | 89 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()
|
/openbmc/linux/drivers/net/usb/ |
H A D | rndis_host.c | 561 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()
|
/openbmc/linux/Documentation/userspace-api/media/mediactl/ |
H A D | media-ioc-enum-links.rst | 44 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
|
/openbmc/linux/drivers/tty/ |
H A D | n_tty.c | 1705 int room, overflow; in n_tty_receive_buf_common() local 1725 room = N_TTY_BUF_SIZE - (ldata->read_head - tail); in n_tty_receive_buf_common() 1727 room = DIV_ROUND_UP(room, 3); in n_tty_receive_buf_common() 1728 room--; in n_tty_receive_buf_common() 1729 if (room <= 0) { in n_tty_receive_buf_common() 1731 if (overflow && room < 0) in n_tty_receive_buf_common() 1733 room = overflow; in n_tty_receive_buf_common() 1734 WRITE_ONCE(ldata->no_room, flow && !room); in n_tty_receive_buf_common() 1738 n = min_t(size_t, count, room); in n_tty_receive_buf_common() 1753 tty->receive_room = room; in n_tty_receive_buf_common()
|
/openbmc/linux/net/ipv6/ |
H A D | ip6_flowlabel.c | 475 int room = FL_MAX_SIZE - atomic_read(&fl_size); in mem_check() local 478 if (room > FL_MAX_SIZE - FL_MAX_PER_SOCK) in mem_check() 486 if (room <= 0 || in mem_check() 488 (count > 0 && room < FL_MAX_SIZE/2) || room < FL_MAX_SIZE/4) && in mem_check()
|