/linux-master/drivers/dma/idxd/ |
H A D | init.c | 442 void multi_u64_to_bmap(unsigned long *bmap, u64 *val, int count) argument 446 for (i = 0, nr = 0; i < count; i++) {
|
H A D | debugfs.c | 16 u16 index, int *count, bool processed) 31 *count, index, processed); 54 *count += 1; 63 int count = 0; local 87 dump_event_entry(idxd, s, i, &count, processed); 15 dump_event_entry(struct idxd_device *idxd, struct seq_file *s, u16 index, int *count, bool processed) argument
|
/linux-master/drivers/dma/ |
H A D | idma64.c | 37 unsigned short count = 100; local 49 } while (dma_readl(idma64, CFG) & IDMA64_CFG_DMA_EN && --count); 424 unsigned short count = 100; local 437 } while (!(cfglo & IDMA64C_CFGL_FIFO_EMPTY) && --count);
|
/linux-master/arch/x86/kernel/ |
H A D | sev-shared.c | 60 u32 count; member in struct:snp_cpuid_table 366 for (i = 0; i < cpuid_table->count; i++) { 401 for (i = 0; i < cpuid_table->count; i++) { 537 if (!cpuid_table->count) 662 unsigned int count, 673 for (i = 0; i < count; i++) { 688 unsigned int count, 699 for (i = 0; i < count; i++) { 1063 if (!cpuid_table_fw->count || cpuid_table_fw->count > SNP_CPUID_COUNT_MA 659 vc_insn_string_read(struct es_em_ctxt *ctxt, void *src, char *buf, unsigned int data_size, unsigned int count, bool backwards) argument 685 vc_insn_string_write(struct es_em_ctxt *ctxt, void *dst, char *buf, unsigned int data_size, unsigned int count, bool backwards) argument [all...] |
/linux-master/tools/testing/selftests/ |
H A D | kselftest_harness.h | 1224 unsigned int count = 0; local 1256 count++; 1270 pass_count, count);
|
/linux-master/net/wireless/ |
H A D | trace.h | 2335 __field(u8, count) 2346 __entry->count = params->count; 2359 ", block_tx: %d, count: %u, radar_required: %d, link_id: %d", 2361 __entry->block_tx, __entry->count, __entry->radar_required, 2842 __field(u8, count) 2849 __entry->count = params->count; 2854 ", count: %u", 2856 __entry->count) [all...] |
H A D | nl80211.c | 9530 * First, count the number of 'real' matchsets. Due to an issue with 10151 params.count = cs_count; 10186 params.count, 10195 params.count, 15966 params.count = nla_get_u8(info->attrs[NL80211_ATTR_COLOR_CHANGE_COUNT]); 16005 if (params.beacon_color_change.tail[offset] != params.count) { 16026 params.count) { 17744 /* Userspace can always count this one always being set */ 19347 u8 count, bool quiet) 19374 if (nla_put_u32(msg, NL80211_ATTR_CH_SWITCH_COUNT, count)) 19341 nl80211_ch_switch_notify(struct cfg80211_registered_device *rdev, struct net_device *netdev, unsigned int link_id, struct cfg80211_chan_def *chandef, gfp_t gfp, enum nl80211_commands notif, u8 count, bool quiet) argument 19435 cfg80211_ch_switch_started_notify(struct net_device *dev, struct cfg80211_chan_def *chandef, unsigned int link_id, u8 count, bool quiet) argument 19456 cfg80211_bss_color_notify(struct net_device *dev, enum nl80211_commands cmd, u8 count, u64 color_bitmap) argument [all...] |
/linux-master/net/unix/ |
H A D | garbage.c | 109 /* Keep the number of times in flight count for the file 171 int nfd = UNIXCB(skb).fp->count;
|
/linux-master/net/tls/ |
H A D | tls_strp.c | 361 desc->count = 0; 376 desc.count = 1; /* give more than one skb per call */
|
/linux-master/net/openvswitch/ |
H A D | conntrack.c | 1742 zone_limit.count = nf_conncount_count(net, data, &conncount_key, NULL,
|
/linux-master/net/mac80211/ |
H A D | tx.c | 773 .count = ratetbl->rate[0].count 797 if (unlikely(!info->control.rates[0].count)) 798 info->control.rates[0].count = 1; 800 if (WARN_ON_ONCE((info->control.rates[0].count > 1) && 802 info->control.rates[0].count = 1; 2263 info->control.rates[i].count = 0; 2294 info->control.rates[0].count = min_t(u8, rate_retries + 1, 4989 u8 *beacon_data, count, max_count = 1; local 5015 count 5049 u8 count = 0; local [all...] |
H A D | mlme.c | 2051 ch_switch.count = csa_ie.count; 2177 link->link_id, csa_ie.count, 2187 timeout = TU_TO_JIFFIES((max_t(int, csa_ie.count, 1) - 1) * 2443 int count = 0; local 2457 * by setting the count to zero thereby setting 2460 count = 0; 2466 count++; 2469 if (count == 1 && ieee80211_powersave_allowed(found)) { 2745 int count, mu_edca_coun local [all...] |
H A D | rate.c | 223 size_t count, loff_t *ppos) 228 return simple_read_from_buffer(userbuf, count, ppos, 387 info->control.rates[0].count = 734 info->control.rates[i].count) { 741 rates[i].count = ratetbl->rate[i].count_rts; 743 rates[i].count = ratetbl->rate[i].count_cts; 745 rates[i].count = ratetbl->rate[i].count; 748 rates[i].count = 0; 751 if (rates[i].idx < 0 || !rates[i].count) 222 rcname_read(struct file *file, char __user *userbuf, size_t count, loff_t *ppos) argument [all...] |
H A D | mesh.c | 1041 bcn->cntdwn_current_counter = csa->settings.count; 1043 *pos++ = csa->settings.count; 1329 params.count = csa_ie.count;
|
/linux-master/net/bluetooth/ |
H A D | mgmt.c | 437 u16 count; local 444 count = 0; 448 count++; 451 rp_len = sizeof(*rp) + (2 * count); 458 count = 0; 473 rp->index[count++] = cpu_to_le16(d->id); 478 rp->num_controllers = cpu_to_le16(count); 479 rp_len = sizeof(*rp) + (2 * count); 497 u16 count; local 504 count 556 u16 count; local [all...] |
H A D | l2cap_core.c | 1265 int count; member in struct:l2cap_ecred_conn_data 1295 conn->pdu.scid[conn->count] = cpu_to_le16(chan->scid); 1297 conn->count++; 1322 data.count = 1; 1329 sizeof(data.pdu.req) + data.count * sizeof(__le16), 2172 int count, struct sk_buff *skb) 2178 if (!copy_from_iter_full(skb_put(skb, count), count, &msg->msg_iter)) 2181 sent += count; 2182 len -= count; 2170 l2cap_skbuff_fromiovec(struct l2cap_chan *chan, struct msghdr *msg, int len, int count, struct sk_buff *skb) argument 2219 int err, count, hlen = L2CAP_HDR_SIZE + L2CAP_PSMLEN_SIZE; local 2251 int err, count; local 2282 int err, count, hlen; local 2402 int err, count, hlen; local 2919 int len, count; local 3743 int count; member in struct:l2cap_ecred_rsp_data 6902 int count; member in struct:l2cap_chan_data [all...] |
H A D | hci_event.c | 4465 __u16 handle, count; local 4468 count = __le16_to_cpu(info->count); 4474 conn->sent -= count; 4478 hdev->acl_cnt += count; 4485 hdev->le_cnt += count; 4489 hdev->acl_cnt += count; 4496 hdev->sco_cnt += count; 4503 hdev->iso_cnt += count; 4507 hdev->le_cnt += count; [all...] |
H A D | hci_conn.c | 682 int count; member in struct:iso_list_data 700 d->count++; 773 d->count++; 795 if (!d->count) 798 d->count = 0; 805 if (!d->count) 871 d->count++; 895 if (d.count) 1701 data.count = 0; 1709 cp.num_bis = data.count; [all...] |
/linux-master/mm/ |
H A D | hugetlb.c | 105 if (spool->count) 141 spool->count = 1; 160 BUG_ON(!spool->count); 161 spool->count--; 568 * Calling this with regions_needed != NULL will count the number of pages 930 * usage count, and the global reserve count if needed. By incrementing 952 pr_warn("hugetlb: Huge Page Reserved count may go negative.\n"); 966 /* Locate each segment we overlap with, and count that overlap. */ 1254 * so, we should decrement reserved count 3692 try_to_free_low(struct hstate *h, unsigned long count, nodemask_t *nodes_allowed) argument 3724 try_to_free_low(struct hstate *h, unsigned long count, nodemask_t *nodes_allowed) argument 3764 set_max_huge_pages(struct hstate *h, unsigned long count, int nid, nodemask_t *nodes_allowed) argument 4082 __nr_hugepages_store_common(bool obey_mempolicy, struct hstate *h, int nid, unsigned long count, size_t len) argument 4120 unsigned long count; local 4174 nr_overcommit_hugepages_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 4302 demote_size_store(struct kobject *kobj, struct kobj_attribute *attr, const char *buf, size_t count) argument 4705 int count; local 5053 unsigned long count = h->nr_huge_pages; local 7750 int nid, count = 0; local [all...] |
/linux-master/lib/ |
H A D | stackdepot.c | 420 refcount_set(&stack->count, 1); 425 refcount_set(&stack->count, REFCOUNT_SATURATED); 461 if (WARN_ON(!refcount_read(&stack->count))) 572 if ((flags & STACK_DEPOT_FLAG_GET) && !refcount_inc_not_zero(&stack->count)) 741 if (refcount_dec_and_test(&stack->count))
|
/linux-master/include/net/ |
H A D | mac80211.h | 1070 * @count: number of tries in this rate before going to the next rate 1081 * if this array contains, in the format { <idx>, <count> } the 1099 u16 count:5, member in struct:ieee80211_tx_rate 1107 return rate->idx >= 0 && rate->count > 0; 1282 * @n_rates: Number of mrr stages (count of instances for @rates) 1337 * the count since you need to fill that in anyway). 1355 info->status.rates[i].count = 0; 1767 * @count: the number of TBTT's until the channel switch event 1778 u8 count; member in struct:ieee80211_channel_switch 2290 u8 count; member in struct:ieee80211_sta_rates::__anon112 7180 u8 count[IEEE80211_P2P_NOA_DESC_MAX]; member in struct:ieee80211_noa_data [all...] |
/linux-master/include/linux/ |
H A D | mm.h | 73 static inline void totalram_pages_add(long count) argument 75 atomic_long_add(count, &_totalram_pages); 1011 unsigned long count) 1013 return mas_expected_entries(&vmi->mas, count); 1117 * Methods to modify the page usage count. 1125 * Also, many kernel routines increase the page count before a critical 1382 * For the non-reserved pages, page_count(page) denotes a reference count. 1465 * folio_get - Increment the reference count on a folio. 1493 * folio_put - Decrement the reference count on a folio. 1496 * If the folio's reference count reache 1010 vma_iter_bulk_alloc(struct vma_iterator *vmi, unsigned long count) argument [all...] |
H A D | etherdevice.h | 59 #define alloc_etherdev_mq(sizeof_priv, count) alloc_etherdev_mqs(sizeof_priv, count, count)
|
/linux-master/fs/proc/ |
H A D | page.c | 43 * physical page count. 46 size_t count, loff_t *ppos) 57 if (src & KPMMASK || count & KPMMASK) 61 count = min_t(unsigned long, count, (max_dump_pfn * KPMSIZE) - src); 63 while (count > 0) { 82 count -= KPMSIZE; 227 size_t count, loff_t *ppos) 237 if (src & KPMMASK || count & KPMMASK) 241 count 45 kpagecount_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 226 kpageflags_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument 275 kpagecgroup_read(struct file *file, char __user *buf, size_t count, loff_t *ppos) argument [all...] |
/linux-master/fs/ntfs3/ |
H A D | super.c | 500 size_t count, loff_t *ppos) 504 ssize_t ret = count; 510 label = kmalloc(count, GFP_NOFS); 530 *ppos += count; 531 ret = count; 1864 pr_info("ntfs3: Max link count %u\n", NTFS_LINK_MAX); 499 ntfs3_label_write(struct file *file, const char __user *buffer, size_t count, loff_t *ppos) argument
|