FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
linux/scripts/include/array_size.h at multikernel-iommu · multikernel/linux · GitHub
multikernel
/
linux
Public
forked from
torvalds/linux
Notifications
You must be signed in to change notification settings
Fork
15
Star
180
Code
Issues
27
Pull requests
5
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
linux
/
scripts
/
include
/
array_size.h
Copy path
More file actions
More file actions
Latest commit
History
History
History
11 lines (9 loc) · 258 Bytes
Breadcrumbs
linux
/
scripts
/
include
/
array_size.h
Copy path
File metadata and controls
11 lines (9 loc) · 258 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef
ARRAY_SIZE_H
#define
ARRAY_SIZE_H
/**
* ARRAY_SIZE - get the number of elements in array @arr
* @arr: array to be sized
*/
#define
ARRAY_SIZE
(
arr
) (sizeof(arr) / sizeof((arr)[0]))
#endif
/* ARRAY_SIZE_H */
Back
|
FazBrowse Home
|
New Git URL