Lines Matching refs:count
810 struct kref count; member
823 t = container_of(kref, struct multi_transaction, count); in multi_transaction_kref()
831 kref_get(&(t->count)); in get_multi_transaction()
839 kref_put(&(t->count), multi_transaction_kref); in put_multi_transaction()
870 kref_init(&t->count); in multi_transaction_new()
933 size_t count, loff_t *ppos) in aa_write_access() argument
941 t = multi_transaction_new(file, ubuf, count); in aa_write_access()
945 if (count > QUERY_CMD_PROFILE_LEN && in aa_write_access()
949 count - QUERY_CMD_PROFILE_LEN, true); in aa_write_access()
950 } else if (count > QUERY_CMD_LABEL_LEN && in aa_write_access()
954 count - QUERY_CMD_LABEL_LEN, true); in aa_write_access()
955 } else if (count > QUERY_CMD_LABELALL_LEN && in aa_write_access()
960 count - QUERY_CMD_LABELALL_LEN, false); in aa_write_access()
961 } else if (count > QUERY_CMD_DATA_LEN && in aa_write_access()
965 count - QUERY_CMD_DATA_LEN); in aa_write_access()
976 return count; in aa_write_access()
1161 int count = 1; in seq_ns_nsstacked_show() local
1168 count++; in seq_ns_nsstacked_show()
1173 seq_printf(seq, "%s\n", count > 1 ? "yes" : "no"); in seq_ns_nsstacked_show()
2413 int count = 0; in aa_mk_null_file() local
2414 int error = simple_pin_fs(parent->d_sb->s_type, &mount, &count); in aa_mk_null_file()
2446 simple_release_fs(&mount, &count); in aa_mk_null_file()