Home
last modified time | relevance | path

Searched refs:elts (Results 1 – 5 of 5) sorted by relevance

/linux-4.4.14/lib/
Dlist_sort.c172 static struct debug_el **elts __initdata;
184 if (elts[ela->serial] != ela || elts[elb->serial] != elb) { in check()
221 elts = kcalloc(TEST_LIST_LEN, sizeof(*elts), GFP_KERNEL); in list_sort_test()
222 if (!elts) { in list_sort_test()
238 elts[i] = el; in list_sort_test()
288 kfree(elts[i]); in list_sort_test()
289 kfree(elts); in list_sort_test()
/linux-4.4.14/drivers/gpu/drm/r128/
Dr128_state.c1376 drm_r128_indices_t *elts = data; in r128_cce_indices() local
1384 elts->idx, elts->start, elts->end, elts->discard); in r128_cce_indices()
1386 if (elts->idx < 0 || elts->idx >= dma->buf_count) { in r128_cce_indices()
1388 elts->idx, dma->buf_count - 1); in r128_cce_indices()
1391 if (elts->prim < 0 || in r128_cce_indices()
1392 elts->prim > R128_CCE_VC_CNTL_PRIM_TYPE_TRI_TYPE2) { in r128_cce_indices()
1393 DRM_ERROR("buffer prim %d\n", elts->prim); in r128_cce_indices()
1400 buf = dma->buflist[elts->idx]; in r128_cce_indices()
1409 DRM_ERROR("sending pending buffer %d\n", elts->idx); in r128_cce_indices()
1413 count = (elts->end - elts->start) / sizeof(u16); in r128_cce_indices()
[all …]
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_state.c2341 drm_radeon_indices_t *elts = data; in radeon_cp_indices() local
2350 DRM_CURRENTPID, elts->idx, elts->start, elts->end, in radeon_cp_indices()
2351 elts->discard); in radeon_cp_indices()
2353 if (elts->idx < 0 || elts->idx >= dma->buf_count) { in radeon_cp_indices()
2355 elts->idx, dma->buf_count - 1); in radeon_cp_indices()
2358 if (elts->prim < 0 || elts->prim > RADEON_PRIM_TYPE_3VRT_LINE_LIST) { in radeon_cp_indices()
2359 DRM_ERROR("buffer prim %d\n", elts->prim); in radeon_cp_indices()
2366 buf = dma->buflist[elts->idx]; in radeon_cp_indices()
2374 DRM_ERROR("sending pending buffer %d\n", elts->idx); in radeon_cp_indices()
2378 count = (elts->end - elts->start) / sizeof(u16); in radeon_cp_indices()
[all …]
/linux-4.4.14/drivers/md/
Ddm-cache-policy-cleaner.c83 static int alloc_hash(struct hash *hash, unsigned elts) in alloc_hash() argument
85 hash->nr_buckets = next_power(elts >> 4, 16); in alloc_hash()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dp2p.c166 u8 elts[1]; member
185 u8 elts[1]; member
1615 offsetof(struct brcmf_p2p_pub_act_frame, elts); in brcmf_p2p_pub_af_tx()
1616 if (cfg80211_get_p2p_attr(&act_frm->elts[0], ie_len, in brcmf_p2p_pub_af_tx()