Home
last modified time | relevance | path

Searched refs:sentry (Results 1 – 5 of 5) sorted by relevance

/linux/arch/x86/kernel/cpu/mtrr/
H A Dif.c161 struct mtrr_sentry sentry; in mtrr_ioctl() local
176 if (copy_from_user(&sentry, arg, sizeof(sentry))) in mtrr_ioctl()
196 err = get_user(sentry.base, &s32->base); in mtrr_ioctl()
197 err |= get_user(sentry.size, &s32->size); in mtrr_ioctl()
198 err |= get_user(sentry.type, &s32->type); in mtrr_ioctl()
227 mtrr_file_add(sentry.base, sentry.size, sentry.type, true, in mtrr_ioctl()
234 err = mtrr_add(sentry.base, sentry.size, sentry.type, false); in mtrr_ioctl()
240 err = mtrr_file_del(sentry.base, sentry.size, file, 0); in mtrr_ioctl()
246 err = mtrr_del(-1, sentry.base, sentry.size); in mtrr_ioctl()
272 mtrr_file_add(sentry.base, sentry.size, sentry.type, true, in mtrr_ioctl()
[all …]
/linux/Documentation/arch/x86/
H A Dmtrr.rst315 struct mtrr_sentry sentry;
322 sentry.base = strtoul (argv[1], NULL, 0);
323 sentry.size = strtoul (argv[2], NULL, 0);
324 for (sentry.type = 0; sentry.type < MTRR_NUM_TYPES; ++sentry.type)
326 if (strcmp (argv[3], mtrr_strings[sentry.type]) == 0) break;
328 if (sentry.type >= MTRR_NUM_TYPES)
344 if (ioctl (fd, MTRRIOC_ADD_ENTRY, &sentry) == -1)
/linux/security/selinux/ss/
H A Dservices.c1666 struct sidtab_entry *sentry, in compute_sid_handle_invalid_context() argument
1677 if (sidtab_entry_to_string(policydb, sidtab, sentry, &s, &slen)) in compute_sid_handle_invalid_context()
1745 struct sidtab_entry *sentry, *tentry; in security_compute_sid() local
1784 sentry = sidtab_search_entry(sidtab, ssid); in security_compute_sid()
1785 if (!sentry) { in security_compute_sid()
1799 scontext = &sentry->context; in security_compute_sid()
1904 rc = compute_sid_handle_invalid_context(policy, sentry, in security_compute_sid()
/linux/drivers/infiniband/hw/hfi1/
H A Dmad.c3897 u32 sentry, eentry; in __subn_get_opa_cc_table() local
3917 sentry = start_block * IB_CCT_ENTRIES; in __subn_get_opa_cc_table()
3918 eentry = sentry + (IB_CCT_ENTRIES * n_blocks); in __subn_get_opa_cc_table()
3925 for (j = 0, i = sentry; i < eentry; j++, i++) in __subn_get_opa_cc_table()
3948 u32 sentry, eentry; in __subn_set_opa_cc_table() local
3959 sentry = start_block * IB_CCT_ENTRIES; in __subn_set_opa_cc_table()
3960 eentry = sentry + ((n_blocks - 1) * IB_CCT_ENTRIES) + in __subn_set_opa_cc_table()
3977 for (j = 0, i = sentry; i < eentry; j++, i++) in __subn_set_opa_cc_table()
/linux/Documentation/filesystems/ext4/
H A Djournal.rst583 The commit block is a sentry that indicates that a transaction has been