Searched refs:masks (Results 1 - 25 of 39) sorted by relevance

12

/freebsd-current/contrib/openbsm/libbsm/
H A Dbsm_flags.c50 getauditflagsbin(char *auditstr, au_mask_t *masks) argument
65 masks->am_success = 0;
66 masks->am_failure = 0;
89 SUB_FROM_MASK(masks, c.ac_class, sel);
91 ADD_TO_MASK(masks, c.ac_class, sel);
117 getauditflagschar(char *auditstr, au_mask_t *masks, int verbose) argument
133 * the success or failure masks.
143 sel |= ((c.ac_class & masks->am_success) == c.ac_class) ?
145 sel |= ((c.ac_class & masks->am_failure) == c.ac_class) ?
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/spl/
H A Dacl_common.c922 /* check for invalid masks */
958 /* more detailed checking of masks */
1542 acl_trivial_access_masks(mode_t mode, boolean_t isdir, trivial_acl_t *masks) argument
1550 masks->deny1 = 0;
1552 masks->deny1 |= read_mask;
1554 masks->deny1 |= write_mask;
1556 masks->deny1 |= execute_mask;
1558 masks->deny2 = 0;
1560 masks->deny2 |= read_mask;
1562 masks
1608 trivial_acl_t masks; local
[all...]
/freebsd-current/sys/contrib/openzfs/include/os/freebsd/spl/acl/
H A Dacl_common.h61 trivial_acl_t *masks);
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_acl.c1212 acl_trivial_access_masks(mode_t mode, boolean_t isdir, trivial_acl_t *masks) argument
1221 masks->deny1 = 0;
1224 masks->deny1 |= read_mask;
1226 masks->deny1 |= write_mask;
1228 masks->deny1 |= execute_mask;
1230 masks->deny2 = 0;
1232 masks->deny2 |= read_mask;
1234 masks->deny2 |= write_mask;
1236 masks->deny2 |= execute_mask;
1238 masks
1519 trivial_acl_t masks; local
[all...]
/freebsd-current/sys/netpfil/ipfilter/netinet/
H A Dradix_ipf.h26 struct ipf_rdx_mask *masks; member in struct:ipf_rdx_node
H A Dradix_ipf.c217 masknode = node->masks;
298 for (pm = &node->masks; (m = *pm) != NULL; pm = &m->next)
432 for (pmask = &prev->masks; (m = *pmask) != NULL;
441 pmask = &nodes[0].masks;
447 * Search the mask list on each child to see if there are any masks
452 for (pmask = &cur->masks; (mask = *pmask) != NULL; ) {
463 for (pmask = &cur->masks; (mask = *pmask) != NULL; ) {
703 for (pm = &cur->masks; (m = *pm) != NULL; )
717 for (pmask = &parent->masks; (m = *pmask) != NULL; ) {
/freebsd-current/sys/dev/aic7xxx/aicasm/
H A Daicasm_symbol.c471 symlist_t masks; local
487 SLIST_INIT(&masks);
507 symlist_add(&masks, cursym, SYMLIST_SORT);
567 /* Fold in the masks and bits */
568 while (SLIST_FIRST(&masks) != NULL) {
571 curnode = SLIST_FIRST(&masks);
572 SLIST_REMOVE_HEAD(&masks, links);
/freebsd-current/sys/dev/hifn/
H A Dhifn7751reg.h449 volatile u_int16_t masks; member in struct:hifn_base_command
469 volatile u_int16_t masks; member in struct:hifn_crypt_command
501 volatile u_int16_t masks; member in struct:hifn_mac_command
H A Dhifn7751.c543 * NB: Keep only the low 16 bits; this masks the chip id
1385 const u_int32_t masks = HIFN_D_VALID | HIFN_D_LAST | HIFN_D_MASKDONEIRQ; local
1388 wc.masks = htole16(3 << 13);
1409 dma->cmdr[cmdi].l = htole32(16 | masks);
1410 dma->srcr[srci].l = htole32(8 | masks);
1411 dma->dstr[dsti].l = htole32(4 | masks);
1412 dma->resr[resi].l = htole32(4 | masks);
1446 const u_int32_t masks = HIFN_D_VALID | HIFN_D_LAST | HIFN_D_MASKDONEIRQ; local
1449 rc.masks = htole16(2 << 13);
1469 dma->cmdr[cmdi].l = htole32(8 | masks);
[all...]
/freebsd-current/sys/netinet/
H A Din_cksum.c117 const u_int32_t *masks = in_masks + (offset << 2); local
119 sum = *lw++ & masks[len >= 3 ? 3 : len];
/freebsd-current/sys/contrib/ncsw/Peripherals/FM/Pcd/
H A Dfman_kg.c568 if (extract_params->masks[i].is_known) {
570 select |= extract_params->masks[i].field_or_gen_idx <<
574 select |= (extract_params->masks[i].field_or_gen_idx +
581 select |= (uint32_t)extract_params->masks[i].offset <<
584 fqb |= (uint32_t)extract_params->masks[i].offset <<
590 mask |= (uint32_t)extract_params->masks[i].mask << shift;
594 * don't mask bits for unused masks by setting
/freebsd-current/usr.sbin/ppp/
H A Dncpaddr.c141 const u_char masks[] = { 0x00, 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe }; local
150 for (c = masks, m = 0; c < masks + sizeof masks; c++, m++)
518 const u_char masks[] = { 0x80, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc, 0xfe, 0xff }; local
537 if ((*addrp++ ^ *rangep++) & masks[bits > 7 ? 7 : bits - 1])
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_acl.c1335 trivial_acl_t masks; local
1341 acl_trivial_access_masks((mode_t)mode, isdir, &masks);
1346 if (masks.allow0) {
1347 zfs_set_ace(aclp, zacep, masks.allow0, ALLOW, -1, ACE_OWNER);
1352 if (masks.deny1) {
1353 zfs_set_ace(aclp, zacep, masks.deny1, DENY, -1, ACE_OWNER);
1358 if (masks.deny2) {
1359 zfs_set_ace(aclp, zacep, masks.deny2, DENY, -1, OWNING_GROUP);
1417 access_mask &= masks.group;
1425 zfs_set_ace(aclp, zacep, masks
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/Support/Windows/
H A DThreading.inc218 // possible for affinity masks to cross CPU group boundaries.
/freebsd-current/contrib/unbound/validator/
H A Dval_nsec.c65 uint8_t masks[8] = {0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01}; local
85 return (int)(bitmap[mybyte] & masks[type_low&0x7]);
/freebsd-current/sys/x86/iommu/
H A Dintel_utils.c72 static const u_int masks[] = { local
84 return (masks[nd]);
/freebsd-current/sys/dev/dpaa2/
H A Ddpaa2_ni.h438 struct dpni_mask_cfg masks[4]; member in struct:dpni_dist_extract
H A Ddpaa2_ni_dpkg.h71 * DPKG_NUM_OF_MASKS - Number of masks per key extraction
497 * This is also the number of bytes to be used as masks
498 * @masks: Masks parameters
522 struct dpkg_mask masks[DPKG_NUM_OF_MASKS]; member in struct:dpkg_extract
/freebsd-current/contrib/openbsm/bsm/
H A Dlibbsm.h817 int getauditflagsbin(char *auditstr, au_mask_t *masks);
818 int getauditflagschar(char *auditstr, au_mask_t *masks,
/freebsd-current/sys/contrib/ncsw/inc/flib/
H A Dfsl_fman_kg.h40 /**< Total num of masks allowed on KG extractions */
335 /* Number of entries in masks */
337 struct fman_kg_extract_mask masks[FM_KG_EXTRACT_MASKS_NUM]; member in struct:fman_kg_extract_params
/freebsd-current/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_affinity.cpp2597 // Set the masks to & with apicid
3590 // Create and return a table of affinity masks, indexed by OS thread ID.
3591 // This routine handles OR'ing together all the affinity masks of threads
3597 // First form a table of affinity masks in order of OS thread id.
3631 // Run through the table, forming the masks for all threads on each core.
3733 kmp_affin_mask_t **out_masks = &affinity.masks;
4098 kmp_affin_mask_t **out_masks = &affinity.masks;
4371 KMP_ASSERT(affinity.masks);
4402 kmp_affin_mask_t *mask = KMP_CPU_INDEX(affinity.masks, i);
4426 KMP_CPU_ALLOC_ARRAY(affinity.masks, affinit
[all...]
H A Dompt-general.cpp714 kmp_affin_mask_t *mask = KMP_CPU_INDEX(__kmp_affinity.masks, place_num);
/freebsd-current/sys/dev/vt/hw/vga/
H A Dvt_vga.c501 vga_bitblt_pixels_block_2colors(struct vt_device *vd, const uint8_t *masks, argument
525 MEM_WRITE1(sc, offset, masks[i]);
530 vga_bitblt_pixels_block_ncolors(struct vt_device *vd, const uint8_t *masks, argument
571 mask = masks[i * 16 + color];
/freebsd-current/contrib/ntp/ntpd/
H A Dntp_config.c84 struct masks { struct
89 static struct masks logcfg_class[] = {
97 /* logcfg_noclass_items[] masks are complete and must not be shifted */
98 static struct masks logcfg_noclass_items[] = {
112 /* logcfg_class_items[] masks are shiftable by NLOG_O* counts */
113 static struct masks logcfg_class_items[] = {
375 static u_int32 get_pfxmatch(const char **, struct masks *);
376 static u_int32 get_match(const char *, struct masks *);
5361 struct masks * m
5381 struct masks *
[all...]
/freebsd-current/crypto/openssl/crypto/sha/asm/
H A Dkeccak1600p8-ppc.pl484 lvx_u v30,r10,r12 ; permutation masks
486 ?vspltisb v27,7 ; prepare masks for byte swap

Completed in 421 milliseconds

12