/linux-master/drivers/edac/ |
H A D | i5400_edac.c | 1056 u16 limit; local 1084 limit = (pvt->mir0 >> 4) & 0x0fff; 1087 edac_dbg(2, "MIR0: limit= 0x%x WAY1= %u WAY0= %x\n", 1088 limit, way1, way0); 1089 limit = (pvt->mir1 >> 4) & 0xfff; 1092 edac_dbg(2, "MIR1: limit= 0x%x WAY1= %u WAY0= %x\n", 1093 limit, way1, way0);
|
H A D | i5100_edac.c | 308 u64 limit; member in struct:i5100_priv::__anon279 318 u64 limit; member in struct:i5100_priv::__anon280 802 priv->mir[0].limit = (u64) i5100_mir_limit(w) << 28; 807 priv->mir[1].limit = (u64) i5100_mir_limit(w) << 28; 824 priv->dmir[i][j].limit =
|
/linux-master/drivers/misc/ |
H A D | vmw_balloon.c | 617 * Return: zero on success, EINVAL if limit does not fit in 32-bit, as required 624 unsigned long limit; local 626 limit = totalram_pages(); 628 /* Ensure limit fits in 32-bits if 64-bit targets are not supported */ 630 limit != (u32)limit) 633 status = vmballoon_cmd(b, VMW_BALLOON_CMD_GET_TARGET, limit, 0); 1219 * but limit the deflated frames to a single chunk
|
/linux-master/tools/testing/selftests/iommu/ |
H A D | iommufd_utils.h | 577 static int _test_ioctl_set_temp_memory_limit(int fd, unsigned int limit) 582 .memory_limit = { .limit = limit }, 589 #define test_ioctl_set_temp_memory_limit(limit) \ 590 ASSERT_EQ(0, _test_ioctl_set_temp_memory_limit(self->fd, limit))
|
/linux-master/drivers/comedi/drivers/ |
H A D | comedi_test.c | 258 unsigned int arg, limit; local 327 /* limit convert_arg to keep scan_begin_arg in range */ 328 limit = UINT_MAX / cmd->scan_end_arg; 329 limit = rounddown(limit, (unsigned int)NSEC_PER_SEC); 330 arg = min(arg, limit); 463 /* determine scans in buffer, limit to scans to do this time */
|
/linux-master/drivers/net/wireless/intersil/p54/ |
H A D | main.c | 762 priv->tx_stats[P54_QUEUE_BEACON].limit = 1; 763 priv->tx_stats[P54_QUEUE_FWSCAN].limit = 1; 764 priv->tx_stats[P54_QUEUE_MGMT].limit = 3; 765 priv->tx_stats[P54_QUEUE_CAB].limit = 3; 766 priv->tx_stats[P54_QUEUE_DATA].limit = 5; 772 * here, but setting it correctly to 4/2 or so would limit us
|
/linux-master/drivers/ata/ |
H A D | libata-sata.c | 442 u32 limit, target, spd; local 444 limit = link->sata_spd_limit; 451 limit &= (1 << host_link->sata_spd) - 1; 453 if (limit == UINT_MAX) 456 target = fls(limit); 468 * Test whether the spd limit in SControl matches 490 * sata_set_spd - set SATA spd according to spd limit
|
/linux-master/drivers/net/wireless/ath/wil6210/ |
H A D | fw_inc.c | 204 const struct wil_fw_concurrency_limit *limit; local 221 limit = combo->limits; 222 lsize = combo->n_limits * sizeof(*limit); 226 limit += combo->n_limits; 227 combo = (struct wil_fw_concurrency_combo *)limit;
|
/linux-master/kernel/debug/ |
H A D | gdbstub.c | 407 unsigned char *limit; local 410 limit = id + (BUF_THREAD_ID_SIZE / 2); 411 while (id < limit) {
|
/linux-master/drivers/s390/net/ |
H A D | qeth_core_sys.c | 106 unsigned int portno, limit; local 121 limit = (card->ssqd.pcnt ? card->ssqd.pcnt - 1 : card->ssqd.pcnt); 122 if (portno > limit) {
|
/linux-master/arch/powerpc/kernel/ |
H A D | mce.c | 755 u64 limit; local 758 limit = min(ppc64_bolted_size(), ppc64_rma_size); 763 limit, early_cpu_to_node(i));
|
/linux-master/drivers/staging/rtl8723bs/include/ |
H A D | ieee80211.h | 736 u8 *rtw_get_ie(u8 *pbuf, signed int index, signed int *len, signed int limit); 742 unsigned char *rtw_get_wpa_ie(unsigned char *pie, int *wpa_ie_len, int limit); 743 unsigned char *rtw_get_wpa2_ie(unsigned char *pie, int *rsn_ie_len, int limit);
|
/linux-master/drivers/spi/ |
H A D | spi-bcmbca-hsspi.c | 223 unsigned long limit; local 231 limit = jiffies + msecs_to_jiffies(HSSPI_POLL_STATUS_TIMEOUT_MS); 233 while (!time_after(jiffies, limit)) {
|
/linux-master/drivers/infiniband/hw/qib/ |
H A D | qib_file_ops.c | 409 u32 limit; local 413 limit = sizeof(tidmap) * BITS_PER_BYTE; 414 if (limit > tidcnt) 416 limit = tidcnt; 417 tid = find_first_bit((const unsigned long *)tidmap, limit); 418 for (; tid < limit; tid++) { 487 u32 tid, ctxttid, limit, tidcnt; local 518 limit = sizeof(tidmap) * BITS_PER_BYTE; 519 if (limit > tidcnt) 521 limit [all...] |
/linux-master/arch/powerpc/platforms/pseries/ |
H A D | hotplug-memory.c | 181 struct drmem_lmb *limit; local 196 limit = &drmem_info->lmbs[drmem_info->n_lmbs]; 197 if (end > limit)
|
/linux-master/drivers/hwmon/ |
H A D | max6650.c | 151 int limit = DAC_LIMIT(v12); local 153 return limit - (limit * pwm) / 255;
|
/linux-master/fs/9p/ |
H A D | v9fs.c | 558 ssize_t n = 0, count = 0, limit = PAGE_SIZE; local 564 n = snprintf(buf, limit, "%s\n", v9ses->cachetag); 571 limit -= n;
|
/linux-master/net/sched/ |
H A D | act_police.c | 233 static bool tcf_police_mtu_check(struct sk_buff *skb, u32 limit) argument 238 return skb_gso_validate_mac_len(skb, limit); 244 return len <= limit;
|
/linux-master/drivers/md/ |
H A D | dm-log-userspace-base.c | 30 * This limit on the number of mark and clear request is, to a degree, 51 * so that we can group, and thereby limit, the amount of 62 * first zero bit of sync_bits. This can be useful for to limit 835 static unsigned long limit; local 851 else if (time_after(limit, jiffies)) 854 limit = jiffies + (HZ / 4);
|
/linux-master/arch/sparc/kernel/ |
H A D | ldc.c | 252 unsigned long limit, tail, new_tail, diff; local 255 limit = head_for_data(lp); 258 if (new_tail == limit) 261 if (limit > new_tail) 262 diff = limit - new_tail; 264 diff = (limit + 295 int limit = 1000; local 298 while (limit-- > 0) { 322 int limit = 1000; local 324 while (limit 1676 int limit = 1000; local [all...] |
H A D | pci_schizo.c | 382 int reported, limit; local 391 limit = 1000; 394 } while ((afsr & SCHIZO_UEAFSR_ERRPNDG) != 0 && --limit); 470 int reported, limit; local 479 limit = 1000; 482 } while ((afsr & SCHIZO_UEAFSR_ERRPNDG) != 0 && --limit); 1235 #define SCHIZO_PCIDIAG_D_RETRY (1UL << 6UL) /* Disable retry limit (Schizo/Tomatillo) */
|
/linux-master/tools/testing/selftests/kvm/ |
H A D | dirty_log_test.c | 277 uint32_t limit; local 289 limit = 1 << (31 - __builtin_clz(pages)); 291 test_dirty_ring_count = min(limit, test_dirty_ring_count);
|
/linux-master/mm/ |
H A D | util.c | 504 unsigned long locked_vm, limit; local 512 limit = task_rlimit(task, RLIMIT_MEMLOCK) >> PAGE_SHIFT; 513 if (locked_vm + pages > limit) 902 * Committed memory limit enforced when OVERCOMMIT_NEVER policy is used
|
/linux-master/block/partitions/ |
H A D | core.c | 103 state->limit = nr; 137 memset(state->parts, 0, state->limit * sizeof(state->parts[0])); 550 * example camera firmware, but we limit them to the end of the 622 for (p = 1; p < state->limit; p++)
|
/linux-master/drivers/gpu/drm/i915/gt/ |
H A D | selftest_rps.c | 407 int f, limit; local 450 limit = rps_set_check(rps, f); 463 max = rps_set_check(rps, limit); 473 pr_info("%s: range:[%x:%uMHz, %x:%uMHz] limit:[%x:%uMHz], %x:%x response %lluns:%lluns\n", 477 limit, intel_gpu_freq(rps, limit), 480 if (limit == rps->min_freq) {
|