Home
last modified time | relevance | path

Searched refs:sz (Results 1 – 12 of 12) sorted by relevance

/include/linux/mtd/
Dmtd.h236 static inline uint32_t mtd_div_by_eb(uint64_t sz, struct mtd_info *mtd) in mtd_div_by_eb() argument
239 return sz >> mtd->erasesize_shift; in mtd_div_by_eb()
240 do_div(sz, mtd->erasesize); in mtd_div_by_eb()
241 return sz; in mtd_div_by_eb()
244 static inline uint32_t mtd_mod_by_eb(uint64_t sz, struct mtd_info *mtd) in mtd_mod_by_eb() argument
247 return sz & mtd->erasesize_mask; in mtd_mod_by_eb()
248 return do_div(sz, mtd->erasesize); in mtd_mod_by_eb()
251 static inline uint32_t mtd_div_by_ws(uint64_t sz, struct mtd_info *mtd) in mtd_div_by_ws() argument
254 return sz >> mtd->writesize_shift; in mtd_div_by_ws()
255 do_div(sz, mtd->writesize); in mtd_div_by_ws()
[all …]
/include/linux/netfilter/
Dnf_conntrack_h323_asn1.h92 int DecodeRasMessage(unsigned char *buf, size_t sz, RasMessage * ras);
93 int DecodeQ931(unsigned char *buf, size_t sz, Q931 * q931);
94 int DecodeMultimediaSystemControlMessage(unsigned char *buf, size_t sz,
/include/linux/
Ddevice-mapper.h344 #define DMEMIT(x...) sz += ((sz >= maxlen) ? \
345 0 : scnprintf(result + sz, maxlen - sz, x))
365 #define dm_div_up(n, sz) (((n) + (sz) - 1) / (sz)) argument
367 #define dm_sector_div_up(n, sz) ( \ argument
369 sector_t _r = ((n) + (sz) - 1); \
370 sector_div(_r, (sz)); \
378 #define dm_round_up(n, sz) (dm_div_up((n), (sz)) * (sz)) argument
Dnodemask.h341 #define nodes_fold(dst, orig, sz) \ argument
342 __nodes_fold(&(dst), &(orig), sz, MAX_NUMNODES)
344 int sz, int nbits) in __nodes_fold() argument
346 bitmap_fold(dstp->bits, origp->bits, sz, nbits); in __nodes_fold()
Dcpumask.h388 #define cpus_fold(dst, orig, sz) \ argument
389 __cpus_fold(&(dst), &(orig), sz, NR_CPUS)
391 int sz, int nbits) in __cpus_fold() argument
393 bitmap_fold(dstp->bits, origp->bits, sz, nbits); in __cpus_fold()
Dbitmap.h128 int sz, int bits);
Dhugetlb.h48 unsigned long addr, unsigned long sz);
Dsyscalls.h292 asmlinkage long sys_statfs64(const char __user *path, size_t sz,
295 asmlinkage long sys_fstatfs64(unsigned int fd, size_t sz,
/include/math-emu/
Dop-1.h46 #define _FP_FRAC_SRS_1(X,N,sz) __FP_FRAC_SRS_1(X##_f, N, sz) argument
48 #define __FP_FRAC_SRS_1(X,N,sz) \ argument
Dop-2.h72 #define _FP_FRAC_SRS_2(X,N,sz) \ argument
/include/linux/mmc/
Dsdio_func.h133 extern unsigned int sdio_align_size(struct sdio_func *func, unsigned int sz);
/include/drm/
Di915_drm.h240 int sz; /* nr bytes in buf */ member