Searched refs:used (Results 101 - 125 of 632) sorted by relevance

1234567891011>>

/linux-master/drivers/infiniband/hw/hfi1/
H A Daffinity.h19 /* Can be used for both memory and cpu */
29 struct cpumask used; member in struct:cpu_mask_set
56 /* Release a CPU used by a user process. */
H A Ddebugfs.c486 static void check_dyn_flag(u64 scratch0, char *p, int size, int *used, argument
493 *used += scnprintf(p + *used, size - *used,
509 int used; local
515 used = 0;
521 used += scnprintf(tmp + used, size - used,
526 used
[all...]
/linux-master/tools/testing/selftests/sgx/
H A Ddefines.h16 #define __used __attribute__((used))
/linux-master/fs/bcachefs/
H A Dbuckets_types.h71 u64 used; member in struct:bch_fs_usage_short
H A Dclock.c29 for (i = 0; i < clock->timers.used; i++)
44 for (i = 0; i < clock->timers.used; i++)
137 if (clock->timers.used &&
164 for (i = 0; i < clock->timers.used; i++)
/linux-master/fs/xfs/libxfs/
H A Dxfs_ialloc_btree.h28 * (note that some of these may appear unused, but they are used in userspace)
66 xfs_extlen_t *ask, xfs_extlen_t *used);
H A Dxfs_refcount_btree.h27 * (note that some of these may appear unused, but they are used in userspace)
61 xfs_extlen_t *used);
H A Dxfs_rmap_btree.h21 * (note that some of these may appear unused, but they are used in userspace)
59 struct xfs_perag *pag, xfs_extlen_t *ask, xfs_extlen_t *used);
/linux-master/fs/xfs/scrub/
H A Dnewbt.h26 /* How much of this reservation has been used. */
27 xfs_extlen_t used; member in struct:xrep_newbt_resv
/linux-master/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec.h42 * @used: Capture buffer contain decoded frame data and keep in
56 bool used; member in struct:mtk_video_dec_buf
/linux-master/scripts/
H A Dinsert-sys-cert.c7 * This software may be used and distributed according to the terms
284 int *used; local
381 used = (int *)used_sym.content;
389 if (cert_size == *used &&
395 if (*used > 0)
403 *lsize = *lsize + cert_size - *used;
404 *used = cert_size;
407 info("Used %d bytes out of %d bytes reserved.\n", *used,
/linux-master/sound/pci/hda/
H A Dhda_jack.c78 for (i = 0; i < codec->jacktbl.used; i++, jack++)
100 for (i = 0; i < codec->jacktbl.used; i++, jack++)
115 for (i = 0; i < codec->jacktbl.used; i++, jack++)
155 jack->tag = codec->jacktbl.used;
166 for (i = 0; i < codec->jacktbl.used; i++, jack++) {
177 for (i = 0; i < codec->jacktbl.used; i++, jack++) {
238 for (i = 0; i < codec->jacktbl.used; i++, jack++)
409 * This function is used in the case of key is generated from one NID while is
476 for (i = 0; i < codec->jacktbl.used; i++, jack++)
484 for (i = 0; i < codec->jacktbl.used;
[all...]
/linux-master/drivers/md/bcache/
H A Dutil.h35 size_t size, used; \
42 (heap)->used = 0; \
61 for (; _j * 2 + 1 < (h)->used; _j = _r) { \
63 if (_r + 1 < (h)->used && \
88 size_t _i = (h)->used++; \
99 bool _r = (h)->used; \
102 (h)->used--; \
103 heap_swap(h, 0, (h)->used); \
109 #define heap_peek(h) ((h)->used ? (h)->data[0] : NULL)
111 #define heap_full(h) ((h)->used
[all...]
/linux-master/lib/
H A Dtest_parman.c15 * contributors may be used to endorse or promote products derived from
74 bool used; member in struct:test_parman_item
209 if (!item->used)
280 if (!item->used) {
295 item->used = !item->used;
344 pr_err("Number of used items in array does not match (%u != %u)\n",
/linux-master/arch/x86/crypto/
H A Dpoly1305_glue.c171 unsigned int bytes, used; local
190 used = crypto_poly1305_setdctxkey(dctx, src, bytes);
191 if (likely(bytes - used))
192 poly1305_simd_blocks(&dctx->h, src + used, bytes - used, 1);
/linux-master/drivers/net/netdevsim/
H A Dipsec.c39 if (!sap->used)
77 if (!ipsec->sa[i].used)
166 sa.used = true;
207 if (!ipsec->sa[sa_idx].used) {
265 if (unlikely(!tsa->used)) {
/linux-master/security/selinux/
H A Davc.c175 return scnprintf(page, PAGE_SIZE, "entries: %d\nbuckets used: %d/%d\n"
204 (xpd->used & XPERMS_ALLOWED))
207 (xpd->used & XPERMS_AUDITALLOW))
210 (xpd->used & XPERMS_DONTAUDIT))
257 dest->used = src->used;
258 if (dest->used & XPERMS_ALLOWED)
261 if (dest->used & XPERMS_AUDITALLOW)
264 if (dest->used & XPERMS_DONTAUDIT)
283 dest->used
[all...]
/linux-master/drivers/mtd/ubi/
H A Dwl.c14 * eraseblocks are of two types - used and free. Used physical eraseblocks are
26 * The wear-leveling is ensured by means of moving the contents of used
38 * "free" or "used". Free eraseblock are kept in the @wl->free RB-tree, while
39 * used eraseblocks are kept in @wl->used, @wl->erroneous, or @wl->scrub
45 * @wl->used tree. There is a protection queue in between where this
63 * used. The former state corresponds to the @wl->free tree. The latter state
65 * o the WL movement is allowed (@wl->used tree);
71 * Depending on the sub-state, wear-leveling entries of the used physical
100 * exceeded, the WL sub-system starts moving data from used physica
[all...]
/linux-master/fs/ntfs3/
H A Dfslog.c30 __le32 page_size; // 0x14: Log page size used for this log file.
95 __le16 used; // 0x02: Entries member in struct:RESTART_TABLE
236 /* This is used to uniquely identify a client for a particular log file. */
383 return le16_to_cpu(rt->used) * le16_to_cpu(rt->size) +
719 u16 ne = le16_to_cpu(rt->used);
750 * sure none of the entries are currently being used.
791 static inline struct RESTART_TABLE *init_rsttbl(u16 esize, u16 used) argument
795 u32 bytes = esize * used + sizeof(struct RESTART_TABLE);
796 u32 lf = sizeof(struct RESTART_TABLE) + (used - 1) * esize;
803 t->used
823 u32 used = le16_to_cpu(tbl->used); local
2581 u32 min_de, de_off, used, total; local
2893 u32 used = le32_to_cpu(hdr->used); local
2919 u32 used = le32_to_cpu(rec->used); local
3033 u32 nsize, t32, asize, used, esize, off, bits; local
[all...]
/linux-master/drivers/vhost/
H A Dvhost.c50 #define vhost_avail_event(vq) ((__virtio16 __user *)&vq->used->ring[vq->num])
359 return vq->avail && vq->desc && vq->used && vhost_vq_access_ok(vq);
369 vq->used = NULL;
494 return size_add(struct_size(vq->used, ring, num), event);
1237 return vhost_copy_to_user(vq, vq->used->ring + idx, head,
1245 &vq->used->flags);
1252 &vq->used->idx);
1321 return vhost_get_used(vq, *idx, &vq->used->idx);
1594 vring_used_t __user *used)
1604 access_ok(used, vhost_get_used_siz
1591 vq_access_ok(struct vhost_virtqueue *vq, unsigned int num, vring_desc_t __user *desc, vring_avail_t __user *avail, vring_used_t __user *used) argument
2263 void __user *used; local
2284 void __user *used; local
2659 vring_used_elem_t __user *used; local
2674 count * sizeof *used); local
[all...]
/linux-master/drivers/net/ethernet/intel/ixgbevf/
H A Dipsec.c116 if (r->used) {
123 if (t->used) {
150 if (!ipsec->rx_tbl[i].used)
159 if (!ipsec->tx_tbl[i].used)
306 rsa.used = true;
360 tsa.used = true;
406 if (!ipsec->rx_tbl[sa_idx].used) {
419 if (!ipsec->tx_tbl[sa_idx].used) {
496 if (unlikely(!tsa->used)) {
/linux-master/drivers/staging/media/atomisp/i2c/
H A Dgc2235.h134 bool used; member in struct:gc2235_resolution
530 .used = 0,
543 .used = 0,
555 .used = 0,
578 .used = 0,
590 .used = 0,
602 .used = 0,
620 .used = 0,
632 .used = 0,
/linux-master/drivers/pci/hotplug/
H A Dcpqphp_nvram.c96 static u32 add_byte(u32 **p_buffer, u8 value, u32 *used, u32 *avail) argument
100 if ((*used + 1) > *avail)
106 *used += 1;
111 static u32 add_dword(u32 **p_buffer, u32 value, u32 *used, u32 *avail) argument
113 if ((*used + 4) > *avail)
118 *used += 4;
/linux-master/drivers/net/ethernet/freescale/fman/
H A Dfman_keygen.c97 * These values are used as hard-coded values for KeyGen configuration
123 /* Default values to be used as hash key in case IPv4 or L4 (TCP, UDP)
198 bool used; /* Specifies if this scheme is used */ member in struct:keygen_scheme
208 * If hash is used and an even distribution is
411 * Find the first free scheme available to be used
423 if (!keygen->schemes[i].used) {
473 if (!scheme->used) {
523 if (enable && scheme->used) {
524 pr_err("The requested Scheme is already used\
[all...]
/linux-master/tools/perf/util/
H A Dcgroup.c23 /* used to match cgroup name with patterns */
26 bool used; member in struct:cgroup_name
228 cn->used = false;
292 /* these groups will be used */
294 cn->used = true;
341 cn->used = true;
349 cn->used = true;
461 if (!cn->used)

Completed in 221 milliseconds

1234567891011>>