Searched refs:is_src (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/testing/selftests/mm/ |
| H A D | uffd-common.c | 59 static int anon_allocate_area(uffd_global_test_opts_t *gopts, void **alloc_area, bool is_src) in anon_allocate_area() argument 86 static int hugetlb_allocate_area(uffd_global_test_opts_t *gopts, void **alloc_area, bool is_src) in hugetlb_allocate_area() argument 89 off_t offset = is_src ? 0 : size; in hugetlb_allocate_area() 96 (is_src ? 0 : MAP_NORESERVE), in hugetlb_allocate_area() 110 if (is_src) { in hugetlb_allocate_area() 137 static int shmem_allocate_area(uffd_global_test_opts_t *gopts, void **alloc_area, bool is_src) in shmem_allocate_area() argument 141 unsigned long offset = is_src ? 0 : bytes; in shmem_allocate_area() 180 if (is_src) in shmem_allocate_area()
|
| H A D | uffd-common.h | 88 int (*allocate_area)(uffd_global_test_opts_t *gopts, void **alloc_area, bool is_src);
|
| /linux/drivers/dma/ |
| H A D | ste_dma40.c | 1768 bool is_src, int log_event_line, bool is_log, in d40_alloc_mask_set() argument 1789 if (is_src) { in d40_alloc_mask_set() 1821 static bool d40_alloc_mask_free(struct d40_phy_res *phy, bool is_src, in d40_alloc_mask_free() argument 1836 if (is_src) { in d40_alloc_mask_free() 1864 bool is_src; in d40_allocate_channel() local 1872 is_src = true; in d40_allocate_channel() 1877 is_src = false; in d40_allocate_channel() 1889 if (d40_alloc_mask_set(&phys[i], is_src, in d40_allocate_channel() 1895 if (d40_alloc_mask_set(&phys[i], is_src, in d40_allocate_channel() 1906 is_src, in d40_allocate_channel() [all …]
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz9477_acl.c | 1207 u8 *eth_addr, bool is_src) in ksz9477_acl_matching_rule_cfg_l2() argument 1219 FIELD_PREP(KSZ9477_ACL_SD_SRC, is_src) | KSZ9477_ACL_EQ_EQUAL; in ksz9477_acl_matching_rule_cfg_l2() 1428 bool is_src = src_mac ? true : false; in ksz9477_acl_match_process_l2() local 1431 is_src); in ksz9477_acl_match_process_l2()
|
| /linux/drivers/crypto/hisilicon/hpre/ |
| H A D | hpre_crypto.c | 231 int is_src, dma_addr_t *tmp) in hpre_get_data_dma_addr() argument 236 if (is_src) { in hpre_get_data_dma_addr() 254 int is_src, dma_addr_t *tmp) in hpre_prepare_dma_buf() argument 269 if (is_src) { in hpre_prepare_dma_buf() 281 int is_src, int is_dh) in hpre_hw_data_init() argument 290 ((is_dh && !is_src) || !is_dh)) in hpre_hw_data_init() 291 ret = hpre_get_data_dma_addr(hpre_req, data, len, is_src, &tmp); in hpre_hw_data_init() 293 ret = hpre_prepare_dma_buf(hpre_req, data, len, is_src, &tmp); in hpre_hw_data_init() 298 if (is_src) in hpre_hw_data_init()
|