/linux-master/samples/bpf/ |
H A D | tracex3_user.c | 80 __u64 cnt[SLOTS]; local 90 cnt[key] = value; 97 int c = num_colors * cnt[key] / (max_cnt + 1);
|
/linux-master/drivers/net/ethernet/8390/ |
H A D | zorro8390.c | 110 int cnt; local 133 for (cnt = 0; cnt < sizeof(struct e8390_pkt_hdr) >> 1; cnt++) 155 int cnt; local 174 for (cnt = 0; cnt < count >> 1; cnt++) 190 int cnt; local 221 for (cnt [all...] |
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx_lib.h | 24 u32 cnt = rx_ring->count; local 31 if (++idx == cnt) 41 idx = cnt - 1;
|
/linux-master/kernel/bpf/ |
H A D | memalloc.c | 206 static void alloc_bulk(struct bpf_mem_cache *c, int cnt, int node, bool atomic) argument 216 for (i = 0; i < cnt; i++) { 227 if (i >= cnt) 230 for (; i < cnt; i++) { 236 if (i >= cnt) 241 for (; i < cnt; i++) { 270 int cnt = 0; local 274 cnt++; 276 return cnt; 342 int cnt; local 434 int cnt; local 494 int cnt = 1; local 790 int cnt = 0; local 833 int cnt = 0; local [all...] |
/linux-master/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_calendar.c | 395 s32 cnt; local 419 cnt = 0; 446 cnt += 100000; 450 cnt > 0) { 454 cnt -= tgt_score; 481 int cnt, max_dist; local 510 cnt = distances[idx] - max_dist; 511 if (cnt < 0) 512 cnt = -cnt; [all...] |
/linux-master/drivers/ptp/ |
H A D | ptp_sysfs.c | 54 int cnt, enable; local 57 cnt = sscanf(buf, "%u %d", &req.extts.index, &enable); 58 if (cnt != 2) 81 int cnt = 0; local 83 cnt = list_count_nodes(&ptp->tsevqs); 84 if (cnt <= 0) 104 cnt = sysfs_emit(page, "%u %lld %u\n", 107 return cnt; 118 int cnt, enable, err = -EINVAL; local 120 cnt 146 int cnt, enable; local 419 int cnt, err, index; local [all...] |
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
H A D | hw.c | 1745 u32 path, addr = EEPROM_TX_PWR_INX, group, cnt = 0; local 1762 for (cnt = 0; cnt < MAX_TX_COUNT; cnt++) { 1763 if (cnt == 0) { 1767 pw2g->bw20_diff[path][cnt] = 0xFE; 1768 pw2g->bw40_diff[path][cnt] = 0xFE; 1769 pw2g->cck_diff[path][cnt] = 0xFE; 1770 pw2g->ofdm_diff[path][cnt] = 0xFE; 1790 for (cnt [all...] |
/linux-master/drivers/net/dsa/realtek/ |
H A D | rtl8365mb.c | 1336 u64 cnt[RTL8365MB_MIB_END] = { local 1368 if (!cnt[i]) 1372 mib->length, &cnt[i]); 1384 mac_stats->FramesTransmittedOK = cnt[RTL8365MB_MIB_ifOutUcastPkts] + 1385 cnt[RTL8365MB_MIB_ifOutMulticastPkts] + 1386 cnt[RTL8365MB_MIB_ifOutBroadcastPkts] + 1387 cnt[RTL8365MB_MIB_dot3OutPauseFrames] - 1388 cnt[RTL8365MB_MIB_ifOutDiscards]; 1390 cnt[RTL8365MB_MIB_dot3StatsSingleCollisionFrames]; 1392 cnt[RTL8365MB_MIB_dot3StatsMultipleCollisionFrame 1436 u64 cnt[RTL8365MB_MIB_END] = { local [all...] |
/linux-master/drivers/acpi/ |
H A D | acpi_adxl.c | 106 int i, cnt; local 122 cnt = r->package.count; 123 if (cnt != adxl_count) { 129 for (i = 0; i < cnt; i++)
|
/linux-master/tools/lib/subcmd/ |
H A D | help.h | 10 size_t cnt; member in struct:cmdnames
|
/linux-master/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-io.h | 64 int pvr2_buffer_set_buffer(struct pvr2_buffer *,void *ptr,unsigned int cnt);
|
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/ |
H A D | cstep.h | 5 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz);
|
H A D | P0260.h | 5 u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *xnr, u8 *xsz);
|
H A D | pmu.h | 7 u32 nvbios_pmuTe(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
|
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_nffw.c | 221 unsigned int cnt, i; local 223 cnt = nffw_res_fwinfos(&state->fwinf, &fwinfo); 224 if (!cnt) 227 for (i = 0; i < cnt; i++)
|
/linux-master/arch/arm64/include/asm/ |
H A D | string.h | 48 void memcpy_flushcache(void *dst, const void *src, size_t cnt);
|
/linux-master/include/linux/platform_data/ |
H A D | sh_mmcif.h | 102 int cnt; local 104 for (cnt = 0; cnt < 1000000; cnt++) {
|
/linux-master/fs/ubifs/ |
H A D | tnc_commit.c | 328 * @cnt: number of znodes to commit 330 * This function returns the number of empty LEBs needed to commit @cnt znodes 334 static int get_leb_cnt(struct ubifs_info *c, int cnt) argument 339 cnt -= (c->leb_size - c->ihead_offs) / c->max_idx_node_sz; 340 if (cnt < 0) 341 cnt = 0; 343 return DIV_ROUND_UP(cnt, d); 349 * @cnt: number of dirty znodes to commit. 356 static int layout_in_gaps(struct ubifs_info *c, int cnt) argument 360 dbg_gc("%d znodes to write", cnt); 568 layout_commit(struct ubifs_info *c, int no_space, int cnt) argument 645 int cnt = 0; local 683 alloc_idx_lebs(struct ubifs_info *c, int cnt) argument 760 int err = 0, cnt; local [all...] |
/linux-master/tools/testing/memblock/tests/ |
H A D | common.c | 42 memblock.memory.cnt * sizeof(struct memblock_region)); 43 memblock.memory.cnt = 1; 48 memblock.reserved.cnt * sizeof(struct memblock_region)); 49 memblock.reserved.cnt = 1;
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | tc_conntrack.h | 50 struct efx_tc_counter *cnt; member in struct:efx_tc_ct_entry
|
H A D | tc_conntrack.c | 55 efx_tc_flower_release_counter(efx, conn->cnt); 360 struct efx_tc_counter *cnt; local 428 cnt = efx_tc_flower_allocate_counter(efx, EFX_TC_COUNTER_TYPE_CT); 429 if (IS_ERR(cnt)) { 430 rc = PTR_ERR(cnt); 433 conn->cnt = cnt; 446 if (conn->cnt) 447 efx_tc_flower_release_counter(efx, conn->cnt); 481 efx_tc_flower_release_counter(efx, conn->cnt); 513 struct efx_tc_counter *cnt; local [all...] |
/linux-master/drivers/dma/ti/ |
H A D | k3-udma-private.c | 79 int xudma_alloc_gp_rflow_range(struct udma_dev *ud, int from, int cnt) argument 81 return __udma_alloc_gp_rflow_range(ud, from, cnt); 85 int xudma_free_gp_rflow_range(struct udma_dev *ud, int from, int cnt) argument 87 return __udma_free_gp_rflow_range(ud, from, cnt);
|
/linux-master/drivers/platform/chrome/ |
H A D | cros_typec_vdm.c | 121 const u32 *vdo, int cnt) 132 vdm_req.vdm_data_objects = cnt; 133 for (i = 1; i < cnt; i++) 139 hdr, cnt, port->port_num); 120 cros_typec_port_amode_vdm(struct typec_altmode *amode, const u32 hdr, const u32 *vdo, int cnt) argument
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_lan_hmc.c | 97 full_obj->cnt = 0; 104 obj->cnt = txq_num; 119 full_obj->cnt += obj->cnt; 124 obj->cnt = rxq_num; 126 (hw->hmc.hmc_obj[I40E_HMC_LAN_TX].cnt * 142 full_obj->cnt += obj->cnt; 147 obj->cnt = fcoe_cntx_num; 149 (hw->hmc.hmc_obj[I40E_HMC_LAN_RX].cnt * [all...] |
/linux-master/lib/ |
H A D | lwq.c | 85 int cnt; local 88 for (cnt = 0; cnt < 10000; cnt++) {
|