Home
last modified time | relevance | path

Searched refs:limit (Results 176 – 200 of 1424) sorted by relevance

12345678910>>...57

/linux/drivers/gpu/drm/vkms/
H A Dvkms_formats.c47 static int get_x_position(const struct vkms_frame_info *frame_info, int limit, int x) in get_x_position() argument
50 return limit - x - 1; in get_x_position()
132 int limit = min_t(size_t, drm_rect_width(&frame_info->dst), stage_buffer->n_pixels); in vkms_compose_row() local
134 for (size_t x = 0; x < limit; x++, src_pixels += frame_info->cpp) { in vkms_compose_row()
135 int x_pos = get_x_position(frame_info, limit, x); in vkms_compose_row()
/linux/drivers/gpu/drm/nouveau/nvif/
H A Dtimer.c43 if (wait->time1 - wait->time0 > wait->limit) in nvif_timer_wait_test()
54 wait->limit = nsec; in nvif_timer_wait_init()
/linux/arch/s390/pci/
H A Dpci_clp.c483 unsigned long limit = PAGE_SIZE - sizeof(lpcb->request); in clp_base_slpc() local
486 lpcb->response.hdr.len > limit) in clp_base_slpc()
503 unsigned long limit = PAGE_SIZE - sizeof(lpcb->request); in clp_pci_slpc() local
506 lpcb->response.hdr.len > limit) in clp_pci_slpc()
513 unsigned long limit = PAGE_SIZE - sizeof(lpcb->request); in clp_pci_list() local
516 lpcb->response.hdr.len > limit) in clp_pci_list()
526 unsigned long limit = PAGE_SIZE - sizeof(lpcb->request); in clp_pci_query() local
529 lpcb->response.hdr.len > limit) in clp_pci_query()
539 unsigned long limit = PAGE_SIZE - sizeof(lpcb->request); in clp_pci_query_grp() local
542 lpcb->response.hdr.len > limit) in clp_pci_query_grp()
/linux/fs/ext2/
H A Ddir.c106 unsigned limit = folio_size(folio); in ext2_check_folio() local
110 if (dir->i_size < folio_pos(folio) + limit) { in ext2_check_folio()
111 limit = offset_in_folio(folio, dir->i_size); in ext2_check_folio()
112 if (limit & (chunk_size - 1)) in ext2_check_folio()
114 if (!limit) in ext2_check_folio()
117 for (offs = 0; offs <= limit - EXT2_DIR_REC_LEN(1); offs += rec_len) { in ext2_check_folio()
132 if (offs != limit) in ext2_check_folio()
279 char *limit; in ext2_readdir() local
297 limit = kaddr + ext2_last_byte(inode, n) - EXT2_DIR_REC_LEN(1); in ext2_readdir()
298 for ( ;(char*)de <= limit; de = ext2_next_entry(de)) { in ext2_readdir()
/linux/drivers/ssb/
H A Ddriver_chipcommon.c152 int limit; in chipco_pctl_clockfreqlimit() local
189 limit = 43000; in chipco_pctl_clockfreqlimit()
191 limit = 25000; in chipco_pctl_clockfreqlimit()
195 limit = 20200000; in chipco_pctl_clockfreqlimit()
197 limit = 19800000; in chipco_pctl_clockfreqlimit()
201 limit = 34000000; in chipco_pctl_clockfreqlimit()
203 limit = 25000000; in chipco_pctl_clockfreqlimit()
206 limit /= divisor; in chipco_pctl_clockfreqlimit()
208 return limit; in chipco_pctl_clockfreqlimit()
/linux/drivers/ntb/hw/intel/
H A Dntb_hw_gen3.c450 u64 base, limit, reg_val; in intel_ntb3_mw_set_trans() local
485 limit = base + size; in intel_ntb3_mw_set_trans()
487 limit = base + mw_size; in intel_ntb3_mw_set_trans()
500 iowrite64(limit, mmio + limit_reg); in intel_ntb3_mw_set_trans()
502 if (reg_val != limit) { in intel_ntb3_mw_set_trans()
516 limit = base + size; in intel_ntb3_mw_set_trans()
518 limit = base + mw_size; in intel_ntb3_mw_set_trans()
521 iowrite64(limit, mmio + limit_reg); in intel_ntb3_mw_set_trans()
523 if (reg_val != limit) { in intel_ntb3_mw_set_trans()
/linux/net/sched/
H A Dsch_red.c37 u32 limit; /* HARD maximal queue length */ member
201 opt.set.limit = q->limit; in red_offload()
265 if (ctl->limit > 0) { in __red_change()
266 child = fifo_create_dflt(sch, &bfifo_qdisc_ops, ctl->limit, in __red_change()
284 q->limit = ctl->limit; in __red_change()
414 .limit = q->limit, in red_dump()
H A Dsch_tbf.c100 u32 limit; /* Maximal length of backlog: bytes */ member
432 err = fifo_set_limit(q->qdisc, qopt->limit); in tbf_change()
435 } else if (qopt->limit > 0) { in tbf_change()
436 child = fifo_create_dflt(sch, &bfifo_qdisc_ops, qopt->limit, in tbf_change()
453 q->limit = qopt->limit; in tbf_change()
518 opt.limit = q->limit; in tbf_dump()
/linux/drivers/staging/rtl8712/
H A Dieee80211.h148 u8 *r8712_get_ie(u8 *pbuf, sint index, uint *len, sint limit);
150 int limit);
152 int limit);
/linux/Documentation/hwmon/
H A Demc1403.rst76 difference between the limit and its hysteresis is always the same for
81 * When setting a limit, its hysteresis will automatically follow, the
82 difference staying unchanged. For example, if the old critical limit
84 the critical limit to 90 degrees C, then the hysteresis will
H A Dw83792d.rst64 triggered if the rotation speed has dropped below a programmable limit. Fan
70 or maximum limit.
148 exceeds the high limit (T+tolerance), the fan will be turned on with a
152 (1) If the temperature still exceeds the high limit, PWM duty
155 (2) If the temperature goes below the high limit, but still above the low
156 limit (T-tolerance), the fan speed will be fixed at the current speed because
159 (3) If the temperature goes below the low limit, PWM duty cycle will decrease
161 limit. (The preset stop value handling is not yet implemented in driver)
/linux/lib/
H A Dxxhash.c109 const uint8_t *const limit = b_end - 16; in xxh32() local
124 } while (p <= limit); in xxh32()
179 const uint8_t *const limit = b_end - 32; in xxh64() local
194 } while (p <= limit); in xxh64()
307 const uint8_t *const limit = b_end - 16; in xxh32_update() local
322 } while (p <= limit); in xxh32_update()
412 const uint8_t *const limit = b_end - 32; in xxh64_update() local
427 } while (p <= limit); in xxh64_update()
/linux/mm/
H A Dreadahead.c495 pgoff_t limit = (i_size_read(mapping->host) - 1) >> PAGE_SHIFT; in page_cache_ra_order() local
504 limit = min(limit, index + ra->size - 1); in page_cache_ra_order()
515 while (index <= limit) { in page_cache_ra_order()
522 while (index + (1UL << order) - 1 > limit) in page_cache_ra_order()
530 if (index > limit) { in page_cache_ra_order()
531 ra->size += index - limit - 1; in page_cache_ra_order()
532 ra->async_size += index - limit - 1; in page_cache_ra_order()
/linux/Documentation/admin-guide/cgroup-v1/
H A Dmemory.rst50 - soft limit
55 - Root cgroup has no limit controls.
96 memory hard limit. Kernel hard limit is not
240 read and limit it.
367 limit, and "K" the kernel limit. There are three possible ways limits can be
416 The limit can now be queried::
624 hit its limit. When a memory cgroup hits a limit, failcnt increases and
703 b. They do not exceed their hard limit
720 assume a soft limit of 256 MiB)::
733 It is recommended to set the soft limit always below the hard limit,
[all …]
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_lib.c328 u16 vmdq_i = adapter->ring_feature[RING_F_VMDQ].limit; in ixgbe_set_dcb_sriov_queues()
395 fcoe_i = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_dcb_sriov_queues()
457 rss_i = min_t(int, rss_i, f->limit); in ixgbe_set_dcb_queues()
474 f->indices = min_t(u16, rss_i, f->limit); in ixgbe_set_dcb_queues()
503 u16 rss_i = adapter->ring_feature[RING_F_RSS].limit; in ixgbe_set_sriov_queues()
573 fcoe_i = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_sriov_queues()
588 fcoe->indices = min_t(u16, fcoe_i, fcoe->limit); in ixgbe_set_sriov_queues()
631 rss_i = f->limit; in ixgbe_set_rss_queues()
651 rss_i = f->indices = f->limit; in ixgbe_set_rss_queues()
681 f->indices = min_t(u16, fcoe_i, f->limit); in ixgbe_set_rss_queues()
[all …]
/linux/drivers/gpu/drm/mediatek/
H A Dmtk_dpi.c280 struct mtk_dpi_yc_limit limit; in mtk_dpi_config_channel_limit() local
284 limit.y_bottom = 0x10; in mtk_dpi_config_channel_limit()
285 limit.y_top = 0xfe0; in mtk_dpi_config_channel_limit()
286 limit.c_bottom = 0x10; in mtk_dpi_config_channel_limit()
287 limit.c_top = 0xfe0; in mtk_dpi_config_channel_limit()
289 limit.y_bottom = 0; in mtk_dpi_config_channel_limit()
290 limit.y_top = 0xfff; in mtk_dpi_config_channel_limit()
291 limit.c_bottom = 0; in mtk_dpi_config_channel_limit()
292 limit.c_top = 0xfff; in mtk_dpi_config_channel_limit()
297 mtk_dpi_mask(dpi, DPI_Y_LIMIT, limit.y_top << Y_LIMINT_TOP, in mtk_dpi_config_channel_limit()
[all …]
/linux/arch/x86/include/asm/
H A Dsegment.h13 #define GDT_ENTRY(flags, base, limit) \ argument
16 (((limit) & _AC(0x000f0000,ULL)) << (48-16)) | \
18 (((limit) & _AC(0x0000ffff,ULL))))
H A Ddesc_defs.h73 #define GDT_ENTRY_INIT(flags, base, limit) \ argument
75 .limit0 = ((limit) >> 0) & 0xFFFF, \
76 .limit1 = ((limit) >> 16) & 0x000F, \
/linux/Documentation/filesystems/
H A Ddevpts.rst27 kernel.pty.max = 4096 - global limit
31 Per-instance limit could be set by adding mount option ``max=<count>``.
36 In kernels older than 3.4 sysctl ``kernel.pty.max`` works as per-instance limit.
/linux/drivers/usb/usbip/
H A Dvudc_transfer.c184 struct urb *urb, struct vep *ep, int limit) in transfer() argument
311 int total, limit; in v_timer() local
385 limit = 64 * 1024; in v_timer()
394 limit = total; in v_timer()
406 limit += urb->transfer_buffer_length; in v_timer()
410 total -= transfer(udc, urb, ep, limit); in v_timer()
/linux/include/linux/
H A Dxarray.h872 void *entry, struct xa_limit limit, gfp_t gfp) in xa_alloc() argument
878 err = __xa_alloc(xa, id, entry, limit, gfp); in xa_alloc()
905 void *entry, struct xa_limit limit, gfp_t gfp) in xa_alloc_bh() argument
911 err = __xa_alloc(xa, id, entry, limit, gfp); in xa_alloc_bh()
938 void *entry, struct xa_limit limit, gfp_t gfp) in xa_alloc_irq() argument
944 err = __xa_alloc(xa, id, entry, limit, gfp); in xa_alloc_irq()
975 struct xa_limit limit, u32 *next, gfp_t gfp) in xa_alloc_cyclic() argument
981 err = __xa_alloc_cyclic(xa, id, entry, limit, next, gfp); in xa_alloc_cyclic()
1012 struct xa_limit limit, u32 *next, gfp_t gfp) in xa_alloc_cyclic_bh() argument
1018 err = __xa_alloc_cyclic(xa, id, entry, limit, next, gfp); in xa_alloc_cyclic_bh()
[all …]
/linux/drivers/net/ipa/
H A Dipa_endpoint.c250 u32 limit; in ipa_endpoint_data_valid_one() local
268 if (buffer_size < limit) { in ipa_endpoint_data_valid_one()
311 if (aggr_size > limit) { in ipa_endpoint_data_valid_one()
1008 u32 limit; in ipa_endpoint_init_aggr() local
1995 u32 limit; in ipa_endpoint_config() local
2030 limit = rx_base + rx_count; in ipa_endpoint_config()
2033 limit, IPA_ENDPOINT_MAX); in ipa_endpoint_config()
2039 if (limit > hw_limit) { in ipa_endpoint_config()
2041 limit, hw_limit); in ipa_endpoint_config()
2058 if (endpoint_id >= limit) { in ipa_endpoint_config()
[all …]
/linux/drivers/infiniband/sw/rdmavt/
H A Dsrq.c87 srq->limit = srq_init_attr->attr.srq_limit; in rvt_create_srq()
142 attr->srq_limit : srq->limit) > attr->max_wr) in rvt_modify_srq()
221 srq->limit = attr->srq_limit; in rvt_modify_srq()
260 srq->limit = attr->srq_limit; in rvt_modify_srq()
285 attr->srq_limit = srq->limit; in rvt_query_srq()
/linux/fs/configfs/
H A Ditem.c51 int limit = CONFIGFS_ITEM_NAME_LEN; in config_item_set_name() local
60 need = vsnprintf(item->ci_namebuf, limit, fmt, args); in config_item_set_name()
62 if (need < limit) in config_item_set_name()
/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2x00mmio.c112 queue->limit * queue->desc_size, &dma, in rt2x00mmio_alloc_queue_dma()
120 for (i = 0; i < queue->limit; i++) { in rt2x00mmio_alloc_queue_dma()
137 queue->limit * queue->desc_size, in rt2x00mmio_free_queue_dma()

12345678910>>...57