Searched refs:bf_off (Results 1 – 3 of 3) sorted by relevance
/external/syzkaller/executor/ |
D | executor.cc | 289 static void copyin(char* addr, uint64 val, uint64 size, uint64 bf, uint64 bf_off, uint64 bf_len); 549 uint64 size, bf, bf_off, bf_len; in execute_one() local 550 uint64 arg = read_const_arg(&input_pos, &size, &bf, &bf_off, &bf_len); in execute_one() 551 copyin(addr, arg, size, bf, bf_off, bf_len); in execute_one() 1005 void copyin(char* addr, uint64 val, uint64 size, uint64 bf, uint64 bf_off, uint64 bf_len) in copyin() argument 1007 if (bf != binary_format_native && (bf_off != 0 || bf_len != 0)) in copyin() 1008 fail("bitmask for string format %llu/%llu", bf_off, bf_len); in copyin() 1013 STORE_BY_BITMASK(uint8, addr, val, bf_off, bf_len); in copyin() 1016 STORE_BY_BITMASK(uint16, addr, val, bf_off, bf_len); in copyin() 1019 STORE_BY_BITMASK(uint32, addr, val, bf_off, bf_len); in copyin() [all …]
|
D | common.h | 322 #define BITMASK_LEN_OFF(type, bf_off, bf_len) (type)(BITMASK_LEN(type, (bf_len)) << (bf_off)) argument 324 #define STORE_BY_BITMASK(type, addr, val, bf_off, bf_len) \ argument 325 if ((bf_off) == 0 && (bf_len) == 0) { \ 329 new_val &= ~BITMASK_LEN_OFF(type, (bf_off), (bf_len)); \ 330 new_val |= ((type)(val)&BITMASK_LEN(type, (bf_len))) << (bf_off); \
|
/external/syzkaller/pkg/csource/ |
D | generated.go | 307 #define BITMASK_LEN_OFF(type, bf_off, bf_len) (type)(BITMASK_LEN(type, (bf_len)) << (bf_off)) 309 #define STORE_BY_BITMASK(type, addr, val, bf_off, bf_len) \ 310 if ((bf_off) == 0 && (bf_len) == 0) { \ 314 new_val &= ~BITMASK_LEN_OFF(type, (bf_off), (bf_len)); \ 315 new_val |= ((type)(val)&BITMASK_LEN(type, (bf_len))) << (bf_off); \
|