Searched refs:HOST_MASK (Results 1 - 15 of 15) sorted by relevance

/linux-4.1.27/net/netfilter/ipset/
H A Dip_set_hash_netnet.c132 #define HOST_MASK 32 macro
145 e.cidr[0] = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); hash_netnet4_kadt()
146 e.cidr[1] = IP_SET_INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); hash_netnet4_kadt()
148 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; hash_netnet4_kadt()
171 e.cidr[0] = e.cidr[1] = HOST_MASK; hash_netnet4_uadt()
193 if (!cidr || cidr > HOST_MASK) hash_netnet4_uadt()
200 if (!cidr2 || cidr2 > HOST_MASK) hash_netnet4_uadt()
358 #undef HOST_MASK macro
362 #define HOST_MASK 128 macro
376 e.cidr[0] = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); hash_netnet6_kadt()
377 e.cidr[1] = IP_SET_INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); hash_netnet6_kadt()
379 e.ccmp = (HOST_MASK << (sizeof(u8)*8)) | HOST_MASK; hash_netnet6_kadt()
398 e.cidr[0] = e.cidr[1] = HOST_MASK; hash_netnet6_uadt()
426 if (!e.cidr[0] || e.cidr[0] > HOST_MASK || !e.cidr[1] || hash_netnet6_uadt()
427 e.cidr[1] > HOST_MASK) hash_netnet6_uadt()
H A Dip_set_hash_netportnet.c143 #define HOST_MASK 32 macro
156 e.cidr[0] = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); hash_netportnet4_kadt()
157 e.cidr[1] = IP_SET_INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); hash_netportnet4_kadt()
159 e.ccmp = (HOST_MASK << (sizeof(e.cidr[0]) * 8)) | HOST_MASK; hash_netportnet4_kadt()
187 e.cidr[0] = e.cidr[1] = HOST_MASK; hash_netportnet4_uadt()
211 if (!cidr || cidr > HOST_MASK) hash_netportnet4_uadt()
218 if (!cidr || cidr > HOST_MASK) hash_netportnet4_uadt()
415 #undef HOST_MASK macro
419 #define HOST_MASK 128 macro
433 e.cidr[0] = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK); hash_netportnet6_kadt()
434 e.cidr[1] = IP_SET_INIT_CIDR(h->nets[0].cidr[1], HOST_MASK); hash_netportnet6_kadt()
436 e.ccmp = (HOST_MASK << (sizeof(u8) * 8)) | HOST_MASK; hash_netportnet6_kadt()
462 e.cidr[0] = e.cidr[1] = HOST_MASK; hash_netportnet6_uadt()
492 if (unlikely(!e.cidr[0] || e.cidr[0] > HOST_MASK || !e.cidr[1] || hash_netportnet6_uadt()
493 e.cidr[1] > HOST_MASK)) hash_netportnet6_uadt()
H A Dip_set_hash_net.c113 #define HOST_MASK 32 macro
124 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), hash_net4_kadt()
131 e.cidr = HOST_MASK; hash_net4_kadt()
145 struct hash_net4_elem e = { .cidr = HOST_MASK }; hash_net4_uadt()
170 if (!e.cidr || e.cidr > HOST_MASK) hash_net4_uadt()
281 #undef HOST_MASK macro
285 #define HOST_MASK 128 macro
297 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), hash_net6_kadt()
304 e.cidr = HOST_MASK; hash_net6_kadt()
317 struct hash_net6_elem e = { .cidr = HOST_MASK }; hash_net6_uadt()
344 if (!e.cidr || e.cidr > HOST_MASK) hash_net6_uadt()
H A Dip_set_hash_ipportnet.c134 #define HOST_MASK 32 macro
145 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK) - 1, hash_ipportnet4_kadt()
150 e.cidr = HOST_MASK - 1; hash_ipportnet4_kadt()
169 struct hash_ipportnet4_elem e = { .cidr = HOST_MASK - 1 }; hash_ipportnet4_uadt()
203 if (!cidr || cidr > HOST_MASK) hash_ipportnet4_uadt()
385 #undef HOST_MASK macro
389 #define HOST_MASK 128 macro
401 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK) - 1, hash_ipportnet6_kadt()
406 e.cidr = HOST_MASK - 1; hash_ipportnet6_kadt()
425 struct hash_ipportnet6_elem e = { .cidr = HOST_MASK - 1 }; hash_ipportnet6_uadt()
462 if (!cidr || cidr > HOST_MASK) hash_ipportnet6_uadt()
H A Dip_set_hash_netiface.c211 #define HOST_MASK 32 macro
239 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), hash_netiface4_kadt()
248 e.cidr = HOST_MASK; hash_netiface4_kadt()
291 struct hash_netiface4_elem e = { .cidr = HOST_MASK, .elem = 1 }; hash_netiface4_uadt()
318 if (e.cidr > HOST_MASK) hash_netiface4_uadt()
461 #undef HOST_MASK macro
466 #define HOST_MASK 128 macro
479 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK), hash_netiface6_kadt()
488 e.cidr = HOST_MASK; hash_netiface6_kadt()
528 struct hash_netiface6_elem e = { .cidr = HOST_MASK, .elem = 1 }; hash_netiface6_uadt()
556 if (e.cidr > HOST_MASK) hash_netiface6_uadt()
H A Dip_set_hash_netport.c129 #define HOST_MASK 32 macro
140 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK) - 1, hash_netport4_kadt()
145 e.cidr = HOST_MASK - 1; hash_netport4_kadt()
163 struct hash_netport4_elem e = { .cidr = HOST_MASK - 1 }; hash_netport4_uadt()
192 if (!cidr || cidr > HOST_MASK) hash_netport4_uadt()
344 #undef HOST_MASK macro
348 #define HOST_MASK 128 macro
360 .cidr = IP_SET_INIT_CIDR(h->nets[0].cidr[0], HOST_MASK) - 1, hash_netport6_kadt()
365 e.cidr = HOST_MASK - 1; hash_netport6_kadt()
383 struct hash_netport6_elem e = { .cidr = HOST_MASK - 1 }; hash_netport6_uadt()
414 if (!cidr || cidr > HOST_MASK) hash_netport6_uadt()
H A Dip_set_hash_ip.c78 #define HOST_MASK 32 macro
212 #undef HOST_MASK macro
217 #define HOST_MASK 128 macro
H A Dip_set_hash_ipmark.c81 #define HOST_MASK 32 macro
208 #undef HOST_MASK macro
213 #define HOST_MASK 128 macro
H A Dip_set_hash_ipport.c88 #define HOST_MASK 32 macro
249 #undef HOST_MASK macro
254 #define HOST_MASK 128 macro
H A Dip_set_hash_ipportip.c90 #define HOST_MASK 32 macro
258 #undef HOST_MASK macro
262 #define HOST_MASK 128 macro
H A Dip_set_hash_mac.c66 #define HOST_MASK 32 macro
H A Dip_set_hash_gen.h924 if (h->netmask != HOST_MASK && mtype_head()
/linux-4.1.27/drivers/video/fbdev/aty/
H A Dmach64_accel.c303 pix_width &= ~(BYTE_ORDER_MASK | HOST_MASK); atyfb_imageblit()
307 pix_width &= ~(BYTE_ORDER_MASK | HOST_MASK); atyfb_imageblit()
311 pix_width &= ~HOST_MASK; atyfb_imageblit()
315 pix_width &= ~HOST_MASK; atyfb_imageblit()
319 pix_width &= ~HOST_MASK; atyfb_imageblit()
323 pix_width &= ~HOST_MASK; atyfb_imageblit()
327 pix_width &= ~HOST_MASK; atyfb_imageblit()
/linux-4.1.27/drivers/net/ethernet/micrel/
H A Dksz884x.c1074 #define HOST_MASK (1 << SWITCH_PORT_NUM) macro
2865 entry->ports = HOST_MASK; sw_init_stp()
4258 HOST_MASK | (1 << port)); sw_enable()
5343 member = HOST_MASK | sw->member; bridge_change()
5345 member = HOST_MASK | (1 << port); bridge_change()
/linux-4.1.27/include/video/
H A Dmach64.h1104 #define HOST_MASK 0xF0000 macro

Completed in 299 milliseconds