Lines Matching defs:uid
20 struct idr uid;
141 u32 uid = 0;
161 err = idr_alloc_u32(&acl->uid, NULL, &uid, U8_MAX, GFP_KERNEL);
165 /* make pcl-id based on uid */
166 ruleset->pcl_id = PRESTERA_ACL_PCL_ID_MAKE((u8)uid, chain_index);
167 ruleset->index = uid;
180 idr_remove(&acl->uid, uid);
243 u8 uid = ruleset->pcl_id & PRESTERA_ACL_KEYMASK_PCL_ID_USER;
262 idr_remove(&acl->uid, uid);
890 idr_init(&acl->uid);
917 WARN_ON(!idr_is_empty(&acl->uid));
918 idr_destroy(&acl->uid);