Searched refs:nt_size (Results 1 – 2 of 2) sorted by relevance
| /linux/arch/s390/kernel/ |
| H A D | crash_dump.c | 291 #define nt_size(type, desc) nt_size_name(sizeof(desc), NN_ ## type) macro 334 size = nt_size(PRSTATUS, struct elf_prstatus); in get_cpu_elf_notes_size() 335 size += nt_size(PRFPREG, elf_fpregset_t); in get_cpu_elf_notes_size() 336 size += nt_size(S390_TIMER, sa->timer); in get_cpu_elf_notes_size() 337 size += nt_size(S390_TODCMP, sa->todcmp); in get_cpu_elf_notes_size() 338 size += nt_size(S390_TODPREG, sa->todpreg); in get_cpu_elf_notes_size() 339 size += nt_size(S390_CTRS, sa->ctrs); in get_cpu_elf_notes_size() 340 size += nt_size(S390_PREFIX, sa->prefix); in get_cpu_elf_notes_size() 342 size += nt_size(S390_VXRS_HIGH, sa->vxrs_high); in get_cpu_elf_notes_size() 343 size += nt_size(S390_VXRS_LOW, sa->vxrs_low); in get_cpu_elf_notes_size() [all …]
|
| /linux/fs/smb/server/ |
| H A D | smbacl.c | 1124 static int smb_append_inherited_ace(struct smb_ace **ace, int *nt_size, in smb_append_inherited_ace() argument 1133 if (check_add_overflow(*nt_size, ace_size, nt_size) || in smb_append_inherited_ace() 1134 *nt_size > U16_MAX - (int)sizeof(struct smb_acl)) in smb_append_inherited_ace() 1187 int inherited_flags = 0, flags = 0, i, nt_size = 0, pdacl_size; in smb_inherit_dacl() local 1297 rc = smb_append_inherited_ace(&aces, &nt_size, &ace_cnt, in smb_inherit_dacl() 1309 rc = smb_append_inherited_ace(&aces, &nt_size, &ace_cnt, psid, in smb_inherit_dacl() 1319 if (nt_size > 0) { in smb_inherit_dacl() 1345 check_add_overflow(pntsd_alloc_size, (size_t)nt_size, in smb_inherit_dacl() 1380 if ((u64)le32_to_cpu(pntsd->dacloffset) + sizeof(struct smb_acl) + nt_size > in smb_inherit_dacl() 1406 pdacl->size = cpu_to_le16(sizeof(struct smb_acl) + nt_size); in smb_inherit_dacl() [all …]
|