653 |
} |
} |
654 |
|
|
655 |
static bool ccs_same_manager_entry(const struct ccs_acl_head *a, |
static bool ccs_same_manager_entry(const struct ccs_acl_head *a, |
656 |
const struct ccs_acl_head *b) |
const struct ccs_acl_head *b) |
657 |
{ |
{ |
658 |
return container_of(a, struct ccs_manager, head)->manager |
return container_of(a, struct ccs_manager, head)->manager |
659 |
== container_of(b, struct ccs_manager, head)->manager; |
== container_of(b, struct ccs_manager, head)->manager; |
1081 |
* |
* |
1082 |
* Returns true on success, false otherwise. |
* Returns true on success, false otherwise. |
1083 |
*/ |
*/ |
1084 |
bool ccs_print_number_union(struct ccs_io_buffer *head, |
static bool ccs_print_number_union(struct ccs_io_buffer *head, |
1085 |
const struct ccs_number_union *ptr) |
const struct ccs_number_union *ptr) |
1086 |
{ |
{ |
1087 |
return ccs_print_number_union_common(head, ptr, true); |
return ccs_print_number_union_common(head, ptr, true); |
1088 |
} |
} |
1417 |
{ |
{ |
1418 |
int pos; |
int pos; |
1419 |
u8 bit; |
u8 bit; |
1420 |
const u16 perm = ptr->perm; |
const u8 perm = ptr->perm; |
1421 |
char buf[128]; |
char buf[128]; |
1422 |
for (bit = head->read_bit; bit < CCS_MAX_NETWORK_OPERATION; bit++) { |
for (bit = head->read_bit; bit < CCS_MAX_NETWORK_OPERATION; bit++) { |
1423 |
const char *w[2] = { "", "" }; |
const char *w[2] = { "", "" }; |