Searched refs:sub_ns (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/security/apparmor/ |
D | policy_ns.c | 116 INIT_LIST_HEAD(&ns->sub_ns); in alloc_ns() 181 ns = __aa_findn_ns(&ns->sub_ns, hname, split - hname); in __aa_lookupn_ns() 190 return __aa_findn_ns(&ns->sub_ns, hname, n); in __aa_lookupn_ns() 240 list_add_rcu(&ns->base.list, &parent->sub_ns); in __aa_create_ns() 265 ns = aa_get_ns(__aa_find_ns(&parent->sub_ns, name)); in __aa_find_or_create_ns() 289 ns = aa_get_ns(__aa_find_ns(&parent->sub_ns, name)); in aa_prepare_ns() 314 __ns_list_release(&ns->sub_ns); in destroy_ns()
|
D | apparmorfs.c | 1872 ns = aa_get_ns(__aa_findn_ns(&parent->sub_ns, dentry->d_name.name, in ns_rmdir_op() 1925 list_for_each_entry(sub, &ns->sub_ns, base.list) { in __aafs_ns_rmdir() 2055 list_for_each_entry(sub, &ns->sub_ns, base.list) { in __aafs_ns_mkdir() 2095 if (!list_empty(&ns->sub_ns)) { in __next_ns() 2096 next = list_first_entry(&ns->sub_ns, typeof(*ns), base.list); in __next_ns() 2106 if (!list_entry_is_head(next, &parent->sub_ns, base.list)) { in __next_ns()
|
D | label.c | 2159 list_for_each_entry(child, &ns->sub_ns, base.list) { in __aa_labelset_update_subtree()
|
/linux-6.12.1/drivers/net/ethernet/cadence/ |
D | macb_ptp.c | 113 gem_writel(bp, TISUBN, GEM_BF(SUBNSINCRL, incr_spec->sub_ns) | in gem_tsu_incr_set() 114 GEM_BF(SUBNSINCRH, (incr_spec->sub_ns >> in gem_tsu_incr_set() 136 incr_spec.sub_ns = bp->tsu_incr.sub_ns; in gem_ptp_adjfine() 140 word = ((u64)incr_spec.ns << GEM_SUBNSINCR_SIZE) + incr_spec.sub_ns; in gem_ptp_adjfine() 152 incr_spec.sub_ns = adj & ((1 << GEM_SUBNSINCR_SIZE) - 1); in gem_ptp_adjfine() 214 bp->tsu_incr.sub_ns = div_u64(adj, bp->tsu_rate); in gem_ptp_init_timer() 216 bp->tsu_incr.sub_ns = 0; in gem_ptp_init_timer() 238 bp->tsu_incr.sub_ns = 0; in gem_ptp_clear_timer()
|
D | macb.h | 1206 u32 sub_ns; member
|
/linux-6.12.1/drivers/ptp/ |
D | ptp_fc3.c | 38 static s64 ns2counters(struct idtfc3 *idtfc3, s64 nsec, u32 *sub_ns) in ns2counters() argument 45 *sub_ns = rem; in ns2counters() 48 *sub_ns = idtfc3->ns_per_sync - rem - 1; in ns2counters() 388 u32 counter, sub_ns; in _idtfc3_settime() local 402 (void)ns2counters(idtfc3, offset_ns + now_ns, &sub_ns); in _idtfc3_settime() 404 counter = sub_ns / idtfc3->ns_per_counter; in _idtfc3_settime() 427 u32 sub_ns; in _idtfc3_adjtime() local 435 sync_ns = ns2counters(idtfc3, delta + idtfc3->ns_per_sync, &sub_ns); in _idtfc3_adjtime() 437 counter = sub_ns / idtfc3->ns_per_counter; in _idtfc3_adjtime()
|
/linux-6.12.1/security/apparmor/include/ |
D | policy_ns.h | 64 struct list_head sub_ns; member
|