/kernel/linux/linux-5.10/tools/testing/selftests/arm64/pauth/ |
D | pac.c | 56 int n_same(struct signatures *old, struct signatures *new, int nkeys) in n_same() argument 64 if (nkeys == NKEYS) in n_same() 70 int n_same_single_set(struct signatures *sign, int nkeys) in n_same_single_set() argument 72 size_t vals[nkeys]; in n_same_single_set() 80 if (nkeys >= 4) in n_same_single_set() 83 for (int i = 0; i < nkeys - 1; i++) { in n_same_single_set() 84 for (int j = i + 1; j < nkeys; j++) { in n_same_single_set() 255 int nkeys = NKEYS; in TEST() local 264 nkeys = NKEYS - 1; in TEST() 277 if (nkeys == NKEYS) in TEST() [all …]
|
/kernel/linux/linux-5.10/net/sched/ |
D | cls_flow.c | 46 u32 nkeys; member 316 for (n = 0; n < f->nkeys; n++) { in flow_classify() 323 classid = jhash2(keys, f->nkeys, f->hashrnd); in flow_classify() 397 unsigned int nkeys = 0; in flow_change() local 421 nkeys = hweight32(keymask); in flow_change() 422 if (nkeys == 0) in flow_change() 459 fnew->nkeys = fold->nkeys; in flow_change() 473 if (mode != FLOW_MODE_HASH && nkeys > 1) in flow_change() 493 if (mode != FLOW_MODE_HASH && nkeys > 1) in flow_change() 522 fnew->nkeys = nkeys; in flow_change()
|
D | act_pedit.c | 174 if (!parm->nkeys) { in tcf_pedit_init() 178 ksize = parm->nkeys * sizeof(struct tc_pedit_key); in tcf_pedit_init() 184 keys_ex = tcf_pedit_keys_ex_parse(tb[TCA_PEDIT_KEYS_EX], parm->nkeys); in tcf_pedit_init() 219 (p->tcfp_nkeys && p->tcfp_nkeys != parm->nkeys)) { in tcf_pedit_init() 228 p->tcfp_nkeys = parm->nkeys; in tcf_pedit_init() 439 opt->nkeys = p->tcfp_nkeys; in tcf_pedit_dump()
|
D | cls_u32.c | 148 for (i = n->sel.nkeys; i > 0; i--, key++) { in u32_classify() 803 new = kzalloc(struct_size(new, sel.keys, s->nkeys), GFP_KERNEL); in u32_init_knode() 835 memcpy(&new->sel, s, struct_size(s, keys, s->nkeys)); in u32_init_knode() 1020 sel_size = struct_size(s, keys, s->nkeys); in u32_change() 1026 n = kzalloc(struct_size(n, sel.keys, s->nkeys), GFP_KERNEL); in u32_change() 1033 n->pf = __alloc_percpu(struct_size(n->pf, kcnts, s->nkeys), in u32_change() 1298 if (nla_put(skb, TCA_U32_SEL, struct_size(&n->sel, keys, n->sel.nkeys), in u32_dump() 1348 gpf = kzalloc(struct_size(gpf, kcnts, n->sel.nkeys), GFP_KERNEL); in u32_dump() 1358 for (i = 0; i < n->sel.nkeys; i++) in u32_dump() 1362 if (nla_put_64bit(skb, TCA_U32_PCNT, struct_size(gpf, kcnts, n->sel.nkeys), in u32_dump()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/tc_act/ |
D | tc_pedit.h | 66 unsigned char nkeys; member
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/tc_act/ |
D | tc_pedit.h | 55 unsigned char nkeys; member
|
/kernel/linux/linux-5.10/include/uapi/linux/tc_act/ |
D | tc_pedit.h | 63 unsigned char nkeys; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_tc_u32.c | 55 for (i = 0; i < cls->knode.sel->nkeys; i++) { in fill_match_fields() 255 for (j = 0; j < cls->knode.sel->nkeys; j++) { in cxgb4_config_knode()
|
/kernel/linux/linux-5.10/drivers/input/misc/ |
D | apanel.c | 57 u16 nkeys; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/ |
D | cls.c | 62 if (knode->sel->nkeys != 1) { in nfp_abm_u32_check_knode()
|
/kernel/linux/linux-5.10/security/keys/ |
D | gc.c | 153 atomic_dec(&key->user->nkeys); in key_gc_unused_keys()
|
D | proc.c | 315 atomic_read(&user->nkeys), in proc_key_users_show()
|
D | internal.h | 59 atomic_t nkeys; /* number of keys */ member
|
D | key.c | 94 atomic_set(&candidate->nkeys, 0); in key_user_lookup() 320 atomic_inc(&user->nkeys); in key_alloc()
|
D | keyctl.c | 1025 atomic_dec(&key->user->nkeys); in keyctl_chown_key() 1026 atomic_inc(&newowner->nkeys); in keyctl_chown_key()
|
D | process_keys.c | 30 .nkeys = ATOMIC_INIT(2),
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | pkt_cls.h | 140 unsigned char nkeys; member
|
/kernel/linux/linux-5.10/tools/include/uapi/linux/ |
D | pkt_cls.h | 175 unsigned char nkeys; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_tc.c | 101 if (sel->nkeys <= 0 || sel->nkeys > 1) in tc_fill_entry()
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | pkt_cls.h | 191 unsigned char nkeys; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | pkt_cls.h | 245 unsigned char nkeys; member
|
/kernel/linux/linux-5.10/drivers/md/bcache/ |
D | journal.c | 835 unsigned int nkeys) in journal_wait_for_write() argument 850 sectors = __set_blocks(w->data, w->data->keys + nkeys, in journal_wait_for_write()
|
D | sysfs.c | 705 return c->gc_stats.nkeys in bch_average_key_size() 706 ? div64_u64(c->gc_stats.data, c->gc_stats.nkeys) in bch_average_key_size()
|
D | bcache.h | 479 size_t nkeys; member
|
/kernel/linux/linux-5.10/drivers/hid/ |
D | wacom_wac.c | 482 int keys = 0, nkeys = 0; in wacom_intuos_pad() local 513 nkeys = 3; in wacom_intuos_pad() 529 nkeys = 3; in wacom_intuos_pad() 586 nkeys = 3; in wacom_intuos_pad() 602 prox = (buttons & ~(~0U << nbuttons)) | (keys & ~(~0U << nkeys)) | in wacom_intuos_pad() 607 for (i = 0; i < nkeys; i++) in wacom_intuos_pad()
|