| /Linux-v5.4/net/netfilter/ipset/ |
| D | ip_set_hash_netnet.c | 128 #define HOST_MASK 32 macro 134 e->cidr[0] = HOST_MASK; in hash_netnet4_init() 135 e->cidr[1] = HOST_MASK; in hash_netnet4_init() 148 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netnet4_kadt() 149 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netnet4_kadt() 151 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netnet4_kadt() 195 if (!e.cidr[0] || e.cidr[0] > HOST_MASK) in hash_netnet4_uadt() 201 if (!e.cidr[1] || e.cidr[1] > HOST_MASK) in hash_netnet4_uadt() 358 #undef HOST_MASK 361 #define HOST_MASK 128 macro [all …]
|
| D | ip_set_hash_netportnet.c | 138 #define HOST_MASK 32 macro 144 e->cidr[0] = HOST_MASK; in hash_netportnet4_init() 145 e->cidr[1] = HOST_MASK; in hash_netportnet4_init() 158 e.cidr[0] = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); in hash_netportnet4_kadt() 159 e.cidr[1] = INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); in hash_netportnet4_kadt() 161 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; in hash_netportnet4_kadt() 212 if (e.cidr[0] > HOST_MASK) in hash_netportnet4_uadt() 218 if (e.cidr[1] > HOST_MASK) in hash_netportnet4_uadt() 413 #undef HOST_MASK 416 #define HOST_MASK 128 macro [all …]
|
| D | ip_set_hash_net.c | 108 #define HOST_MASK 32 macro 119 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net4_kadt() 126 e.cidr = HOST_MASK; in hash_net4_kadt() 140 struct hash_net4_elem e = { .cidr = HOST_MASK }; in hash_net4_uadt() 162 if (!e.cidr || e.cidr > HOST_MASK) in hash_net4_uadt() 272 #undef HOST_MASK 275 #define HOST_MASK 128 macro 287 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_net6_kadt() 294 e.cidr = HOST_MASK; in hash_net6_kadt() 307 struct hash_net6_elem e = { .cidr = HOST_MASK }; in hash_net6_uadt() [all …]
|
| D | ip_set_hash_ipportnet.c | 129 #define HOST_MASK 32 macro 140 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet4_kadt() 145 e.cidr = HOST_MASK - 1; in hash_ipportnet4_kadt() 164 struct hash_ipportnet4_elem e = { .cidr = HOST_MASK - 1 }; in hash_ipportnet4_uadt() 195 if (!cidr || cidr > HOST_MASK) in hash_ipportnet4_uadt() 243 if (!cidr || cidr > HOST_MASK) in hash_ipportnet4_uadt() 376 #undef HOST_MASK 379 #define HOST_MASK 128 macro 391 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_ipportnet6_kadt() 396 e.cidr = HOST_MASK - 1; in hash_ipportnet6_kadt() [all …]
|
| D | ip_set_hash_netiface.c | 130 #define HOST_MASK 32 macro 158 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface4_kadt() 164 e.cidr = HOST_MASK; in hash_netiface4_kadt() 197 struct hash_netiface4_elem e = { .cidr = HOST_MASK, .elem = 1 }; in hash_netiface4_uadt() 220 if (e.cidr > HOST_MASK) in hash_netiface4_uadt() 352 #undef HOST_MASK 355 #define HOST_MASK 128 macro 368 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netiface6_kadt() 374 e.cidr = HOST_MASK; in hash_netiface6_kadt() 404 struct hash_netiface6_elem e = { .cidr = HOST_MASK, .elem = 1 }; in hash_netiface6_uadt() [all …]
|
| D | ip_set_hash_netport.c | 124 #define HOST_MASK 32 macro 135 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport4_kadt() 140 e.cidr = HOST_MASK - 1; in hash_netport4_kadt() 158 struct hash_netport4_elem e = { .cidr = HOST_MASK - 1 }; in hash_netport4_uadt() 184 if (!cidr || cidr > HOST_MASK) in hash_netport4_uadt() 336 #undef HOST_MASK 339 #define HOST_MASK 128 macro 351 .cidr = INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), in hash_netport6_kadt() 356 e.cidr = HOST_MASK - 1; in hash_netport6_kadt() 374 struct hash_netport6_elem e = { .cidr = HOST_MASK - 1 }; in hash_netport6_uadt() [all …]
|
| D | ip_set_hash_ip.c | 73 #define HOST_MASK 32 macro 139 if (!cidr || cidr > HOST_MASK) in hash_ip4_uadt() 205 #undef HOST_MASK 208 #define HOST_MASK 128 macro 251 if (cidr != HOST_MASK) in hash_ip6_uadt()
|
| D | ip_set_hash_ipmark.c | 75 #define HOST_MASK 32 macro 140 if (!cidr || cidr > HOST_MASK) in hash_ipmark4_uadt() 197 #undef HOST_MASK 200 #define HOST_MASK 128 macro 242 if (cidr != HOST_MASK) in hash_ipmark6_uadt()
|
| D | ip_set_hash_ipport.c | 83 #define HOST_MASK 32 macro 163 if (!cidr || cidr > HOST_MASK) in hash_ipport4_uadt() 237 #undef HOST_MASK 240 #define HOST_MASK 128 macro 285 if (cidr != HOST_MASK) in hash_ipport6_uadt()
|
| D | ip_set_hash_ipportip.c | 85 #define HOST_MASK 32 macro 170 if (!cidr || cidr > HOST_MASK) in hash_ipportip4_uadt() 247 #undef HOST_MASK 250 #define HOST_MASK 128 macro 296 if (cidr != HOST_MASK) in hash_ipportip6_uadt()
|
| D | ip_set_bitmap_ip.c | 36 #define HOST_MASK 32 macro 174 if (!cidr || cidr > HOST_MASK) in bitmap_ip_uadt() 268 if (cidr >= HOST_MASK) in bitmap_ip_create() 278 if (netmask > HOST_MASK) in bitmap_ip_create()
|
| D | ip_set_hash_ipmac.c | 79 #define HOST_MASK 32 macro 186 #undef HOST_MASK 191 #define HOST_MASK 128 macro
|
| D | ip_set_hash_mac.c | 66 #define HOST_MASK 32 macro
|
| D | ip_set_bitmap_ipmac.c | 35 #define HOST_MASK 32 macro 344 if (cidr >= HOST_MASK) in bitmap_ipmac_create()
|
| D | ip_set_hash_gen.h | 153 #define NLEN (HOST_MASK + 1) 157 #define NLEN HOST_MASK 175 #ifndef HOST_MASK 1000 if (DCIDR_GET(d->cidr, i) != HOST_MASK) in mtype_test() 1064 if (h->netmask != HOST_MASK && in mtype_head()
|
| /Linux-v5.4/drivers/video/fbdev/aty/ |
| D | mach64_accel.c | 307 pix_width &= ~(BYTE_ORDER_MASK | HOST_MASK); in atyfb_imageblit() 311 pix_width &= ~(BYTE_ORDER_MASK | HOST_MASK); in atyfb_imageblit() 315 pix_width &= ~HOST_MASK; in atyfb_imageblit() 319 pix_width &= ~HOST_MASK; in atyfb_imageblit() 323 pix_width &= ~HOST_MASK; in atyfb_imageblit() 327 pix_width &= ~HOST_MASK; in atyfb_imageblit() 331 pix_width &= ~HOST_MASK; in atyfb_imageblit()
|
| /Linux-v5.4/include/video/ |
| D | mach64.h | 1100 #define HOST_MASK 0xF0000 macro
|
| /Linux-v5.4/drivers/net/ethernet/micrel/ |
| D | ksz884x.c | 1066 #define HOST_MASK (1 << SWITCH_PORT_NUM) macro 2857 entry->ports = HOST_MASK; in sw_init_stp() 4247 HOST_MASK | (1 << port)); in sw_enable() 5331 member = HOST_MASK | sw->member; in bridge_change() 5333 member = HOST_MASK | (1 << port); in bridge_change()
|