Searched refs:key (Results 101 - 125 of 3067) sorted by last modified time

1234567891011>>

/linux-master/net/unix/
H A Daf_unix.c442 void *key)
456 wake_up_interruptible_poll(u_sleep, key_to_poll(key));
441 unix_dgram_peer_wake_relay(wait_queue_entry_t *q, unsigned mode, int flags, void *key) argument
/linux-master/net/netfilter/
H A Dnft_set_pipapo.c403 * @key: nftables API element representation containing key data
411 const u32 *key, const struct nft_set_ext **ext)
419 const u8 *rp = (const u8 *)key;
477 /* Last field: we're just returning the key without
504 * pipapo_get() - Get matching element reference given key data
513 * key data against the uncommitted copy and doesn't use preallocated maps for
605 * nft_pipapo_get() - Get matching element reference given key data
608 * @elem: nftables API element representation containing key data
617 e = pipapo_get(net, set, (const u8 *)elem->key
410 nft_pipapo_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) argument
[all...]
H A Dnft_set_rbtree.c56 const u32 *key, const struct nft_set_ext **ext,
72 d = memcmp(nft_set_ext_key(&rbe->ext), key, set->klen);
118 const u32 *key, const struct nft_set_ext **ext)
124 ret = __nft_rbtree_lookup(net, set, key, ext, seq);
130 ret = __nft_rbtree_lookup(net, set, key, ext, seq);
137 const u32 *key, struct nft_rbtree_elem **elem,
154 d = memcmp(this, key, set->klen);
207 const u32 *key = (const u32 *)&elem->key.val; local
211 ret = __nft_rbtree_get(net, set, key,
55 __nft_rbtree_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext, unsigned int seq) argument
117 nft_rbtree_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) argument
136 __nft_rbtree_get(const struct net *net, const struct nft_set *set, const u32 *key, struct nft_rbtree_elem **elem, unsigned int seq, unsigned int flags, u8 genmask) argument
[all...]
H A Dnft_set_hash.c37 const u32 *key; member in struct:nft_rhash_cmp_arg
46 return jhash(arg->key, len, seed);
59 const struct nft_rhash_cmp_arg *x = arg->key;
62 if (memcmp(nft_set_ext_key(&he->ext), x->key, x->set->klen))
83 const u32 *key, const struct nft_set_ext **ext)
90 .key = key,
110 .key = elem->key.val.data,
121 static bool nft_rhash_update(struct nft_set *set, const u32 *key, argument
82 nft_rhash_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) argument
247 nft_rhash_delete(const struct nft_set *set, const u32 *key) argument
493 nft_hash_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) argument
533 nft_hash_lookup_fast(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) argument
559 const struct nft_data *key = nft_set_ext_key(ext); local
[all...]
H A Dnft_set_bitmap.c53 const void *key,
59 k = *(u16 *)key;
61 k = *(u8 *)key;
79 const u32 *key, const struct nft_set_ext **ext)
85 nft_bitmap_location(set, key, &idx, &off);
117 if (memcmp(nft_set_ext_key(&be->ext), elem->key.val.data, set->klen) ||
202 nft_bitmap_location(set, elem->key.val.data, &idx, &off);
235 /* The bitmap size is pow(2, key length in bits) / bits per byte. This is
52 nft_bitmap_location(const struct nft_set *set, const void *key, u32 *idx, u32 *off) argument
78 nft_bitmap_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) argument
H A Dnf_tables_api.c66 .key_offset = offsetof(struct nft_object, key),
1318 const char *name = arg->key;
1336 return nft_objname_hash(&obj->key, 0, seed);
1342 const struct nft_object_hash_key *k = arg->key;
1345 if (obj->key.table != k->table)
1348 return strcmp(obj->key.name, k->name);
5753 (*nft_set_ext_obj(ext))->key.name) < 0)
6050 struct nft_data *key, struct nlattr *attr)
6058 return nft_data_init(ctx, key, &desc, attr);
6143 err = nft_setelem_parse_key(ctx, set, &elem.key
6049 nft_setelem_parse_key(struct nft_ctx *ctx, const struct nft_set *set, struct nft_data *key, struct nlattr *attr) argument
6411 nft_set_elem_init(const struct nft_set *set, const struct nft_set_ext_tmpl *tmpl, const u32 *key, const u32 *key_end, const u32 *data, u64 timeout, u64 expiration, gfp_t gfp) argument
[all...]
H A Dnft_lookup.c29 const u32 *key, const struct nft_set_ext **ext)
32 return nft_hash_lookup_fast(net, set, key, ext);
34 return nft_hash_lookup(net, set, key, ext);
37 return nft_rhash_lookup(net, set, key, ext);
40 return nft_bitmap_lookup(net, set, key, ext);
43 return nft_pipapo_lookup(net, set, key, ext);
46 return nft_pipapo_avx2_lookup(net, set, key, ext);
50 return nft_rbtree_lookup(net, set, key, ext);
53 return set->ops->lookup(net, set, key, ext);
142 * ignore value assoicated with key)
28 nft_set_do_lookup(const struct net *net, const struct nft_set *set, const u32 *key, const struct nft_set_ext **ext) argument
[all...]
/linux-master/net/bridge/
H A Dbr_private.h291 struct net_bridge_fdb_key key; member in struct:net_bridge_fdb_entry
348 struct net_bridge_port_group_sg_key key; member in struct:net_bridge_port_group
/linux-master/mm/
H A Dshmem.c2171 unsigned int mode, int sync, void *key)
2173 int ret = default_wake_function(wait, mode, sync, key);
4097 return invalfc(fc, "Unsupported parameter '%s'", param->key);
4099 return invalfc(fc, "Bad value for '%s'", param->key);
4873 * checks are provided at the key or shm level rather than the inode.
2170 synchronous_wake_function(wait_queue_entry_t *wait, unsigned int mode, int sync, void *key) argument
/linux-master/lib/
H A Dbootconfig.c41 * key-value pairs on memory.
43 * simply a key word or a value. A key node may have a next key node or/and
44 * a child node (both key and value). A value node may have a next value
213 * xbc_node_find_subkey() - Find a subkey node which matches given key
215 * @key: A key string.
217 * Search a key node under @parent which matches @key
222 xbc_node_find_subkey(struct xbc_node *parent, const char *key) argument
259 xbc_node_find_value(struct xbc_node *parent, const char *key, struct xbc_node **vnode) argument
503 xbc_valid_keyword(char *key) argument
[all...]
/linux-master/kernel/
H A Dfork.c39 #include <linux/key.h>
/linux-master/init/
H A Dmain.c64 #include <linux/key.h>
360 /* Make an extra command line under given key word */
361 static char * __init xbc_make_cmdline(const char *key) argument
367 root = xbc_find_node(key);
/linux-master/include/net/netfilter/
H A Dnf_tables.h284 * @key: element key
285 * @key_end: closing element key
293 } key; member in struct:nft_set_elem
339 * @ktype: key type
340 * @klen: key length
457 const u32 *key,
460 const u32 *key,
469 const u32 *key);
549 * @ktype: key typ
1343 struct nft_object_hash_key key; member in struct:nft_object
[all...]
H A Dnf_flow_table.h43 struct nf_flow_key key; member in struct:nf_flow_match
/linux-master/include/linux/
H A Dbootconfig.h87 * xbc_node_is_key() - Test the node is a key node
90 * Test the @node is a key node and return true if a key node, false if not.
109 * xbc_node_is_leaf() - Test the node is a leaf key node
112 * Test the @node is a leaf key node which is a key node and has a value node
123 /* Tree-based key-value access APIs */
125 const char *key);
128 const char *key,
138 * xbc_find_value() - Find a value which matches the key
148 xbc_find_value(const char *key, struct xbc_node **vnode) argument
160 xbc_find_node(const char *key) argument
[all...]
/linux-master/fs/fuse/
H A Dcuse.c203 * cuse_parse_one - parse one key=value pair
206 * @keyp: out parameter for key
211 * start of the key and *@valp to the start of the value. Note that
212 * the original string is modified such that the key string is
221 char *key, *val; local
233 key = val = p;
239 val = key + strlen(key);
240 key = strstrip(key);
274 char *key, *val; local
[all...]
/linux-master/drivers/scsi/
H A Dscsi_lib.c3427 * @key: Sense key
3432 void scsi_build_sense(struct scsi_cmnd *scmd, int desc, u8 key, u8 asc, u8 ascq) argument
3434 scsi_build_sense_buffer(desc, scmd->sense_buffer, key, asc, ascq);
/linux-master/drivers/s390/cio/
H A Ddevice_ops.c160 * ccw_device_start_timeout_key() - start a s390 channel program with timeout and key
168 * @key: storage key to be used for the I/O
192 unsigned long intparm, __u8 lpm, __u8 key,
233 ret = cio_start_key (sch, cpa, lpm, key);
249 * ccw_device_start_key() - start a s390 channel program with key
257 * @key: storage key to be used for the I/O
276 unsigned long intparm, __u8 lpm, __u8 key,
279 return ccw_device_start_timeout_key(cdev, cpa, intparm, lpm, key,
191 ccw_device_start_timeout_key(struct ccw_device *cdev, struct ccw1 *cpa, unsigned long intparm, __u8 lpm, __u8 key, unsigned long flags, int expires) argument
275 ccw_device_start_key(struct ccw_device *cdev, struct ccw1 *cpa, unsigned long intparm, __u8 lpm, __u8 key, unsigned long flags) argument
543 ccw_device_tm_start_timeout_key(struct ccw_device *cdev, struct tcw *tcw, unsigned long intparm, u8 lpm, u8 key, int expires) argument
596 ccw_device_tm_start_key(struct ccw_device *cdev, struct tcw *tcw, unsigned long intparm, u8 lpm, u8 key) argument
[all...]
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c7684 netdev_rss_key_fill(priv->rss.key, sizeof(priv->rss.key));
H A Ddwxgmac2_core.c586 u32 value, *key; local
596 key = (u32 *)cfg->key;
597 for (i = 0; i < (ARRAY_SIZE(cfg->key) / sizeof(u32)); i++) {
598 ret = dwxgmac2_rss_write_reg(ioaddr, true, i, key[i]);
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_flower.c43 enum { /* key / mask */
94 st->l3_proto = be16_to_cpu(mt.key->n_proto);
121 st->l4_proto = mt.key->ip_proto;
169 u8 is_frag_key = !!(mt.key->flags & FLOW_DIS_IS_FRAGMENT);
173 u8 first_frag_key = !!(mt.key->flags & FLOW_DIS_FIRST_FRAG);
186 /* Extract VCAP fragment key and mask from verdict */
598 /* Add the VCAP key to match on for a rule target value */
611 /* Add NXT_IDX key for chaining rules between IS0 instances */
621 /* Add PAG key for chaining rules from IS0 */
627 /* Add ISDX key fo
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Ddevcom.c28 u64 key; member in struct:mlx5_devcom_comp
111 mlx5_devcom_comp_alloc(u64 id, u64 key, mlx5_devcom_event_handler_t handler) argument
120 comp->key = key;
183 u64 key)
185 return devcom->id == id && devcom->key == key;
191 u64 key,
197 if (devcom_component_equal(comp, id, key)) {
215 u64 key,
181 devcom_component_equal(struct mlx5_devcom_comp *devcom, enum mlx5_devcom_component id, u64 key) argument
189 devcom_component_get(struct mlx5_devcom_dev *devc, enum mlx5_devcom_component id, u64 key, mlx5_devcom_event_handler_t handler) argument
213 mlx5_devcom_register_component(struct mlx5_devcom_dev *devc, enum mlx5_devcom_component id, u64 key, mlx5_devcom_event_handler_t handler, void *data) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c3041 void mlx5_esw_offloads_devcom_init(struct mlx5_eswitch *esw, u64 key) argument
3060 key,
H A Den_main.c464 .key = cpu_to_be32(mdev->mlx5e_res.hw_objs.mkey),
469 .key = cpu_to_be32(mdev->mlx5e_res.hw_objs.mkey),
477 .key = cpu_to_be32(mdev->mlx5e_res.hw_objs.mkey),
492 .key = cpu_to_be32(mdev->mlx5e_res.hw_objs.mkey),
765 rq->mpwqe.shampo->key =
H A Den_ethtool.c1301 rxfh->indir, rxfh->key, &rxfh->hfunc);
1342 rxfh->indir, rxfh->key,

Completed in 453 milliseconds

1234567891011>>