/linux-master/fs/exfat/ |
H A D | cache.c | 242 unsigned int limit = sbi->num_clusters; local 283 if (*fclus > limit) {
|
/linux-master/arch/x86/xen/ |
H A D | setup.c | 502 unsigned long limit; local 504 limit = MAXMEM / PAGE_SIZE; 506 limit = GB(512) / PAGE_SIZE; 508 return limit; 513 unsigned long max_pages, limit; local 517 limit = xen_get_pages_limit(); 518 max_pages = limit; 535 return min(max_pages, limit);
|
/linux-master/drivers/misc/mei/ |
H A D | gsc-me.c | 39 u32 limit = (resource_size(mem) / SZ_4K) | GSC_EXT_OP_MEM_VALID; local 43 iowrite32(limit, hw->mem_addr + H_GSC_EXT_OP_MEM_LIMIT_REG);
|
/linux-master/drivers/staging/rtl8723bs/core/ |
H A D | rtw_ieee80211.c | 135 index: the information element id index, limit is the limit for search 137 u8 *rtw_get_ie(u8 *pbuf, signed int index, signed int *len, signed int limit) argument 142 if (limit < 1) 156 if (i >= limit) 165 * @in_len: Length limit from in_ie 354 unsigned char *rtw_get_wpa_ie(unsigned char *pie, int *wpa_ie_len, int limit) argument 360 int limit_new = limit; 389 limit_new = limit - (pbuf - pie) - 2 - len; 402 unsigned char *rtw_get_wpa2_ie(unsigned char *pie, int *rsn_ie_len, int limit) argument [all...] |
/linux-master/arch/s390/boot/ |
H A D | kaslr.c | 46 int get_random(unsigned long limit, unsigned long *value) argument 90 *value = random % limit;
|
/linux-master/include/linux/ |
H A D | hid.h | 1047 unsigned int limit = 0; local 1052 limit = ABS_MAX; 1056 limit = REL_MAX; 1060 limit = KEY_MAX; 1064 limit = LED_MAX; 1068 limit = MSC_MAX; 1072 if (unlikely(c > limit || !bmap)) { 1081 *max = limit;
|
/linux-master/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_hw_util.h | 53 * @ limit: limit value 68 uint16_t limit; member in struct:dpu_hw_scaler3_de_cfg 205 * @limit: Detail enhancer limit factor 220 uint16_t limit; member in struct:dpu_drm_de_v1
|
/linux-master/drivers/ntb/hw/intel/ |
H A D | ntb_hw_gen4.c | 345 u64 base, limit, reg_val; local 383 /* Set the limit if supported, if size is not mw_size */ 385 limit = base + size; 388 limit = base + mw_size; 403 /* set and verify setting the limit */ 404 iowrite64(limit, mmio + limit_reg); 406 if (reg_val != limit) {
|
/linux-master/drivers/char/tpm/ |
H A D | tpm_tis_i2c_cr50.c | 542 size_t burstcnt, limit, sent = 0; local 579 limit = min_t(size_t, burstcnt - 1, len); 580 rc = tpm_cr50_i2c_write(chip, TPM_I2C_DATA_FIFO(0), &buf[sent], limit); 586 sent += limit; 587 len -= limit;
|
/linux-master/fs/nfsd/ |
H A D | nfscache.c | 70 unsigned int limit; local 73 limit = (16 * int_sqrt(low_pages)) << (PAGE_SHIFT-10); 74 return min_t(unsigned int, limit, 256*1024); 82 nfsd_hashsize(unsigned int limit) argument 84 return roundup_pow_of_two(limit / TARGET_BUCKET_SIZE); 261 * If @max is zero, do not limit the number of removed entries. 319 * has not exceeded it's max_drc_entries limit.
|
/linux-master/drivers/char/hw_random/ |
H A D | n2-drv.c | 525 int err, matches, limit; local 540 for (limit = 0; limit < SELFTEST_LOOPS_MAX; limit++) { 548 if (limit >= SELFTEST_LOOPS_MAX) {
|
/linux-master/net/sched/ |
H A D | sch_hhf.c | 132 * limit was hit 402 if (++sch->q.qlen <= sch->limit) 537 WRITE_ONCE(sch->limit, nla_get_u32(tb[TCA_HHF_BACKLOG_LIMIT])); 566 while (sch->q.qlen > sch->limit) { 584 sch->limit = 1000; 664 if (nla_put_u32(skb, TCA_HHF_BACKLOG_LIMIT, READ_ONCE(sch->limit)) ||
|
/linux-master/arch/parisc/mm/ |
H A D | init.c | 86 unsigned long limit; local 90 limit = MAX_MEM; 94 limit = memparse(cp, &end); 106 if (limit < mem_limit) 107 mem_limit = limit; 187 * For 32 bit kernels we limit the amount of memory we can 190 * limit the memory, but this mechanism can be used to 191 * artificially limit the amount of memory (and it is written
|
/linux-master/mm/ |
H A D | sparse.c | 336 unsigned long goal, limit; local 349 limit = goal + (1UL << PA_SECTION_SHIFT); 352 usage = memblock_alloc_try_nid(size, SMP_CACHE_BYTES, goal, limit, nid); 353 if (!usage && limit) { 354 limit = 0;
|
/linux-master/net/9p/ |
H A D | trans_virtio.c | 74 /* This is global limit. Since we don't have a global structure, 160 * @limit: maximum segment to pack data to 171 int limit, char *data, int count) 180 BUG_ON(index >= limit); 210 * @limit: maximum number of pages in sg list. 217 pack_sg_list_p(struct scatterlist *sg, int start, int limit, argument 224 BUG_ON(nr_pages > (limit - start)); 233 BUG_ON(index >= limit); 652 /* Ceiling limit to avoid denial of service attacks */ 170 pack_sg_list(struct scatterlist *sg, int start, int limit, char *data, int count) argument
|
/linux-master/drivers/net/ethernet/rdc/ |
H A D | r6040.c | 202 int limit = MAC_DEF_TIMEOUT; local 207 while (limit--) { 214 if (limit < 0) 224 int limit = MAC_DEF_TIMEOUT; local 231 while (limit--) { 238 return (limit < 0) ? -ETIMEDOUT : 0; 359 int limit = MAC_DEF_TIMEOUT; local 364 while (limit--) { 509 static int r6040_rx(struct net_device *dev, int limit) argument 518 while (count < limit [all...] |
/linux-master/drivers/staging/media/atomisp/pci/runtime/debug/src/ |
H A D | ia_css_debug.c | 807 int limit = SH_CSS_NUM_SP_DEBUG; 812 for (i = base; i < limit; i += step) { 1677 int i, j, max_trace_points, point_num, limit = -1; local 1744 if ((limit == (-1)) && (trace_read_buf[i] == 0)) 1745 limit = i; 1767 if ((limit == point_num - 1) || 1769 (trace_read_buf[limit + 1] == 1771 limit = 0; 1772 /* overrun: limit is the first non-zero after the first zero */ 1774 limit [all...] |
/linux-master/drivers/net/ethernet/sun/ |
H A D | cassini.c | 383 int limit = STOP_TRIES_PHY; local 392 while (limit-- > 0) { 403 int limit = STOP_TRIES_PHY; local 414 while (limit-- > 0) { 772 int limit = STOP_TRIES_PHY; local 777 while (--limit) { 783 return limit <= 0; 933 int limit; local 947 limit = STOP_TRIES; 948 while (--limit > 1811 cas_tx_ringN(struct cas *cp, int ring, int limit) argument 1886 int limit, ring; local 3694 int limit; local 4430 int limit = STOP_TRIES; local [all...] |
/linux-master/drivers/usb/gadget/udc/ |
H A D | dummy_hcd.c | 1202 * if the 16 stream limit is about to go, the array size should be incremented 1402 struct dummy_ep *ep, int limit, int *status) 1438 if (limit < ep->ep.maxpacket && limit < len) 1440 len = min_t(unsigned, len, limit); 1460 limit -= len; 1537 int limit = ep->ep.maxpacket; local 1545 limit += limit * tmp; 1551 limit 1401 transfer(struct dummy_hcd *dum_hcd, struct urb *urb, struct dummy_ep *ep, int limit, int *status) argument 1788 int limit, total; local [all...] |
/linux-master/net/openvswitch/ |
H A D | conntrack.c | 91 u32 limit; member in struct:ovs_ct_limit 895 return ct_limit->limit; 950 "exceeds conntrack limit\n", 1652 info->default_limit = zone_limit->limit; 1666 ct_limit->limit = zone_limit->limit; 1678 OVS_NLERR(true, "set zone limit has %d unknown bytes", rem); 1713 OVS_NLERR(true, "del zone limit has %d unknown bytes", rem); 1723 .limit = info->default_limit, 1731 u16 zone_id, u32 limit, 1729 __ovs_ct_limit_get_zone_limit(struct net *net, struct nf_conncount_data *data, u16 zone_id, u32 limit, struct sk_buff *reply) argument 1754 u32 limit; local [all...] |
/linux-master/lib/ |
H A D | xarray.c | 129 unsigned int limit = xas->xa_offset + xas->xa_sibs + 1; local 136 if (find_next_bit(marks, limit, xas->xa_offset + 1) == limit) 1826 * @limit: Range for allocated ID. 1830 * Finds an empty entry in @xa between @limit.min and @limit.max, 1840 * -EBUSY if there are no free entries in @limit. 1843 struct xa_limit limit, gfp_t gfp) 1856 xas.xa_index = limit.min; 1857 xas_find_marked(&xas, limit 1842 __xa_alloc(struct xarray *xa, u32 *id, void *entry, struct xa_limit limit, gfp_t gfp) argument 1894 __xa_alloc_cyclic(struct xarray *xa, u32 *id, void *entry, struct xa_limit limit, u32 *next, gfp_t gfp) argument [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cudbg_lib.c | 552 meminfo_buff->mem[i].limit = 0; 563 meminfo_buff->avail[i].limit = 574 meminfo_buff->avail[i].limit = 586 meminfo_buff->avail[i].limit = 597 meminfo_buff->avail[i].limit = 608 meminfo_buff->avail[i].limit = 619 meminfo_buff->avail[i].limit = 645 md->limit = md->base - 1 + 651 md->limit = md->base - 1 + 665 md->limit [all...] |
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | scan.c | 362 u16 limit; local 401 limit = (limits[1] * 98) / 100 - IWL_CHANNEL_TUNE_TIME * 2; 402 limit /= 2; 403 dwell_time = min(limit, dwell_time); 406 limit = (limits[0] * 98) / 100 - IWL_CHANNEL_TUNE_TIME * 2; 407 limit /= n_active; 408 return min(limit, dwell_time);
|
/linux-master/drivers/misc/sgi-gru/ |
H A D | grukservices.c | 120 void *limit; member in struct:message_queue 556 mq->limit = &mq->data + (qlines - 2) * GRU_CACHE_LINE_BYTES; 641 unsigned int limit, head; local 648 limit = gru_get_amo_value_limit(cb); 651 half = (limit != qlines); 668 if (head != limit) { 851 if (next == mq->limit) {
|
/linux-master/drivers/edac/ |
H A D | i5000_edac.c | 1135 u16 limit; local 1164 limit = (pvt->mir0 >> 4) & 0x0FFF; 1167 edac_dbg(2, "MIR0: limit= 0x%x WAY1= %u WAY0= %x\n", 1168 limit, way1, way0); 1169 limit = (pvt->mir1 >> 4) & 0x0FFF; 1172 edac_dbg(2, "MIR1: limit= 0x%x WAY1= %u WAY0= %x\n", 1173 limit, way1, way0); 1174 limit = (pvt->mir2 >> 4) & 0x0FFF; 1177 edac_dbg(2, "MIR2: limit= 0x%x WAY1= %u WAY0= %x\n", 1178 limit, way [all...] |