cregit-Linux how code gets into the kernel

Release 4.11 fs/udf/udfend.h

Directory: fs/udf
#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

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)3687.80%133.33%
Pekka J Enberg37.32%133.33%
Al Viro24.88%133.33%
Total41100.00%3100.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

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)3790.24%133.33%
Pekka J Enberg37.32%133.33%
Al Viro12.44%133.33%
Total41100.00%3100.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

PersonTokensPropCommitsCommitProp
Linus Torvalds3892.68%150.00%
Pekka J Enberg37.32%150.00%
Total41100.00%2100.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

PersonTokensPropCommitsCommitProp
Linus Torvalds3892.68%150.00%
Pekka J Enberg37.32%150.00%
Total41100.00%2100.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

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)3687.80%133.33%
Pekka J Enberg37.32%133.33%
Al Viro24.88%133.33%
Total41100.00%3100.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

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)3790.24%133.33%
Pekka J Enberg37.32%133.33%
Al Viro12.44%133.33%
Total41100.00%3100.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

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)3687.80%133.33%
Pekka J Enberg37.32%133.33%
Al Viro24.88%133.33%
Total41100.00%3100.00%

#endif /* __UDF_ENDIAN_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Linus Torvalds (pre-git)19765.23%350.00%
Linus Torvalds7625.17%116.67%
Pekka J Enberg216.95%116.67%
Al Viro82.65%116.67%
Total302100.00%6100.00%
Directory: fs/udf
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.