• Home
  • Raw
  • Download

Lines Matching refs:s

531 static void *smk_seq_start(struct seq_file *s, loff_t *pos,  in smk_seq_start()  argument
548 static void *smk_seq_next(struct seq_file *s, void *v, loff_t *pos, in smk_seq_next() argument
559 static void smk_seq_stop(struct seq_file *s, void *v) in smk_seq_stop() argument
564 static void smk_rule_show(struct seq_file *s, struct smack_rule *srp, int max) in smk_rule_show() argument
579 seq_printf(s, "%s %s", in smk_rule_show()
583 seq_putc(s, ' '); in smk_rule_show()
586 seq_putc(s, 'r'); in smk_rule_show()
588 seq_putc(s, 'w'); in smk_rule_show()
590 seq_putc(s, 'x'); in smk_rule_show()
592 seq_putc(s, 'a'); in smk_rule_show()
594 seq_putc(s, 't'); in smk_rule_show()
596 seq_putc(s, 'l'); in smk_rule_show()
598 seq_putc(s, 'b'); in smk_rule_show()
600 seq_putc(s, '\n'); in smk_rule_show()
607 static void *load2_seq_start(struct seq_file *s, loff_t *pos) in load2_seq_start() argument
609 return smk_seq_start(s, pos, &smack_known_list); in load2_seq_start()
612 static void *load2_seq_next(struct seq_file *s, void *v, loff_t *pos) in load2_seq_next() argument
614 return smk_seq_next(s, v, pos, &smack_known_list); in load2_seq_next()
617 static int load_seq_show(struct seq_file *s, void *v) in load_seq_show() argument
625 smk_rule_show(s, srp, SMK_LABELLEN); in load_seq_show()
753 static void *cipso_seq_start(struct seq_file *s, loff_t *pos) in cipso_seq_start() argument
755 return smk_seq_start(s, pos, &smack_known_list); in cipso_seq_start()
758 static void *cipso_seq_next(struct seq_file *s, void *v, loff_t *pos) in cipso_seq_next() argument
760 return smk_seq_next(s, v, pos, &smack_known_list); in cipso_seq_next()
767 static int cipso_seq_show(struct seq_file *s, void *v) in cipso_seq_show() argument
787 seq_printf(s, "%s %3d", skp->smk_known, skp->smk_netlabel.attr.mls.lvl); in cipso_seq_show()
791 seq_printf(s, "%c%d", sep, i); in cipso_seq_show()
795 seq_putc(s, '\n'); in cipso_seq_show()
951 static int cipso2_seq_show(struct seq_file *s, void *v) in cipso2_seq_show() argument
960 seq_printf(s, "%s %3d", skp->smk_known, skp->smk_netlabel.attr.mls.lvl); in cipso2_seq_show()
964 seq_printf(s, "%c%d", sep, i); in cipso2_seq_show()
968 seq_putc(s, '\n'); in cipso2_seq_show()
1021 static void *net4addr_seq_start(struct seq_file *s, loff_t *pos) in net4addr_seq_start() argument
1023 return smk_seq_start(s, pos, &smk_net4addr_list); in net4addr_seq_start()
1026 static void *net4addr_seq_next(struct seq_file *s, void *v, loff_t *pos) in net4addr_seq_next() argument
1028 return smk_seq_next(s, v, pos, &smk_net4addr_list); in net4addr_seq_next()
1034 static int net4addr_seq_show(struct seq_file *s, void *v) in net4addr_seq_show() argument
1043 seq_printf(s, "%pI4/%d %s\n", &skp->smk_host.s_addr, in net4addr_seq_show()
1287 static void *net6addr_seq_start(struct seq_file *s, loff_t *pos) in net6addr_seq_start() argument
1289 return smk_seq_start(s, pos, &smk_net6addr_list); in net6addr_seq_start()
1292 static void *net6addr_seq_next(struct seq_file *s, void *v, loff_t *pos) in net6addr_seq_next() argument
1294 return smk_seq_next(s, v, pos, &smk_net6addr_list); in net6addr_seq_next()
1300 static int net6addr_seq_show(struct seq_file *s, void *v) in net6addr_seq_show() argument
1307 seq_printf(s, "%pI6/%d %s\n", &skp->smk_host, skp->smk_masks, in net6addr_seq_show()
1851 static void *onlycap_seq_start(struct seq_file *s, loff_t *pos) in onlycap_seq_start() argument
1853 return smk_seq_start(s, pos, &smack_onlycap_list); in onlycap_seq_start()
1856 static void *onlycap_seq_next(struct seq_file *s, void *v, loff_t *pos) in onlycap_seq_next() argument
1858 return smk_seq_next(s, v, pos, &smack_onlycap_list); in onlycap_seq_next()
1861 static int onlycap_seq_show(struct seq_file *s, void *v) in onlycap_seq_show() argument
1867 seq_puts(s, sklep->smk_label->smk_known); in onlycap_seq_show()
1868 seq_putc(s, ' '); in onlycap_seq_show()
2181 static void *load_self_seq_start(struct seq_file *s, loff_t *pos) in load_self_seq_start() argument
2185 return smk_seq_start(s, pos, &tsp->smk_rules); in load_self_seq_start()
2188 static void *load_self_seq_next(struct seq_file *s, void *v, loff_t *pos) in load_self_seq_next() argument
2192 return smk_seq_next(s, v, pos, &tsp->smk_rules); in load_self_seq_next()
2195 static int load_self_seq_show(struct seq_file *s, void *v) in load_self_seq_show() argument
2201 smk_rule_show(s, srp, SMK_LABELLEN); in load_self_seq_show()
2324 static int load2_seq_show(struct seq_file *s, void *v) in load2_seq_show() argument
2332 smk_rule_show(s, srp, SMK_LONGLABEL); in load2_seq_show()
2389 static void *load_self2_seq_start(struct seq_file *s, loff_t *pos) in load_self2_seq_start() argument
2393 return smk_seq_start(s, pos, &tsp->smk_rules); in load_self2_seq_start()
2396 static void *load_self2_seq_next(struct seq_file *s, void *v, loff_t *pos) in load_self2_seq_next() argument
2400 return smk_seq_next(s, v, pos, &tsp->smk_rules); in load_self2_seq_next()
2403 static int load_self2_seq_show(struct seq_file *s, void *v) in load_self2_seq_show() argument
2409 smk_rule_show(s, srp, SMK_LONGLABEL); in load_self2_seq_show()
2656 static void *relabel_self_seq_start(struct seq_file *s, loff_t *pos) in relabel_self_seq_start() argument
2660 return smk_seq_start(s, pos, &tsp->smk_relabel); in relabel_self_seq_start()
2663 static void *relabel_self_seq_next(struct seq_file *s, void *v, loff_t *pos) in relabel_self_seq_next() argument
2667 return smk_seq_next(s, v, pos, &tsp->smk_relabel); in relabel_self_seq_next()
2670 static int relabel_self_seq_show(struct seq_file *s, void *v) in relabel_self_seq_show() argument
2676 seq_puts(s, sklep->smk_label->smk_known); in relabel_self_seq_show()
2677 seq_putc(s, ' '); in relabel_self_seq_show()