Release 4.11 fs/udf/udfend.h
#ifndef __UDF_ENDIAN_H
#define __UDF_ENDIAN_H
#include <asm/byteorder.h>
#include <linux/string.h>
static inline struct kernel_lb_addr lelb_to_cpu(struct lb_addr in)
{
struct kernel_lb_addr out;
out.logicalBlockNum = le32_to_cpu(in.logicalBlockNum);
out.partitionReferenceNum = le16_to_cpu(in.partitionReferenceNum);
return out;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 36 | 87.80% | 1 | 33.33% |
Pekka J Enberg | 3 | 7.32% | 1 | 33.33% |
Al Viro | 2 | 4.88% | 1 | 33.33% |
Total | 41 | 100.00% | 3 | 100.00% |
static inline struct lb_addr cpu_to_lelb(struct kernel_lb_addr in)
{
struct lb_addr out;
out.logicalBlockNum = cpu_to_le32(in.logicalBlockNum);
out.partitionReferenceNum = cpu_to_le16(in.partitionReferenceNum);
return out;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 37 | 90.24% | 1 | 33.33% |
Pekka J Enberg | 3 | 7.32% | 1 | 33.33% |
Al Viro | 1 | 2.44% | 1 | 33.33% |
Total | 41 | 100.00% | 3 | 100.00% |
static inline struct short_ad lesa_to_cpu(struct short_ad in)
{
struct short_ad out;
out.extLength = le32_to_cpu(in.extLength);
out.extPosition = le32_to_cpu(in.extPosition);
return out;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds | 38 | 92.68% | 1 | 50.00% |
Pekka J Enberg | 3 | 7.32% | 1 | 50.00% |
Total | 41 | 100.00% | 2 | 100.00% |
static inline struct short_ad cpu_to_lesa(struct short_ad in)
{
struct short_ad out;
out.extLength = cpu_to_le32(in.extLength);
out.extPosition = cpu_to_le32(in.extPosition);
return out;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds | 38 | 92.68% | 1 | 50.00% |
Pekka J Enberg | 3 | 7.32% | 1 | 50.00% |
Total | 41 | 100.00% | 2 | 100.00% |
static inline struct kernel_long_ad lela_to_cpu(struct long_ad in)
{
struct kernel_long_ad out;
out.extLength = le32_to_cpu(in.extLength);
out.extLocation = lelb_to_cpu(in.extLocation);
return out;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 36 | 87.80% | 1 | 33.33% |
Pekka J Enberg | 3 | 7.32% | 1 | 33.33% |
Al Viro | 2 | 4.88% | 1 | 33.33% |
Total | 41 | 100.00% | 3 | 100.00% |
static inline struct long_ad cpu_to_lela(struct kernel_long_ad in)
{
struct long_ad out;
out.extLength = cpu_to_le32(in.extLength);
out.extLocation = cpu_to_lelb(in.extLocation);
return out;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 37 | 90.24% | 1 | 33.33% |
Pekka J Enberg | 3 | 7.32% | 1 | 33.33% |
Al Viro | 1 | 2.44% | 1 | 33.33% |
Total | 41 | 100.00% | 3 | 100.00% |
static inline struct kernel_extent_ad leea_to_cpu(struct extent_ad in)
{
struct kernel_extent_ad out;
out.extLength = le32_to_cpu(in.extLength);
out.extLocation = le32_to_cpu(in.extLocation);
return out;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 36 | 87.80% | 1 | 33.33% |
Pekka J Enberg | 3 | 7.32% | 1 | 33.33% |
Al Viro | 2 | 4.88% | 1 | 33.33% |
Total | 41 | 100.00% | 3 | 100.00% |
#endif /* __UDF_ENDIAN_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 197 | 65.23% | 3 | 50.00% |
Linus Torvalds | 76 | 25.17% | 1 | 16.67% |
Pekka J Enberg | 21 | 6.95% | 1 | 16.67% |
Al Viro | 8 | 2.65% | 1 | 16.67% |
Total | 302 | 100.00% | 6 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.